Building apps that scale
Microservices are all the rage. You can read about how companies like Amazon and Netflix have successfully divided their software into small separate services that tackle individual jobs. This approach lets these organizations change code fast and makes the whole large system scalable and more resilient.
But youâ€™re not huge like Amazon. What does this have to do with your web app? Well, if you want your app to be scalable and resilient too, taking a microservices approach in your app from the start can set you up for success. Read how and why to scale a web app.
A Microservices Example
To track what readers were doing on this website, our team created metrics collection and analysis apps. It was a simple solution that collected web analytics data and stored it in an IBM Cloudant database. A few months later, Glynn Bird took this same app and rebuilt it to fit into a Microservices stack. Instead of writing directly to the database, it posts data to a choice of queues. From there, you can deploy further Microservice apps to consume the queued data for storage, analytics, and real-time reporting. Read about how it works and then deploy it yourself:
- Scale a Web App with Microservices and IBM Message Hub
- Get in line! An Intro to Queues and PubSub
- Simple Metrics Collector â€“ Microservices Edition
- Multiplying Microservices
- Introducing OpenWhisk â€“ Microservices Made Easy