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

Question on performance and multiple daemons #4

Closed
kabudu opened this issue Sep 17, 2017 · 2 comments
Closed

Question on performance and multiple daemons #4

kabudu opened this issue Sep 17, 2017 · 2 comments

Comments

@kabudu
Copy link

kabudu commented Sep 17, 2017

I have a quick question in relation to the performance of your library, CPU and memory consumption predominantly.

If I had an application with say 5 background processing channels, for maximum single process throughput, I would run a daemon per channel. Alternatively, I could run 5 workers with each worker responsible for a single channel, processing one payload at a time. What would be the performance impact of running either scenario using your library, and what would your recommendation be?

I could benchmark this to determine those stats, but given that you have used your library in production to run complex daemons, I was hoping to draw on your experience of it to get a high-level perspective.

@lifo101
Copy link
Owner

lifo101 commented Sep 17, 2017 via email

@kabudu
Copy link
Author

kabudu commented Sep 17, 2017

To clarify, when I said I would run a daemon for each channel for single process throughput, I actually meant I would run each daemon as a separate process, i.e. 5 individual daemons each doing work for their assigned channel with effectively a single worker per daemon.

For the use-case I have in mind, I doubt the workers would be moving that fast for it to be a problem, but it has been useful to have your insight, many thanks.

@kabudu kabudu closed this as completed Sep 17, 2017
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

2 participants