Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Queueing and delivering messages

One of the core ideas of the BSP model is that graph components communicate with each other by exchanging messages. The fact that each vertex in the graph can potentially receive multiple messages mandates the introduction of some sort of abstraction for storing or queuing incoming messages until they are ready to be processed by the intended recipient.

In the three sections that follow, we will kick off our design discussion by defining the required interfaces for modeling messages and queues. Then, we will take a stab at implementing a simple, concurrent-safe in-memory queue.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content