Re:Ask HN: What are some practical uses for serverless?
by buf on Monday December 10, 2018 @05:47PM
(#18651810)
Right on. I guess I've done it so many times that I hadn't thought about it. I have a medium sized site, about 12 rps, using rails with a bunch of backend operations (it's a social network), so I think I just have rose-tinted glasses on the complexities of doing that.
Other than setup time, are there any other really great reasons to use serverless?
Or, why is serverless so much more popular than heroku (currently)? With heroku, you have a lot more control.
Standing up a toy sidekiq + rails environment for experiments and for tiny projects is a 10 minute operation. Standing one up for large projects, taking care of deployment without breaks, restarting sidekiq without losing jobs, scaling the environment in reaction to traffic, etc. is a lot more work.
Also standing up sidekiq requires managing your backend storage. If you have time and skills for that, great. Otherwise, a managed service may be better.
On top of that, you need to actually deal with system maintenance for all of those components normally. Any managed solution (whether that's serverless, or effectively-close-to-serverless like heroku) may be a good idea.