Akka Actor not terminating if an exception is thrown

The proper way to handle problems inside akka actors is not to throw an exception but rather to set supervisor hierarchies “Throwing an exception in concurrent code (let’s assume we are using non-linked actors), will just simply blow up the thread that currently executes the actor. There is no way to find out that things … Read more

The actor model: Why is Erlang/OTP special? Could you use another language?

The C++ code does not deal with fairness, isolation, fault detection or distribution which are all things which Erlang brings as part of its actor model. No actor is allowed to starve any other actor (fairness) If one actor crashes, it should only affect that actor (isolation) If one actor crashes, other actors should be … Read more

Akka in Scala, exclamation mark and question mark

Shamelessly copied [awesome] official doc (look Send messages section for more): Messages are sent to an Actor through one of the following methods. ! means “fire-and-forget”, e.g. send a message asynchronously and return immediately. Also known as tell. ? sends a message asynchronously and returns a Future representing a possible reply. Also known as ask.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)