Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lambda is like CloudFlare workers.

They are deployed AT THE EDGE TO THE CDN, and therefore can handle requests without hitting your network and database.

For example I recommend your servers sign all the session IDs they give out, so they can easily be discarded if the signature doesn’t match or if they’ve been blacklisted. Such decisions can be made without doing any I/O, or by checking a local cache that was built up when eg a blacklisted session ID was tried just recently.

They can also spin up huge numbers of instances and fan out requests to MANY different servers, not just yours and your domain names. They allow client-first development, where you might not build ANY back end at all, just use some sort of JAM stack.

And now, CloudFlare Workers supports a key-value store and a SQL database so it is sort of an environment that will autoscale all your deployments in CDNs around the world and take care of the eventual consistency too.



> where you might not build ANY back end at all, just use some sort of JAM stack.

So, a backend

> And now, CloudFlare Workers supports a key-value store and a SQL database

So, a backend.


A back end with autoscaling on CDN.

Not a single server, like you'd set up.


The autoscaling 99% of businesses don't need, and won't need even when they hit their 1 million DAU




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: