apache / skywalking

APM, Application Performance Monitoring System
https://skywalking.apache.org/
Apache License 2.0
23.82k stars 6.52k forks source link

how to deal with dynamic urls when registry lots of endpoints #5044

Closed xiaofeitu2 closed 4 years ago

xiaofeitu2 commented 4 years ago

Please answer these questions before submitting your issue.


Question

wu-sheng commented 4 years ago

In 8+, there is no register, so, don't need to worry about this. And backend url grouping has been provided. Don't do this in the agent, it will be a high load for your app.

xiaofeitu2 commented 4 years ago
  1. dose that mean in 6.x version it is difficult to solve the problem? 2.in 8+,will all the operationame be recorded in es or other storage ? every time get the endpoint name or id will request the stroage and if there are lots of different endpoint name to request and quiet frequently, if we add a choice that putting the endpoint name in distribute cache system ,will that be possible?
wu-sheng commented 4 years ago

dose that mean in 6.x version it is difficult to solve the problem?

Yes, it is hard. That is why we changed the design.

in 8+,will all the operationame be recorded in es or other storage ?

Still in ES, but no register, so no block you are facing. And no endpoint cache anymore. If you want to know more details, read the latest codes.

every time get the endpoint name or id will request the stroage and if there are lots of different endpoint name to request and quiet frequently, if we add a choice that putting the endpoint name in distribute cache system ,will that be possible?

It is possible, but not helpful. It still cost too much. We don't think that is a good idea. Anyway, the better way is provided, let's not stuck in the old design. High level design improvement is always better than purely tech level improvement.