Skip to content

Instantly share code, notes, and snippets.

View cnb0's full-sized avatar

nbabu cnb0

View GitHub Profile
@cnb0
cnb0 / kafka.md
Created October 26, 2020 14:23 — forked from ashrithr/kafka.md
kafka introduction

Introduction to Kafka

Kafka acts as a kind of write-ahead log (WAL) that records messages to a persistent store (disk) and allows subscribers to read and apply these changes to their own stores in a system appropriate time-frame.

Terminology:

  • Producers send messages to brokers
  • Consumers read messages from brokers
  • Messages are sent to a topic
@cnb0
cnb0 / web-servers.md
Created January 17, 2020 06:21 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000