|
|
|
|
|
by pron
4100 days ago
|
|
> Do you mean co-routines / user threads / green threads? I tend to agree it can have a serious performance boost in some cases. Yes, but in this context, they provide the same performance benefits as the asynchronous techniques mentioned in the article, without all the drawbacks of the cumbersome asynchronous style. > But saying that actor model is bad practice The actor model is a general technique for fault-tolerance, and it's great. How it handles concurrency, though, is an orthogonal concern. Akka has asynchronous (callback based) actors, and callbacks are an anti-pattern. Erlang has synchronous (blocking) actors, which are so much simpler, and don't have all the complications associated with asynchronous code. |
|