Jaycean commented on issue #861:
URL: 
https://github.com/apache/apisix-dashboard/issues/861#issuecomment-740524834


   I will replace @liuxuran to implement the related functions of the 
`manager-api`. I have two ideas for the function implementation:
   
   1. At present, the simplest implementation method is to obtain all the 
route, service and other objects containing labels and traverse them to match 
the label implementation related functions. However, with the growth of 
business volume, this may not be the best implementation method.
   
   2.  The second method is to refer to the similar implementation method of 
`indexer` of `kubernetes` to implement a method: `label-indexer`, which uses 
the method of `key (label): values (obj-tag)` to manage the relevant data in 
memory, and refresh the data through the etcd's watch mechanism. This method is 
very complex to implement, but I think it's OK for both the user's data volume 
becoming larger and the subsequent related functions It will be betterr.
   
   This is my current idea for function implementation. Please see if you have 
any better suggestions.
   
   thks!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to