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

Improve Lambda handling #1

@andybee

Description

@andybee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions