Hi, Sam. Strange overhead in your approach with different actor systems, which creating on per-request basis. Please read http://doc.akka.io/docs/akka/2.3.9/general/actor-systems.html
Spin new actors in one actor system - it's designed for that. Отправлено из myMail для iOS > >Пятница, 30 января 2015 г., 0:52 +0300 от Samya Maiti ><[email protected]>: >Hi All, > >First of all, I am just few days old to akka, so please ignore if some of my >doubts makes no sense. > >I have a use-case where in there is an actor for handling spray routing (Say >A) & as an action to the requested URL I need to connect to some DB. The class >interacting with DB also implements actors (Say B). > >So as of now, I have a actor system for A that get the URL & created a actor >system for B. Please note that the actor system for B is created every time a >new URL hits. I understand this is not the write approach. > >Request to suggest how should I proceed. > >Regards, >Sam >-- >>>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>>> Check the FAQ: >>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >--- >You received this message because you are subscribed to the Google Groups >"Akka User List" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected] . >To post to this group, send email to [email protected] . >Visit this group at http://groups.google.com/group/akka-user . >For more options, visit https://groups.google.com/d/optout . -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
