I'm exploring Railway for a project where I need to dynamically spin up and down containers on a per-user basis.
You're looking at a worker-queue desgin, and each user would get their own isolated container environment(s) that can be started as their queues fill up.
Some specific questions I have:
- Is there a hard limit on the number of containers/services I can run simultaneously on Railway?
- Can I programmatically create, start, and stop containers via an API?
- Would Railway's pricing model work for this kind of dynamic scaling where containers might be frequently started/stopped?
- Are there any architectural recommendations or limitations I should be aware of for this use case?
I'd appreciate any guidance on whether this approach is feasible with Railway or should I go with Kubernetes