DEV Community

Discussion on: My monolith doesn't fit in your serverless

Collapse
 
kspeakman profile image
Kasey Speakman

I have the same outlook about serverless. Moving things out of process means that you now have to deal with new failure modes and latencies for communication between components. It works exactly the same as when a company grows and splits into departments. Only it doesn't make sense to split into 5 departments (or any at all) when your company only has 3 people. I think this is a lesson from Conway's law that has been missed as people are discovering serverless.

On AWS, there is an interesting ops middle ground between shepherding individual EC2 machines to using Lambdas. And that is using Fargate. Unfortunately it is more expensive than both of these options. We are using the similar but cheaper option -- our own ECS cluster. It is like fargate, but we have to tell it what EC2 resources should back the cluster. They only charge for the EC2 resources -- the clustering is no charge.

Collapse
 
iamcherta profile image
Gabriel Chertok

Nice info about how to handle it on AWS. I'm currently using Hatchbox.io to provision DO boxes, both in cluster or standalone, also I tend to over use Heroku for dev/staging/review apps which provisions a new Dyno and DB for every new PR.