membphis commented on issue #2369:
URL: https://github.com/apache/apisix/issues/2369#issuecomment-711888356


   > I used the string formed by the service ip list as up_version.
   
   `json`? 
   
   `sync from eureka` -> `lua table` <- `server-picker`
   
   When data is synchronized, first compare, and only update to Lua table when 
changing.
   
   then we can use the Lua table as the key of `lrucache`, example: 
https://github.com/apache/apisix/blob/5b97223592c9584e5280c397968e9d9c4739e3d4/apisix/plugins/referer-restriction.lua#L113


----------------------------------------------------------------
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