Scaling App Platform

Hello, I decided to use AppPlatform for my start-up. Architecture: Frontend:Flutter Mobile App Backend: PHP API (AppPlatform 1 GB RAM | 1 vCPU x 2) Database: Managed PostgreSQL (2 GB RAM / 1vCPU / 25 GB Disk) CDN: DigitalOcean Spaces

I couldnt decide is this configuration is enough for production? I think DO doesnt provide autoScaling for appPlatform. How can i decide “I need more App” or how to test DB source is not enough? What are the limitations for Managed Postgre. How many concurrent connection can be handled for this architecture?

I know sizing is not easy

Which documentations should I check?

Regards, Mehmet.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

👋 @tasmcan

Welcome to App Platform, excited to have you here! As you said sizing is not easy, and it’s difficult to recommend sizes because every app is designed and architected for different needs.

With that said, trying to figure out what “units” of resources can handle (eg. 1 vCPU/1GB RAM) then scaling that to cover your current load plus some works well. The way I would attack this is look at what resources your app uses under regular load. In App Platform this can be found under insights. Once you find that you’re going to want to try and add a little buffer room so that when you get bursts of traffic your app will continue to function as expected.

One of the great things about App Platform is it’s so easy to scale up and down when testing.

Hope this helps!