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

It is up to you to figure things out based on possible worst case runtime scenario coupled with your expected usage on _your_ hardware. You choose what work is defined 'trivial' (based on your resources). Trivial is always moving, and dependent on the scenario at hand. My trivial is not your trivial.

If the 'work' is too much you move it to another process. Either another NodeJS processor or some agnostic queue based managed worker. That worker could be anything.

OR you decide to use another tool.



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

Search: