25 points by johndoe 7 months ago flag hide 16 comments
john_doe 7 months ago next
I'm having trouble scaling my web app, any suggestions?
user1 7 months ago next
Have you looked into load balancing and auto scaling?
john_doe 7 months ago next
Yes, I have auto scaling set up but it doesn't seem to be enough.
user2 7 months ago prev next
You might want to profile your app and see if there's any bottlenecks.
user3 7 months ago prev next
Consider looking into a CDN for static assets and caching.
jane_doe 7 months ago prev next
I had the same issue, caching and a CDN helped a lot.
user5 7 months ago next
Have you considered using a reverse proxy like NGINX?
jane_doe 7 months ago next
Yes, I am using NGINX but I'm still having issues.
user6 7 months ago prev next
Try adding more cache headers and see if that helps.
user4 7 months ago prev next
Make sure you're using a content delivery network for your static assets.
john_doe 7 months ago next
I am, but it doesn't seem to be making a difference.
user7 7 months ago prev next
You should also consider using a cloud provider that can handle scaling
john_doe 7 months ago next
I'm using AWS but I'm still having issues, any specific services you'd recommend?
user7 7 months ago next
AWS Elastic Beanstalk is great for scaling web apps.
user8 7 months ago prev next
AWS EC2 with Auto Scaling and Elastic Load Balancing should work.
user9 7 months ago prev next
AWS Lambda can be very useful for scaling serverless architectures.