Charles

Results 5 comments of Charles

I think we need to use select to check for write event, and use non blocking write to avoid blocking state.

When considering performance issues, I think some components such as memory pool, connection pool may be added into the project, so what does these components belong to?

Yeah, but if we want to make it as simple as possible, we need to write our own. For example, redis has its own event driven library.

Hi @riolet @MagicalTux , there are multiple networking patterns as MagicalTux pointed out: - All-in-one-process: no forks, only select() - Standard fork: as things were initially - Hybrid (fork +...