DEV Community

Discussion on: Why Serverless

Collapse
 
xngwng profile image
Xing Wang

There are pros and cons.

One of the growing challenges with serverless computing is monitoring and debugging all those functions. Logging context is now scattered across even more components than even in a microservice architecture. May of the logs are very vendor specific and is not like looking at standard NGINX or HaProxy logs.

But we are still very excited about growth in this space. Interesting that you wrote a book on this topic. Congrats.

Collapse
 
yos profile image
Yos Riady

Yes, absolutely. Monitoring and debugging remains a challenge in serverless because for one
you can't ssh into a running lambda. Fortunately, the serverless landscape is maturing: services such as AWS X-Ray, Iopipe, Dashbird, and a few others have emerged to help solve the visibility problem: they help you see inside your lambda functions.

As serverless continues to grow and mature, I expect we'll see more solutions in this space.
Thank you for reading!

Collapse
 
nitzanshapira profile image
Nitzan Shapira

Great read!

I think that leveraging external services and APIs are a KEY THING here - it enables you to focus just on your business logic, and FaaS enables you further to not even manage the server your code is running on.

Regarding monitoring - at Epsagon (epsagon.com), we are focusing on automatic end-to-end monitoring of the ENTIRE architecture, rather than of a single Lambda - which we found out is the main challenge in serverless today. Feel free to contact us and try it out our beta.

Collapse
 
danielhoffmann_ profile image
Daniel HB

This is a good point, but I feel this is a solvable problem. Surely there must be a way to unify the logs of several microservices somewhere? But I feel this needs to be provided by the platform where your code runs. Like a periodic upload of logs to a central data warehouse

Collapse
 
xngwng profile image
Xing Wang

lol. I'll do my own plug.... Since most serverless and microservices are APIs, if we capture all the data at the API level from all these different sources, and analyze them together can solve this problem. Check out the company that I started. Moesif. (moesif.com)

Collapse
 
rupakg profile image
Rupak Ganguly

One of the growing challenges with serverless computing is monitoring and debugging all those functions.

Yes, true, but things are improving. Check out serverless.com/blog/serverless-mon...

Logging context is now scattered across even more components than even in a microservice architecture.

Checkout AWS X-Ray. Its improving.

May of the logs are very vendor specific and is not like looking at standard NGINX or HaProxy logs.

You can redirect the logs to Splunk or an ELK stack from any of the leading FaaS providers.