Skip to content

【confilter方案】上游调用端传递用product_id好还是用product_name好 #9

@tigbox

Description

@tigbox
  • 用product_name ,好处是便于开发人员排查问题,直接直观;坏处是product如果修改了名称, 需要同步到内存中,结构类似于map[string]int64
  • 用product_id,好处是product名称修改了,也不用同步到内存中;坏处是不便于开发人员排查,需要根据product_id映射成对应的产品线

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions