DreamPirates DreamPirates

First, it was Docker

Author : danila
Publish Date : 2021-03-04 07:58:57
First, it was Docker

Serverless Is Amazing, but Here’s the Big Problem

First, it was Docker. Then microservices. Then Kubernetes. And now, serverless. Servers are a pain in the neck, right? What web developer wants to learn Apache Linux to deploy a SPA? And that’s just the deployment. Maintenance is a different ballgame. Load balancing, security patches, under-provisioning, over-provisioning — it’s an endless supply of problems.

Is serverless the answer?


Serverless computing has been growing in popularity in recent years. But how well does it actually solve the problem? First, let’s define it. In my own words, serverless computing abstracts away the functionality of the server so that developers don’t have to worry about their operation. You get to use a server without actually using a server manually. Technically, it’s not literally “serverless.” You just don’t have to worry about the servers you’re using. You submit your code and the provider will ensure that it runs when needed, regardless of volume. Auto-scaling and server management are no longer your concerns.

On the surface, this sounds cool. You can simply write some code, bundle it as a Docker image, and then deploy it as a serverless function through AWS Lambda or Google Cloud Run. All with a few clicks. No messy installs. No Linux command line. All you have to worry about is writing your application code.


But here’s my issue with this: It doesn’t solve the original problem very effectively. Remember, the problem is developers don’t want to manage servers to deploy their code. And serverless is supposed to address that. In theory, it could. But in reality, few developers use serverless deployments. It’s just too intimidating.

For instance, when I was looking at deployment options for my trading bot microservices, I stumbled upon the serverless hype train. At the time, I was already setting up Kubernetes because I knew that was the industry standard for robust, scalable apps. Good enough for Uber, good enough for me. And for some reason, serverless sounded even more daunting.

I was like, “What do you mean serverless? No servers? How on earth does that work?” So I left it alone. I thought it was too complicated. In reality, a serverless deployment is probably much easier to set up than a Kubernetes cluster. Joke’s on me. But I don’t think I’m alone in this reaction. Serverless is intimidating for newcomers, which is ironic because those are the people it’s supposed to benefit most.


I mean, they should be teaching serverless in beginner programming courses. It’s so easy to deploy things this way. Just write some code, copy a generic Dockerfile from the internet, and deploy with a few clicks through a website. That’s far easier than deploying to some DigitalOcean droplet — not to mention much more useful because little serverless apps can be used to easily extend the functionality of any application. And they’re trivial to develop. Yet all this upside is never discovered because this stuff scares people.

That’s the problem with serverless: It’s terrifying. Maybe it’s the content surrounding it. Most of the people talking about this are senior DevOps types at industry conferences. That creates a false image that it’s an advanced concept for the big boys, which isn’t necessarily true. Or maybe it’s an adoption problem. Maybe serverless solutions just need to be marketed to beginners better.

Be that as it may, serverless is pretty cool. I’ll be playing with it a lot more and keeping an eye on the space. Slowly but surely, some cloud functions will find their way into my production bots. And that’s when the real fun will begin.

Category : world

AI knows when youre being sarcastic on Twitter

AI knows when youre being sarcastic on Twitter

- The future is hurtling toward us, and with each passing day AI is getting smarter. Weve seen AI that will play your games for you

Latest and New IAPP CIPP-E Practice Questions

Latest and New IAPP CIPP-E Practice Questions

- If you are going to take the IAPP CIPP-E certification exam questions you need to made this confident that you simply had by far the most updated

Lawn Mowing Simulator is a real game with a free demo starting next week

Lawn Mowing Simulator is a real game with a free demo starting next week

- Lawn Mowing Simulator is a real game with a free demo starting next week Now those of us with grass allergies can finally mow a lawn

Diablo 2: Resurrecteds Changes Are To Make The Remaster Easier To Play, Not Just Easier Overall

Diablo 2: Resurrecteds Changes Are To Make The Remaster Easier To Play, Not Just Easier Overall

- "We want to remain faithful, so theres a difference between making the game easier and making the game easier to play."