grokking_simplicity/ch16

ch16

dz / grokking_simplicity / ch16

Summary

Grokking Simplicity Chapter 16: Sharing Resources Between Timelines

Node Tree

Nodes

concurrency_primitive
content concurrency primitive
children queue_to_guarantee_order, concurrency_primitive_def1 (definition 1), concurrency_primitive_def2 (definition 2)

concurrency_primitive_def1
content Piece of re-usable functionality that helps share resources across timelines
parents concurrency_primitive
remarks Official definition from the book

concurrency_primitive_def2
content data structure that helps coordinate timelines
parents concurrency_primitive
remarks Definition based on the context it was in when I read the word.

use_realworld_sharing
content Use Real-world sharing as inspiration
children locks_on_bathrooms, public_libraries, blackboards

blackboards
content Blackboards
parents use_realworld_sharing

locks_on_bathrooms
content Locks on Bathrooms
parents use_realworld_sharing

public_libraries
content Public Libraries
parents use_realworld_sharing

queue_to_guarantee_order
content Queue to guarantee order
parents concurrency_primitive

linearize
content Call the queue function "linearize()"
remarks This reminds me of linearizability in the distributed systems lectures