Closed wheatdog closed 2 months ago
Thanks for reaching out and for the great question. The question touches the core of the fairness problem and not just the FAIR library.
This is how I'd think about the problem based on the given details:
Your questions about distributed state management and auto-scaling are very interesting. Note that the library as it exists today does not support import or export state. That said, this is what I'd say about your question:
Let me know if you have additional questions. Thank again!
Thanks for providing this great library!
I have a question regarding the usage of this library. I have a set api servers that receive job requests and send them to a queue. A few workers then pick up the jobs from the queue and process them asynchronously.
Should I apply fair to the API servers or the workers? I believe it should be applied to the API servers.
Do we need to share the internal states of fair between the API services? Also, is there any concern if we apply auto-scaling to the API services as well?