On Sat, 23 Jan 2010 18:52:01 +0200, Michael Snoyman mich...@snoyman.com wrote:
Jeremy,
What I meant is, if you use a sendfile system call to send raw files from
the disk, how does this interact with gzip compression, which clearly cannot
be used when using a sendfile call? I ask because you
On Jan 23, 2010, at 10:52 AM, Michael Snoyman wrote:
Jeremy,
What I meant is, if you use a sendfile system call to send raw files
from the disk, how does this interact with gzip compression, which
clearly cannot be used when using a sendfile call? I ask because you
implied there were
Hello,
In happstack, there is a Writer monad which holds a list of filters
which will be applied to the Response before sending it out. One of
these filters is the gzip filter.
The compression filters are defined here:
Hey Jeremy,
I was just wondering: how does Happstack deal with gzip encoding when it
uses sendfile? I can think of a few ways (cache gziped versions to the
disk), but was wondering if you'd already come up with a good solution. I'm
trying to keep all these things in mind when designing WAI.
Excerpts from Michael Snoyman's message of Wed Jan 13 15:46:12 +0100 2010:
Hi,
I recently read (again) the wiki page on a web application interface[1] for
Haskell. It seems like this basically works out to Hack[2], but using an
enumerator instead of lazy bytestring in the response type. Is
Absolutely; the goals I have are minimal dependencies and no warnings for
compilation ;).
On Sat, Jan 16, 2010 at 9:35 PM, Nicolas Pouillard
nicolas.pouill...@gmail.com wrote:
Excerpts from Michael Snoyman's message of Wed Jan 13 15:46:12 +0100 2010:
Hi,
I recently read (again) the wiki
Excerpts from Jinjing Wang's message of Thu Jan 14 01:28:31 +0100 2010:
| The hyena backend is essentially just a translator between hack and
| wai, i failed to finished it since I can't understand iteratee
| (seriously) and eventually got distracted ...
If I have well understood you miss a
Hi Michael,
no, the message was not meant to be off-list, that was just me
pressing the wrong button :-)
Regarding happstack, I do not believe that there is a contrast with
your effort, the core of happstack is in its persistency mechanism not
in its http interface so I think it would be great
2010/1/14 Jinjing Wang nfjinj...@gmail.com
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.
On Thu, Jan 14, 2010 at 12:50 PM, Alberto G. Corona agocor...@gmail.comwrote:
2010/1/14 Jinjing Wang nfjinj...@gmail.com
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
2010/1/14 Michael Snoyman mich...@snoyman.com
Well, for one thing, you'd need to use lazy IO to achieve your goal, which
has some safety issues. As things get more and more complex, the
requirements of lazy IO will continue to grow. This also has implications
for number of open file handles
On Thu, Jan 14, 2010 at 1:20 PM, Alberto G. Corona agocor...@gmail.comwrote:
2010/1/14 Michael Snoyman mich...@snoyman.com
Well, for one thing, you'd need to use lazy IO to achieve your goal, which
has some safety issues. As things get more and more complex, the
requirements of lazy IO
On Thu, Jan 14, 2010 at 1:58 PM, Alberto G. Corona agocor...@gmail.comwrote:
2010/1/14 Michael Snoyman mich...@snoyman.com
On Thu, Jan 14, 2010 at 1:20 PM, Alberto G. Corona
agocor...@gmail.comwrote:
2010/1/14 Michael Snoyman mich...@snoyman.com
Well, for one thing, you'd need to
Hello,
Happstack is currently bundled with it's own lazy I/O based HTTP
backend. Ideally, we would like to split that out, and allow happstack
to be used with that backend, hyena, or other options.
A primary using for using hyena would be for the benefits of
predictability and constant
On Thu, Jan 14, 2010 at 5:42 PM, Jeremy Shaw jer...@n-heptane.com wrote:
Hello,
Happstack is currently bundled with it's own lazy I/O based HTTP backend.
Ideally, we would like to split that out, and allow happstack to be used
with that backend, hyena, or other options.
A primary using for
Hi,
I recently read (again) the wiki page on a web application interface[1] for
Haskell. It seems like this basically works out to Hack[2], but using an
enumerator instead of lazy bytestring in the response type. Is anyone
working on implementing this? If not, I would like to create the package,
The hyena backend is essentially just a translator between hack and
wai, i failed to finished it since I can't understand iteratee
(seriously) and eventually got distracted ...
What hyena tries to solve can't be realized in hack, so there's not
too much reason for a backend anyway.
Hyena is
17 matches
Mail list logo