Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Improve Lambda handling #1

Open
andybee opened this issue Apr 5, 2018 · 0 comments
Open

Improve Lambda handling #1

andybee opened this issue Apr 5, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@andybee
Copy link
Contributor

andybee commented Apr 5, 2018

Currently the Lambda handling is solely reliant on the AWS-supplied package that provides a wrapper around the Node.js HTTP library (running it via a socket) and melding the Lambda event and context callback methods in to it.

Whilst that works and provides a simple way to wrap up any Node.js HTTP/Express/Koa app, it might be nicer longer term to remove the dependency, avoid the internal network-stack-through-a-socket implementation and instead create a Koa-compatiable context object from the Lambda event, use koa-compose to create the middleware stack, and then feed the result back via the newly introduce Node 8.10 Lambda async handling.

@andybee andybee added the enhancement New feature or request label Apr 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant