M
M
mitaichik2017-04-20 22:43:47
Java
mitaichik, 2017-04-20 22:43:47

Many threads: better in one process or in several?

Hello! In my application, about 400 threads are planned to work simultaneously. It's a lot? Does it make sense to distribute them to different processes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Khrustalev, 2017-04-20
@mitaichik

400 simultaneously busy threads without 400 cores will not lead to anything good,
but only greatly degrades the system. What is the task?
I would think in the direction of 4-12 working workers and a task queue.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question