Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried a similar sort of architecture at one point, the issue is that if you share blocking calls in a thread, at some point something will block that you don't expect to.

It's also just far far simpler to go with a single networking thread. Then pass off any cpu intensive, or long running tasks, or blocking tasks, to other threads.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: