by 0x6877 · 8y ago · 0 comments
A good example would be using something like apex/gateway which simply proxies lambda requests to golang standard http handlers. Virtually elminating vendor lock-in.
I think serverless has a place (yes even for business logic) but like anything you have to pick the right took for the job.
Apex/gateway: https://github.com/apex/gateway
I won’t argue that its cheaper because it’s not. Once you get to a certain point you should probably migrate onto real instances which is why I think that the abstraction I talked about is important.
You can easily get this with CoreOS + docker images on GCE
> manage load balancing
Load balancers are one click since what, 2005?
> or scaling (yes I’m aware of the cold start latency cost).
Except you do. You run a 4 CPU database on the backend. How many lambdas can hit it at once before it dies? You need to manage this still.
Lambda is not the worst thing ever, but many many things using it would be far better off on something like kubernetes or a docker image behind a load balancer.