-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
questionSupport queriesSupport queriesrefactoringDrastic code quality improvementsDrastic code quality improvements
Description
tinyhttp seems to be a largely Express-compatible alternative Node.js server framework. Consider whether we should ditch Express for tinyhttp.
Pros
- Twice as fast as Express
- Fully compatible with Express middleware, so theoretically migration shouldn't cause huge problems
- TypeScript
Cons
- Not as battle-tested as Express
- Community is a lot smaller
Open questions
- We need to ensure that all the other Express bits we use in fact work with tinyhttp (session with any arbitrary connect store, file upload, etc)
- As Sapling adds some overhead, need to benchmark both implementations to make sure the performance/speed benefit is still applicable - the cons are probably worth it if it's truly around 2x as fast, but perhaps not worth it as much if the speed improvement is incremental/negligible
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionSupport queriesSupport queriesrefactoringDrastic code quality improvementsDrastic code quality improvements