Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

My Opinion on Serverless

DZone's Guide to

My Opinion on Serverless

See Michael Wittig's thoughts on the current state of serverless architecture, ranging from the name to evangelists to lambdas vs. event-driven work.

· Cloud Zone
Free Resource

What if you could learn how to use MongoDB directly from the experts, on your schedule, for free? We've put together the ultimate guide for learning MongoDB. Sign up and you'll receive instructions for how to get started!

I attended Serverlessconf in London to speak with people involved in the Serverless world. Vendors, framework maintainers, and users like myself — I reflected on the discussed topics and here it is: my opinion.

Opinion

Beta vs. Stable

I can’t believe that businesses rely on beta software such as Azure Functions (in Preview) or Google Cloud Functions (in Alpha). There is a reason why providers attach the beta label to their software. Because it’s not stable! So please don’t run a business on top of that. Pet projects are more appropriate.

Vendor Evangelists

Please question those Vendor Evangelists. They are 100% not neutral! They get paid to tell you that their product is great. Don’t spread their arguments without reflecting on them. It’s your mind. You have the freedom to think by yourself.

Lambda Chains vs. Event-Driven

I talked to many people and one hot topic was Lambda chains. A Lambda function calls a Lambda function calls a Lambda function.
If your Lambda needs to talk to other Lambdas a lot you may need to slice your problem better. Checkout bounded contexts to improve your modeling skills. Try to model your business process asynchronously by using an event driven design and avoid synchronous chains.

I can recommend the talk Serverless for Developers: Tips for Your Next App by Danilo Poccia.

Serverless: The name

I have not spoken to a single person who was not aware of the fact that the code still runs on servers. I recommend that we focus on a different topic than finding a name in the coming months.
Why not spend that energy to think about the event driven topic?

AWS Lambda alone is only the tip of the iceberg. The value comes from the AWS platform. Use Lambda to glue AWS services together and you will realize the potential. When evaluating other providers this is what matters!

I-Want-to-Fix-it-Myself Syndrome

Oh, my God: Lambda is down. I can’t fix it. I rely on AWS to fix it.

That’s called specialization and is the driver for our wealth. Someone maintains my car. Someone manufactures iPhones. Someone produces my food. I have no idea how this works. That’s fine!
But I hardly believe that I’m better at what I do in my field compared to people outside of my field. So why should this not apply to the Lambda staff?

There Is Still Ops

Let me tell you what I have observed in various projects:

  • There is less Ops in EC2 compared to run your own VMware solution.
  • There is less Ops in RDS compared to run your own Oracle database.
  • There is less Ops in Kinesis compared to your own Kafka cluster.

The same is true for Lambda.

By the way: There is less Dev in Lambda compared to your Play/Spring/Express Framework as well. We get more productive. That’s fine.

What if you could learn how to use MongoDB directly from the experts, on your schedule, for free? We've put together the ultimate guide for learning MongoDBSign up and you'll receive instructions for how to get started!

Topics:
aws lambda ,function ,serverless ,cloud

Published at DZone with permission of Michael Wittig, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}