AlinsRan commented on issue #674:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/674#issuecomment-1138080185

   I'm trying to solve this problem, I have two implementation schemes, which 
need to be confirmed:
   
   1. Add `cache` (go-memdb) to `controller` and maintain a ` upstream_ 
services {servicename -- > []upstream_id}`. The `upstreamController` is 
responsible for write, When [] is 0, this record is killed. The `endpoint` is 
responsible for reading and updating the node field of apifix when the services 
are updated.
   2. This status info is maintained by `endpoint` or `upstreamController`. 
Mutual communication and high coupling are required.
   
   I prefer the first, any better proposal?


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to