An article by Miles Buckley and with contribution by Sebastian Hesse about how to pursue serverless cloud app development. As organizations search for flexible and scalable data solutions, the pull for going serverless has never been stronger.
There are two ways you can develop serverless functions: locally or directly in the cloud. One key drawback we saw with the cloud execution is that debugging your code can be more challenging.
It is important to consider few things:
- You must have a test environment that closely resembles your production
- Local code updates are generally faster
- Debugging your code along the way
- Keep track of all your (Lambda) functions
Authors suggest keeping your functions simple and separate your concerns. Consider focusing on just one task your function will perform and pour your energy into delivering that functionality very well.
The article then recommend these best practices:
- Keep it simple – limit the scope of your functions
- Key in on communication – communication between your functions becomes very important
- Ensure all aspects are scalable
- Make sure 15 minutes is enough time to execute your app
- Understand data limits
Nice and concise reading. The link to video presentation also available. Well done!
[Read More]