Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Pixelairport's avatar

How to host microservices

Hi. I used Laravel and Cartalyst Platform for a few years. I have an idea for a service, which has a lot of traffic and data if it will work. Till now my applications are small ones. This is why I think about do microservices and use lumen. Or is it wrong to do it that way? If it works I have millions of users, which play a game and collect points. All points are collected and not merged to show statistics for every user (Monday: 400 Points, Tuesday: 240 Points, ...).

I decided to ask here, before I start and someone will tell me in a few weeks that I was wrong. I just want to know if I'm on the right way. Is lumen good for this? I plan to have a main service, where users can login (gateway) and a score service, where the points are collected. Where can I host this when I'm finished? Can I start with a normal Webhosting Provider? I need the simplest and most fast way. I'm a person, who uses other services instead of building things like Algolia (Databases) or Pusher (Sockets). I saw there is a tool called Vapor at laravel, but it seems it is not for Lumen. Just for Laravel. My main problem is, that I want to be flexible if it will scale fast. It is also important that the database can scale. If i really have million users one day and every user has multiple point he is getting every day, there will be millions of database entries every day. I have to ask because I never had a project like that.

Hope you can give me some help. Thx.

0 likes
2 replies
Pixelairport's avatar

Ok. I watched an online course now for lumen. Now i know how microservice will act together. Last question is how to host the stuff. I think i will test AWS. Im just scared everytime, because I dont know what it will cost in the end. But i think it is the best solution and I just have to test it.

Please or to participate in this conversation.