Financial-Times/dotcom-reliability-kit

Add an example of using Reliability Kit with AWS Lambda

Closed this issue · 0 comments

Add an example Lambda app which uses Reliability Kit.

What problem does this feature solve?

We currently only have an example of using Reliability Kit with an Express app. This creates the impression that Reliability Kit is only useful for Heroku-based Express apps. Quote from an engineer:

I had a look and it [Reliability Kit] seems like it's more for Express apps

Ideal solution

Add a new example in examples/lambda which does some basic request/response management with catching and logging of errors. Obviously no need to use the middleware, but we can demonstrate that our error and request serialisation has been built with Lambda in mind.

Alternatives

  • We could do nothing, but this won't get us any closer to people seeing Reliability Kit as an option for their Serverless apps.