Hacker News new | ask | show | jobs
by swineflu 3429 days ago
Does this pass all the HTTP tests in Node.js repo? If not the perf diff is irrelevant.
1 comments

It has a mostly-compatible API but strict conformance doesn't seem to be the goal here. If your application does not make use of obscure features provided by core http (it could probably be refactored to do without anyways), then it's a free boost in performance.
Is the req object a readable stream? is the res object a writable stream? How do you handle backpressure with this mostly-compatible API?