by electricEmu · 8y ago · 0 comments
The CLI tools work, but they're frequently more of an annoyance then running a single process app. The logical layout and composition falls entirely on the team. Composing related functions seems to be more troublesome than it's worth.
Is Go on lambdas exciting because people use Go for cross cutting devops operations? Is there demand for writing serverless Go?
I see containers and the single process model as much easier to test, lay out and run. Honestly, I probably just do "get" serverless. What am I missing?
isn't that the point?
https://github.com/serverless/serverless
has allayed a lot of my gripes with lambda.
Initially it was a bit disconcerting that I could not ssh into a machine and inspect anything. However, our mindset changed after a while. Instead of thinking of Lambda as a server, view a Lambda application as equivalent to a Gunicorn process in a production server. No one is going to ssh into the process or set breakpoints.
In my mind, serverless functions are akin to database triggers: they do one thing and one thing only, in response to an event.
If one tries to make a serverless function do too much, it tends to get somewhat difficult to debug.
If one stays within complexity boundaries analogous to that of a database trigger, things may be more manageable.
Just as you would not abuse a database trigger to do wacky things, it may be a good idea to not overextend serverless functions.