Pin memory usage

IWIan Woodfill9/8/2023
I'm running a service that scales memory usage unpredictably and quickly, and it crashes in these cases. I believe strongly that this is due to Railway's autoscaling not provisioning enough memory quick enough (this is obviously hard when you do it all very suddenly).

I would be happy to pay for the provisioned resources if it were possible, although I worry this isn't available.

Any workarounds?
IWIan Woodfill9/8/2023
how quickly we talking? like 0-3gb instantly?
IWIan Woodfill9/8/2023
and what kind of crash logs do you get?
IWIan Woodfill9/8/2023
IWIan Woodfill9/8/2023
Is there any documentation around how the autoscaling works at an OS level? would be really helpful for understanding how to work with it
is it kubernetes or something under the hood?
afaik it's vertical scaling as in your app is free to use as much or as little resources as possible, there's no adding additional cpus or memory on the fly
I've seen services go from 0mb or 3gb of memory instantaneously without crashing
@rayofbytes am I correct in saying this?
Resources are limited according to plan, so that's your upper ceiling for how much you can use
Barring that, you can use anything within that range, and we only bill for what you actually use
running a service that scales memory usage unpredictably and quickly
Can you share more about this?

Looking for more? Join the community!

Recommended Posts
Variables redeploy infoSometimes when I don't have an active deployment and I change the variables it triggers a redeploy bStatic IPsIs there any updates for static IPs? I would love to use Railway for a Discord bot so everything is Prebuilt Mqtt Service and PortsLooking for some guidance. Currently have a couple different services in my project, including a posMySQL queries timeout or lead to blank screen on web versionFor the last 2 days or so I've been running into some problems with my personal project database. ItAdonisjs Migration - MySQL using password noTrying to deploy an app on railway with adonisjs and a MySQL database, I can get the web app runningGraalVMHi, is it possible to build a graalvm image in nixpacks? https://github.com/railwayapp/nixpacks/issuDebugging issuesIs their someway to get into filesystem so I can debug production errors a0aaa94d-45ad-410c-bcae-31Debugging issuesIs their somehow to get into file system? or the built filesEnabled mlockHi everyone, I'm currently creating a template for the hashicorp vault service (https://developer.hSubscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"simple socket server got timeout errorhi i have a simple question if i have a java simple sever (spring boot) and in my app in another porCheck SuitesI'm looking for a feature that could allow to deploy if failed build So I try to use Check Suites bTypeError: fetch failed error without much description in the logsFull error below: TypeError: fetch failed at Object.fetch (/app/node_modules/next/dist/compiled/unRenamed user/organization for GitHub - unsafe?A student organization I work with has a cron job service for our database, and it's linked with ourContainer Failed to StartError Response from Daemonssh tunneling errorWhen trying to deploy a django project the following error occurs "raise ValueError('No password or Paths not working when deployed to railway but works in local environmentCurrently making a vite/typescript/react project that has working route handling locally but does nopgbouncerHey folks, I have a supabase and Nextjs (+ prisma) project deployed in Railway, what's the best optiAccessing files inside the volumewhat's the best way to export build artifacts from one service to another? during build process, a tHow usage-based resource management works ?Hello, how Railway manages resource scaling ? like how are vCPU and RAM scaled up and down automatic