Scaling REST API with actor systems

78 views
Skip to first unread message

wonderful world

unread,
Jun 5, 2015, 7:39:28 AM6/5/15
to akka...@googlegroups.com
I have an OrderManager MicroService REST API end point. One of the method is retrieving the orders for a customer. Under heavy load (many requests from the HTML Client application) I want to scale the OrderManager.

Is the best practice is to have the OrderManager MicroService developed with clusters behind it, and increase the customers? In this case, there is no need to scale the MicroService. Or should it be the MicroService deployed to multiple nodes to scale?

Martynas Mickevičius

unread,
Jun 15, 2015, 12:58:17 PM6/15/15
to akka...@googlegroups.com
Hi Varghese,

there was a talk by Michael Nash in Scala Days 2015 San Francsico and Amsterdam about scaling services with Akka. He mainly talks about Event Sourcing, CQRS and Cluster Sharding. In my opinion he really does a great job at presenting architecture of a scalable app using Akka. There is also an Activator template to get started with.

If you haven't seen it, I highly suggest watching it. Recording from Scala Days 2015 SF is available here.

On Fri, Jun 5, 2015 at 2:26 PM, wonderful world <vpal...@gmail.com> wrote:
I have an OrderManager MicroService REST API end point. One of the method is retrieving the orders for a customer. Under heavy load (many requests from the HTML Client application) I want to scale the OrderManager.

Is the best practice is to have the OrderManager MicroService developed with clusters behind it, and increase the customers? In this case, there is no need to scale the MicroService. Or should it be the MicroService deployed to multiple nodes to scale?

--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Martynas Mickevičius
TypesafeReactive Apps on the JVM
Reply all
Reply to author
Forward
0 new messages