[Haskell-cafe] ANN: stm-conduit-0.2.1

Clark Gaebel cgaebel at csclub.uwaterloo.ca
Thu Feb 9 20:20:43 CET 2012


Happy to help! I'm new to this whole "package on hackage" thing, so any
feedback would be great.

  - clark

On Thu, Feb 9, 2012 at 2:19 PM, Alexander V Vershilov <
alexander.vershilov at gmail.com> wrote:

> Hello.
>
> Thu, Feb 09, 2012 at 01:32:41PM -0500, Clark Gaebel wrote
> > Hi all,
> >
> > I've just released stm-conduit [1] on Hackage. This package introduces
> conduits
> > to the wonderful world of concurrency.
> >
> > My package solves the common problem of constant bottleneck switching
> loaders
> > have. This is when, for example, we stream XML from the disk and then
> parse the
> > XML in one conduit pipeline. While it streams a file from the disk, the
> process
> > is clearly IO bound, and while it parses the XML, the process is CPU
> bound. By
> > putting each task on its own thread, the disk IO doesn't need to wait
> for the
> > CPU to parse a document before loading the next file. By using stm-based
> > conduits, we have full resource utilization.
> >
> > The way it does this is by creating a source and sink for TChans,
> letting us
> > stream data between conduits and channels. There are more examples in
> the docs.
> >
> > Check it out!
> >
> > Regards,
> >   - clark
> >
> > [1] http://hackage.haskell.org/package/stm-conduit
>
> A day ago I've make analogical library in utils for my project, code was
> 90%
> same. Thanks for putting such a library on hackage
>
> --
> Best regards,
>  Alexander.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120209/69b39f1f/attachment.htm>


More information about the Haskell-Cafe mailing list