Skip to content

[Spike] Express vs. Koa for HTTP processing #1255

@hacksparrow

Description

@hacksparrow

Time boxed to 1 week

Created from the discussion at #1071.

Which web framework will we use? find out what is best: express, koa? or do we keep/improve our own homegrown module?
List supported use-cases for http processing; what do we need? CORS, compression, static file serving etc.
Look into maturity, availability of middleware, adoption, etc

This spike is for doing a practical and deeper comparison between Express and Koa for our underlying HTTP framework.

Acceptance Criteria

Should have answers for the following questions (1 question per line).

  • What are the challenges for us LB developers if we use Express / Koa?
  • What are the challenges for our users if the underlying framework is Express / Koa?
  • How does the interface to request and response object change with Express / Koa?
  • How compatible would existing modules be with Express / Koa?
  • Can users switch between Express and Koa as the underlying framework?
  • How does the use of Express / Koa affect routing?
  • How mature / well-supported is Express / Koa?
  • How mature / well-supported are commonly used middleware in Express / Koa?
  • Can we support Express style middleware if we use Koa?
  • Can users customize what will handle HTTP errors - the underlying framework, or LoopBack, or user middleware?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions