This is a fascinating project. Haxl is the brainchild of former Glasgow Haskell Compiler lead* Simon Marlow.<p>The tl;dr of Haxl: what if you could describe accessing a data store (a la SQL) and have the compiler and library work together to "figure out" the most efficient way to perform queries, including performing multiple queries in parallel? That's what Haxl does, it allows you to specify the "shape" of your query, the type checker verifies its correctness, and the library executes it in parallel for you, without the developer having to know about synchronizing access or anything.<p>Here's a link to their paper (PDF): <a href="http://www.haskell.org/wikiupload/c/cf/The_Haxl_Project_at_Facebook.pdf" rel="nofollow">http://www.haskell.org/wikiupload/c/cf/The_Haxl_Project_at_F...</a><p>* - I am not sure if he's still committing, or if he's only doing application development. His accomplishments in Haskell land though, are many.<p>Edited: I removed my comment about GitHub issues, seems it's a known problem. :)
Here's our paper about the ideas behind Haxl: <a href="http://community.haskell.org/~simonmar/papers/haxl-icfp14.pdf" rel="nofollow">http://community.haskell.org/~simonmar/papers/haxl-icfp14.pd...</a>
Hi. I'm one of the engineers who has worked on this so if anyone has any specific questions I can help answer and/or get someone to answer.<p>As said by @nbm, we also have a blog post up: <a href="https://code.facebook.com/posts/302060973291128/open-sourcing-haxl-a-library-for-haskell/" rel="nofollow">https://code.facebook.com/posts/302060973291128/open-sourcin...</a>.
The release blog post is here - <a href="https://code.facebook.com/posts/302060973291128/open-sourcing-haxl-a-library-for-haskell/" rel="nofollow">https://code.facebook.com/posts/302060973291128/open-sourcin...</a><p>It contains a lot more information about the problem it was originally created to solve, and potential other use cases.
<a href="http://hackage.haskell.org/package/haxl" rel="nofollow">http://hackage.haskell.org/package/haxl</a><p>Why do Haskell libraries on Hackage doesn't come even with a single example, getting started, how to use, quick start, nothing, really, just function declarations? This scares Haskell newbies.
Slides from Marlow from 9 months ago about Haxl and it's workings <a href="https://github.com/meiersi/HaskellerZ/blob/master/meetups/20130829-FPAfternoon_The_Haxl_Project_at_Facebook/The%20Haxl%20Project%20at%20Facebook.pdf?raw=true" rel="nofollow">https://github.com/meiersi/HaskellerZ/blob/master/meetups/20...</a>
How do you guys batch requests in PHP? You don't, right? So this is an intermediate layer basically, and it sends requests every few millisecods and waits to batch things in between?
Cool ! Are there any alternatives out there, especially to deal with fault tolerance especially when if we want to establish connection with 100's of varied databases?
How does the functionality of Haxl differ from a mature ORM system? I'm thinking about .NET Entity Framework + LINQ in particular since it not only does the mapping but also assists in query generation, scheduling.
It would be cool if you could transform those tables into HTML tables. They would look prettier (not nice JPG noise) and would also be more accessible.