hydroflow icon indicating copy to clipboard operation
hydroflow copied to clipboard

Hackathon: Examples of common distributed design patterns

Open jhellerstein opened this issue 2 years ago • 4 comments

For now these should go in examples or the book. Eventually these should be in libraries of importable modules.

Local wall-clocks, etc

  • [ ] heartbeats
  • [ ] timers/timeout
  • [ ] nonce generation
  • [ ] counter

Local ordered data structures

  • [ ] local FIFO queue
  • [ ] local stack
  • [ ] local priority queue

Distributed clocks

  • [x] Lamport clock
  • [x] Vector clock #435

Networking

  • [ ] causal delivery
  • [ ] reliable delivery
  • [ ] multicast
  • [ ] randomized gossip

MPI-Style Collective Communication

  • [ ] tree aggregation
  • [ ] tree dissemination
  • [ ] barrier
  • [ ] scatter (partition collection across all recipients)
  • [ ] gather (assemble partitions into whole at one node)
  • [ ] allgather (assemble partitions into whole replicated at all nodes)
  • [ ] reduce (distributed)
  • [ ] allReduce (distributed)

Storage

  • [ ] write/read to/from file formats
  • [ ] write/read to/from db formats

Network Services

  • [ ] invoke REST endpoints
  • [ ] provide REST endpoints

jhellerstein avatar Jan 12 '23 05:01 jhellerstein

#330

MingweiSamuel avatar Mar 13 '23 17:03 MingweiSamuel

Termination detection (#928)

MingweiSamuel avatar Dec 14 '23 00:12 MingweiSamuel

Spark examples: https://spark.apache.org/examples.html

shadaj avatar Dec 26 '23 23:12 shadaj

1 billion rows challenge: https://github.com/gunnarmorling/1brc

shadaj avatar Jan 06 '24 00:01 shadaj