I suggest you look into Galera Replication using something like MariaDB.
Here's a starter for you: https://mariadb.com/kb/en/library/getting-started-with-mariadb-galera-cluster/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello guys, at last time I reading documentation, I found some interesting things: https://monosnap.com/file/USr6mNcsSHbQbj5Ec8l1h29Q5vG7Ik
As I understand correctly, Laravel can work with replicated database from the box. But I haven't some experience to do replication. But now, I'm very interesting in this because this is written at Laravel documentation). Please anybody know anything about this? Maybe some links for discussion will be great for me. I must do this)
It's not really necessary with that service. We have almost 30 million records in it serving about 12 million requests/month so far and I know others who have a lot more. We've just vertically scaled our instances when we hit about 80% capacity.
You can also create multiple instances and link them together in master/slave situations, but we haven't needed to. We have 4 app servers behind a load balancer all using it.
Please or to participate in this conversation.