Graphs
Till now we know how to create a linear pipeline/linear graph. But in real life scenario we generally don’t have linear graphs to implement. The graphs can be complex. In Akka Streams computation graphs are written in a more graph-resembling DSL. It aims to make translating graph drawings (e.g. from notes taken from design discussions, or illustrations in protocol specifications) to and from code simpler.

Graphs are used to perform fan-in and fan-out operations. You can consider graph operations as junctions(multiple flows connected at a single point).

Fan-in : It takes multiple inputs and produces a single output.
Fan-out : It produces multiple outputs by taking a single input.

#akka #akka-streams #big data and fast data #scala #akka-streaming #graphs #graphs-in-akka #partialgraphs

Akka-Streams: All About Graphs!
1.45 GEEK