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

Added a queue system #8

Open
rejuan opened this issue Nov 17, 2018 · 0 comments
Open

Added a queue system #8

rejuan opened this issue Nov 17, 2018 · 0 comments

Comments

@rejuan
Copy link
Owner

rejuan commented Nov 17, 2018

Suppose 1 million users request at a time to the server. What will happen - server will create 1 million thread for every request. But its impossible - server will be completely unresponsive. So we will make a better approach. Suppose 1 server can have such resources that it runs smoothly with 20 threads. Now we will implement a thread poll which will queue all of the request and process 20 requests from the queue.

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