Skip to content

Instantly share code, notes, and snippets.

View vivekagal1998's full-sized avatar

Vivek Shah vivekagal1998

View GitHub Profile
@vivekagal1998
vivekagal1998 / System Design.md
Created February 28, 2021 15:48 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@vivekagal1998
vivekagal1998 / test.sh
Created October 31, 2018 14:15 — forked from algmyr/test.sh
Simple hackable test script
#!/bin/bash
mode="$1"
if [[ "$mode" == "perf" ]]; then
cmd="$2"
i=0
while true
do
echo "Test $((i+=1))"
python gen.py > gendata