Skip to content
0:00 / 0:00

#haxl#facebook#applicative-functors

06 Fighting spam with haskell at Facebook

ICFP Video

3.8K subscribers • 33 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Simon Marlow

Intermediate. Assumes working knowledge.

1.9K views11 years ago2 recommendations

Programming languagesDistributed systemsHaskellConcurrency and parallelism

Simon Marlow explains how Facebook uses Haskell and the Haxl library to fight spam by automatically batching and parallelizing data fetches.

The uploader added no description.

Why it's here

2 people recommend this

What people say. Highly recommended for understanding the practical power of Applicative functors and Haxl in production.

u/edwardkmettin r/haskell • Recommends

On “Missing the point of applicatives”

ZipList can't be extended compatibly to a `Monad`. Validation, can't be extended compatibly to a `Monad` and lets you extract _multiple_ errors not just one. Concurrently can't be extended compatibly to a `Monad` but lets you run a number of computations in parallel. (There is a `Monad` instance that is broken, but it is being removed.) Notably, you know the issue with how arbitrary monads don't compose and so you need transformers to hack around this? Well, Applicatives do: instance (Applicative f, Applicative g) => Applicative (Compose f g) We can make parsers that take advantage of the limitations of `Applicative` to parse more efficiently, even if they do extend to become…

u/BethArin r/haskell • Recommends

On “"Haskell is Not For Production and Other Tales" - Katie Miller @ Linux.conf.au 2016 (Haxl@Facebook talk)”

Simon Marlow talked about the system in the ICFP last year. Here is the link if you are interested: link to this video

u/ReinHin r/haskell • Mentions

On “Fun With Haxl (Part 1) · Simon Marlow”

He gave one at CUFP last month as well.