Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a message queue to process agent data updates #109

Open
AlexeyKasatkin opened this issue Jun 29, 2017 · 0 comments
Open

Introduce a message queue to process agent data updates #109

AlexeyKasatkin opened this issue Jun 29, 2017 · 0 comments

Comments

@AlexeyKasatkin
Copy link
Collaborator

For now, update of TPR with new agent data is performed in the handler that processes the agent's POST request to the server. This way, server's response to the agent's POST request is delayed until the answer from k8s API is received. This can cause issues with server's responsiveness when the number of agents is big or when server experiences the issues with k8s API availability. Also, queue will eliminate such issues as possible conflicts between TPR updates with data from different agents.

So, we need to introduce a message queue to process agent data updates in TPR, i.e. k8s API POST requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant