4 ms·
on a side note, heroku can be really nice serverless provider. The instances can be created (using the API) in a couple of seconds. And you can run anything in
by vasilakisfil 8y ago
on a side note, heroku can be really nice serverless provider. The instances can be created (using the API) in a couple of seconds. And you can run anything in it.
- extra88 8y agoAre you suggesting that an end user should be able to click a button on your site that will run client-side JavaScript spin up a Heroku instance to perform an action? That sounds dangerous and slow. How is destruction of the instance handled?
- petercooper 8y agoDoesn't sound like the world's best idea, but I guess it could potentially work on things like ETL or maintenance tasks - not so much for quicker, end user operations at scale.
- vasilakisfil 8y agono, I am suggesting using it based on what it provides. Lag 2-3 seconds, power: multi-cpu, up to 12 GB ram. So obviously it's not for trivial cases like "click a button, spin up a lambda" but more to "upload a video, spin up instance to resize/shrink/format/compress". Serverless has many use cases.