Keep in mind, ask() is pretty optimized -- it's creating pseudo-Actors
under the hood, but as I understand it they're a bit lighter-weight than
creating ordinary Actors. So I wouldn't necessarily count on your own
Actor being more efficient. The per-request Actor may be the right way to
go
Hi,
in the short term actor situation that you described (these are sometimes
also called per-request actors), you can send to the short term actor
something, that lets you complete the original request that arrived to the
endpoint. I do not know what you are using for handling requests, but
Lets say I create an actor that will serve JSON to an end user but that
actor returning the OverviewJson has to get data from three different
actors and wait for them all to return a response before proceeding. Now I
could create an actor that uses the ask patter to call all three other
actors