Fork me on GitHub
#aleph
<
2018-01-31
>
sooheon04:01:32

Hi, anyone know of more fleshed out examples of manifold / aleph usage besides the docs?

sooheon04:01:57

Or barring that, maybe a good general resource to learn the asynchronous processing mindset/paradigm?

danielcompton08:01:15

Yada source code is pretty good

ehashman15:01:02

I have found that writing code is the best recipe for that

ehashman15:01:34

Unfortunately most of the interesting stuff I've done at work is paywalled, but here's a small library with some very simple examples if that helps: https://github.com/RackSec/alertlogic-lib/blob/master/src/alertlogic_lib/core.clj

mccraigmccraig16:01:54

a couple more examples:

mccraigmccraig16:01:18

on the more general manifold / async processing tip, here's our stream-join implementation which has quickly become a central part of our platform - https://github.com/employeerepublic/promisespromises/blob/master/src/prpr/stream/cross.clj#L491

mccraigmccraig16:01:35

and our async cassandra connector (with a sadly out of date README) - https://github.com/employeerepublic/er-cassandra

mccraigmccraig16:01:31

both are based around manifold deferreds and streams, with a heavy sprinkling of funcool/cats promise monad