News for hackers. Stuff that matters.
Re:Strata Web Framework by olegp on Wednesday September 21, 2011 @03:07PM (#3023258)
My JSGI implementation in Common Node (https://github.com/olegp/common-node) uses node-fibers allowing it to stream out responses without blocking the event loop.

In fact, by connecting an input stream to an output stream (forEachable objects), the underlying code automatically enables Node's pipe like behavior.

Check out this example: https://github.com/olegp/common-node/blob/master/examples/ht...

Re:Strata Web Framework by mjijackson on Wednesday September 21, 2011 @03:25PM (#3023314)
Even so, this breaks down with JSGI middleware that depends on running in a Java environment. For example, JSGI's gzip middleware uses Java's byte buffers.
Re:Strata Web Framework by olegp on Wednesday September 21, 2011 @03:35PM (#3023345)
Which JSGI gzip middleware are you referring to? It should use portable CommonJS Binary objects, which in Common Node's case wraps Buffers and in RingoJS (Java) byte arrays.
Re:Strata Web Framework by tlrobinson on Wednesday September 21, 2011 @03:38PM (#3023358)
JSGI is an API, not an implementation. Nothing in the API is dependent on Java.