Repository navigation
Newbie question: usage scenario #149
|
Hello LudicrousDB Community, Thank you in advance for your suport! Francesco- |
Replies: 3 comments 2 replies
|
Are you 100% sure it is not PHP that is causing load times ? |
|
You need to make sure ( measure it with a profiler, APM, blackfire ) first. |
|
LudicrousDB is useful when measurement shows that database reads, connection availability, or table placement are the bottleneck. It will not make a single overloaded database faster by itself; you need replicas or partitioned datasets behind it, plus a plan for replication lag and failure. I would profile the slow requests first and separate PHP time, database time, query count, and individual slow queries. If the database is genuinely the constraint, an RDS primary with read replicas can be a reasonable LudicrousDB setup. Latency absolutely matters. Keep the application and database in the same AWS region and, where possible, use nearby endpoints with private networking. Test representative page loads, administration, cron, checkout or other write-heavy paths, and read-after-write behavior from staging before moving production traffic. A remote database across regions or the public internet can easily make responsiveness worse even when the database itself is larger. The short version is: profile first, fix expensive queries and missing indexes, then introduce LudicrousDB when there is a concrete read-scaling, failover, or partitioning job for it to do. |
LudicrousDB is useful when measurement shows that database reads, connection availability, or table placement are the bottleneck. It will not make a single overloaded database faster by itself; you need replicas or partitioned datasets behind it, plus a plan for replication lag and failure.
I would profile the slow requests first and separate PHP time, database time, query count, and individual slow queries. If the database is genuinely the constraint, an RDS primary with read replicas can be a reasonable LudicrousDB setup.
Latency absolutely matters. Keep the application and database in the same AWS region and, where possible, use nearby endpoints with private networking. Test representa…