Everyone is hot under the collar again. So-called serverless or no-ops services are popping up everywhere allowing you to deploy “just code” into the cloud. Not only won’t you have to login to a server, you won’t even have to know they’re there.
In this guide, I’m going to provide you with 30 questions that you should ask a serverless fanboy. Let’s explore them below!
30 Questions on 5 Sectors to Ask a Serverless Fanboy
As your code is called, but cloud events such as a file upload, or hitting an http endpoint, your code runs. Behind the scene through the magic of containers & autoscaling, Amazon & others are able to provision in milliseconds.
Pretty cool. Yes even as it outsources the operations role to invisible teams behind Amazon Lambda, Google Cloud Functions or Webtask it’s also making companies more agile, and allowing startup innovation to happen even faster.
Believe it or not, I’m a fan too.
That said I thought it would be fun to poke a hole in the bubble and throw some criticisms at the technology. I mean going serverless today is still bleeding edge, and everyone isn’t cut out to be a pioneer!
With that, here’s 30 questions to throw on the serverless fanboys (and ladies!)…
- Are you comfortable removing the barrier around your database?
- With more services, there is more surface area. How do you prevent malicious code?
- How do you know your vendor is doing security right?
- How transparent is your vendor about vulnerabilities?
- How do you do integration testing with multiple vendor service components?
- How do you test your API Gateway configurations?
- Is there a way to version control changes to API Gateway configs?
- Can Terraform or CloudFormation help with this?
- How do you do load testing with a third-party db backend?
- Are your QA tests hitting the prod backend db?
- Can you easily create & destroy test DBS?
- How do you do zero downtime deployments with Lambda?
- Is there a way to deploy functions in groups, all at once?
- How do you manage vendor lock-in at the monitoring & tools level but also code & services?
- How do you mitigate your vendors’ maintenance? Downtime? Upgrades?
- How do you plan to move to the alternate vendor? Database import & export may not be ideal, plus code & infrastructure would need to be duplicated.
- How do you manage a third-party service for authentication? What are the pros & cons there?
- What are the pros & cons of using a service-based backend database?
- How do you manage redundancy of code when every client needs to talk to the backend db?
4. Monitoring & Debugging
- How do you build a third-party monitoring tool? Where are the APIs?
- When you’re down, is it your app or a system-wide problem?
- Where is the New Relic for Lambda?
- How do you degrade gracefully when using multiple vendors?
- How do you monitor execution duration so your function doesn’t fail unexpectedly?
- How do you monitor your account-wide limits so dev deployment doesn’t take down production?
- How do you handle startup latency?
- How do you optimize code for mobile?
- Does battery life preclude a large codebase on the client?
- How do you do caching on the server when each invocation resets everything?
- How do you do database connection pooling?
All 30 questions based on five different sectors including security, testing, management, monitoring, debugging, and performance are given in this article and we hope now you know what to ask a serverless fanboy after reading this article. If you got any extra questions to ask them, feel free to share them in our comment box below. Thanks for reading!