Skip to content

Instantly share code, notes, and snippets.

View AmilcarArmmand's full-sized avatar

AArmmand AmilcarArmmand

View GitHub Profile

Initial Requirements (100,000 users/hour):

  • Concurrent streams: ~28,000 (assuming 10-minute average watch time)
  • Storage needed:
    • Daily Active users (DAU): 2,400,000 (100k/hr)
    • Average video uploaded per user per day: 0.005 videos (0.5 % of DAUs upload a video daily)
    • Average video size: 100 MB (at 1080p resolution, H264 compression)
    • Daily uploads: 2,400,000 x 0.005 = 12,000 videos/day
    • Daily storage for uploads: 12,000 x 100 MB = 1.2 TB/day
    • Annual video uploads: 1.2 TB/day x 365 days = 438 TB/year
@AmilcarArmmand
AmilcarArmmand / srs.md
Last active November 22, 2025 05:10
Software Requirements Specification (SRS) for Fault-Tolerant Storage Design for Video Streaming

Software Requirements Specification (SRS)

Project Name: CAAT Distributed Storage System for Video Streaming Storage

Focus Component: Fault-Tolerant Design: Streaming continues even if one or more storage nodes fail.

Team Members: Team: Sudo !! (Sudo Bang-Bang)

  • Amilcar Armmand - System Architect
  • Tiffany Choe - System Architect
@AmilcarArmmand
AmilcarArmmand / CS-PeerLearning.md
Last active March 26, 2025 18:28
Ideas to build community and expand our knowledge base and resources

Projects and proposals

  • Workshops on foundational info not taught in standard classes
  • Create a environment of peer learning in the CS Department through the CS Club and Discord channel for outreach
  • BASH (Bourne Again SHell) (bash,zsh,fsh, etc)
  • .bashrc, .profile, .zshrc, etc setup
  • Tools and managers (zplug)

Topics and Learning Objectives in video lectures

@AmilcarArmmand
AmilcarArmmand / dsc-project-plan.md
Last active May 2, 2024 06:14
Project planning

China's prosperity is built on:

  • Industrial foundation during Mao era, with Soviet help, which was the biggest organized industry transfer in history.
  • Reform & opening up, building up the biggest foreign-exchange reserve.
  • The most direct increase in wealth among Chinese families are actually the property value.
  • Housing in its essence is just a wooden or concrete box, its real value exists in the location and services near it (schools, healthcare, transport and job opportunities).
  • These property wealth were all backed by China's massive industries, exports and foreign echange reserves.
  • China's exports, was because of the industrial foundation and social reforms of the Mao era
  • Imports
@AmilcarArmmand
AmilcarArmmand / curl_post_json.md
Created April 7, 2024 21:33 — forked from ungoldman/curl_post_json.md
post a JSON file with curl

How do you POST a JSON file with curl??

You can post a json file with curl like so:

curl -X POST -H "Content-Type: application/json" -d @FILENAME DESTINATION

so for example:

@AmilcarArmmand
AmilcarArmmand / smartparens-cheatsheet.md
Created March 17, 2024 03:29 — forked from pvik/smartparens-cheatsheet.md
A Cheatsheet for Emacs Smarparens example configuration

An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.

Traversal

C-M-f sp-forward-sexp
C-M-b sp-backward-sexp
@AmilcarArmmand
AmilcarArmmand / dsc205-activity-6.ipynb
Last active March 7, 2024 02:47
dsc205-activity-6.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AmilcarArmmand
AmilcarArmmand / gist:4802752d7f9a21afa0534bd81d89bc47
Created September 9, 2020 18:51 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@AmilcarArmmand
AmilcarArmmand / osx-brew-gnu-coreutils-man.sh
Created June 24, 2020 04:10 — forked from quickshiftin/osx-brew-gnu-coreutils-man.sh
Running GNU coreutils via Homebrew on your Mac? Here's a one-liner to get the manpages working!
# Short of learning how to actually configure OSX, here's a hacky way to use
# GNU manpages for programs that are GNU ones, and fallback to OSX manpages otherwise
alias man='_() { echo $1; man -M $(brew --prefix)/opt/coreutils/libexec/gnuman $1 1>/dev/null 2>&1; if [ "$?" -eq 0 ]; then man -M $(brew --prefix)/opt/coreutils/libexec/gnuman $1; else man $1; fi }; _'
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
# core
brew install coreutils
# key commands
brew install binutils
brew install diffutils
brew install ed --default-names
brew install findutils --with-default-names