You're viewing a comment by prime and its responses.

prime Permalink
April 28, 2010, 16:33

It is as simple as using tornado, gevents, etc... But the problem is still one in most async solutions, if you need to block in one one call, all other connections will block. I am not talking about a socket block here though, but more of an intensive computation kind of block.
Erlang has a different solution for that.

Comment Responses

April 29, 2010, 14:07

What's the Erlang's solution?

August 05, 2011, 22:13

I wouldn't say "Erlang has a solution" as this implies that it had the problem in the first place, which it didn't. Erlang's processes are concurrent, so there is no blocking in the same way that Node.js blocks. One process per request, one does not block on another unless you deliberately put something in place to make it happen.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "security_215": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.