Skip to content

wassef911/concurrent_snakes

Repository files navigation

quick side project to learn more about coroutines...

background

running dockerised kafka with two producers and two consumers, to visualize performance diffrences between working with subroutines and coroutines (async/wait) syntax...

PRODUCERS:

after running both producers querying jsonplaceholder.typicode.com endpoints, results are being published ≈120% Screenshot

CONSUMERS:

although messages to the async topic are being published at much faster rate, the "async syntax" consumer kept a similar performance... Screenshot