Skip to content

Instantly share code, notes, and snippets.

View AKarbas's full-sized avatar
👾

Amin Karbas AKarbas

👾
View GitHub Profile
@AKarbas
AKarbas / PhysLab2_4.ipynb
Created November 2, 2019 12:01
Physics Lab 2 (4)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AKarbas
AKarbas / Highlights.md
Last active April 10, 2019 16:51
Some stuff on Apache Kafka

Some Highlights:

  • Replication 1000 partitions from one broker to another can take up 20ms. This can be too high for some real-time applications
  • File Descriptors limits: Kafka needs open file descriptors for files and network connections . We recommend at least 128000 allowed for file descriptors.
  • Max socket buffer size , can be increased to enable high-performance data transfer. More details are here http://www.psc.edu/index.php/networking/641-tcp-tune
  • "In general, one can produce at 10s of MB/sec on just a single partition as shown in this benchmark."
  • When a broker is shut down uncleanly (e.g., kill -9), the observed unavailability could be proportional to the number of partitions. Suppose that a broker has a total of 2000 partitions, each with 2 replicas. Roughly, this broker will be the leader for about 1000 partitions. When this broker fails uncleanly, all those 1000 partitions beco
@AKarbas
AKarbas / iterm2-solarized.md
Created February 22, 2019 15:42 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k