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

Sure there is. Pass around the connection socket as needed, or have a layer in front of the processing layer to only hand out the work when it is good to go.


Can you point to a working example of this that actually solves the problem? i.e., that is demonstrably more efficient for any given request than the FIFO wakeup method?


No, you would need to test it for your workload.

I am saying it is possible, not that it is better. Very different things.


That's why I said "it's not possible to solve this problem generally." That is, there's no general solution to the problem, one that is optimal for all workloads.




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

Search: