|
|
|
|
|
by cmsd2
3738 days ago
|
|
A coworker showed me Akka Streams recently.
It allows you to overcome the impedence mismatch between threadpools processing jobs at different speeds where one task feeds into another.
Could be a neat way to join up the i/o bound tasks to the cpu bound tasks. https://opencredo.com/introduction-to-akka-streams-getting-s... |
|
I was kinda surprised by how tricky it was to make a Flow that turned ByteStrings into separate String lines, but it seems like the custom GraphStage approach generalizes really well to more complicated stages.