Conversation:
Notices
-
Evan Prodromou (evan)'s status on Monday, 28-Jan-2013 21:26:51 EST
Evan Prodromou
The trick is to do these things off-line, in a separate process, and only have your Web server do I/O-bound things. -
Evan Prodromou (evan)'s status on Monday, 28-Jan-2013 21:27:14 EST
Evan Prodromou
Fortunately, Web servers do that a lot (get stuff from client, stuff into database, send back some other stuff). -
Evan Prodromou (evan)'s status on Monday, 28-Jan-2013 21:29:27 EST
Evan Prodromou
And the precedent of pushing compute-intensive stuff to off-line processors is pretty well-established for Web servers. Everyone does it. -
Evan Prodromou (evan)'s status on Monday, 28-Jan-2013 21:30:14 EST
Evan Prodromou
You can either use fun stuff like a queue server, or simple stuff like child_process. Either way works.
-