[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Web application interface

Subject: Re: [Haskell-cafe] Web application interface
From: "Alberto G. Corona "
Date: Thu, 14 Jan 2010 11:50:25 +0100


2010/1/14 Jinjing Wang <[email protected]>


Hyena is especially tuned for streaming and that's exactly what hack
can't do (in practice).

Isn't possible to stream an (almost) infinite bytestring trough hack?. I ever trough that the laziness of haskell is a great advantage in Web applications. This is very important because the size of the block transferred vary widely. In my applications I don´t care whether I have to stream a hello world page or a video.  The first block of my application goes trough the internet as soon as my  procedure start without concern about if the processing is composed of a complicated chain of steps or not. And with no especial coding; Neither my web server interface nor my user responsiveness requirements force me to code iterations everywhere in my code.  I know the chuncked mode in web server but I think that just this mode of web streaming is the right mode for serving lazy haskell applications.

 My question is why whatever performance advantage the iteratee may have, can not be coded under the clean interface of a lazy bytestring or whatever lazy stream.

http://github.com/nfjinjing/hack-handler-hyena


--
jinjing
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>