:art: DApp - Producer, and Consumer

:art: DApp - Producer, and Consumer

- 1 min

Illustration of Producer-Consumer Problem in Golang

Purpose

Provide Go Concurrency Programming Example.

Brainstorm the Possibilities

In this post, we will look at four different variations.

  1. Single Producer & Single Consumer (1p1c)
  2. Single Producer & Multiple Consumer (1pxc)
  3. Multiple Producer & Single Consumer (xp1c)
  4. Multiple Producer & Multiple Consumer (xpxc) I have written this in incremental versions
    • Version-1 (xpxc-v1)
    • Version-2 (xpxc-v2)
    • Version-3 (xpxc-v3)

Next Steps

Follow the below links for the source code and Dockerfile

Example Source Code - Producer and Consumer

README.md

Makefile

I hope that these references will make getting started extremely easy.

Enjoy!

Web Resources:

Satya Dillikar

Satya Dillikar

Accomplished technology leader with over 20 years of experience leading global teams to deliver innovative, scalable, and mission-critical software products

DISCLAIMER: All views expressed on this site are my own and do not represent the opinions of any entity whatsoever with which I have been, am now, or will be affiliated. Any collateral used is referenced in the Web Resources or others sections on this page. The information provided on this website does not constitute investment advice, financial advice, or trading advice.

comments powered by Disqus