Prev Next

Integration / Akka interview questions

Difference between tell and ask method in AKKA.

Both methods can be used to send messages to the actor.

"tell" method send a message asynchronously and return immediately. The "tell" method works like "fire and forget".

"ask" method is similar to tell method, send messages asynchronously and return Future object which expect a possible reply.

Prefer to "tell" method for performance and use "ask" method only if there is a need.

More Related questions...

Show more question and Answers...


Comments & Discussions