Question

Is NodeJS App scaling possible?

Posted July 7, 2021 158 views
Node.jsScalingDigitalOcean App Platform

If I create a NodeJS DigitalOcean “App” (https://cloud.digitalocean.com/apps/new) on the third screen I am choosing the tier (1GB, 2GB, 4GB, …).

Is it possible to set up automatic scaling for my app? (I read that DigitalOcean advertises “Scale your App” - but I can’t figure it out how is that possible except for Kubernetes)

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.

×
Submit an Answer
1 answer

👋 @LittleCeruleanAnemone

Thanks for a great question, also great name!

Currently App Platform does not autoscale apps. You’d have to do that manually by increasing the size of the instance(s), or the quantity of instances.

My colleague Mason did a deploy talk on the topic you might find interesting: Grow Your Business with Scalable Apps Using DigitalOcean App Platform.

All of that said, autoscaling is on our radar though I do not have a timeline I can share at this point.

  • Hi @crashoverride

    Thanks, the name was auto-generated LOL :)

    I watched the video and it was very good indeed, thanks!

    I managed to scale my Web App (based on my Docker image) vertically up and down - with zero downtime, which is actually very impressive! Good job!

    I have one question though: I wasn’t able to increase the number of containers to anything higher than 1 because it says “Cannot exceed one container”. May I ask how can I create run more than one containers for a Web app simultaneously?

    You can look at my GIF recording for more info: https://imgur.com/a/bN8kVz3