Skip to content

Instantly share code, notes, and snippets.

@jmatt
Last active February 8, 2017 00:17
Show Gist options
  • Save jmatt/04ac43ca33d80faba0d98fa72201e981 to your computer and use it in GitHub Desktop.
Save jmatt/04ac43ca33d80faba0d98fa72201e981 to your computer and use it in GitHub Desktop.
git-lfs architecture
┌──────────────────────────────────────────────────────────────────────┐
│ git-lfs.lsst.codes │
│ │
│ │ ┌─────────────────┐
│ ┌──────────────────────────┐ │ │ GitHub │
│ │ passenger │ │ └─────────────────┘
│ ┌────▶├──────────────────────────┤ │ ▲
│ │ │ git-lfs-s3-server │ │ │
│ ┌────────────┐ │ └──────────────────────────┘ │ │
│ │ │ │ ▲ │ .-""""-. │
│ │ nginx │◀────┘ │ │ / \ │
│ │ │ │ │ /_ _\ │
│ └────────────┘ ▼ │ // \ / \\ │
│ ▲ │ ┌────────────┐ │ |\__\ /__/| │
│ │ │ │ │ │ \ || / │
│ │ │ │ redis │ │ \ / │
│ │ │ │ │ │ \ __ / git push… │
│ │ │ └────────────┘ │ '.__.' ▲ │
│ │ │ │ │ │
│ │ │ │ │ │
│ │ │ │ │ │
└────────┼────┼────────────────────────────────────────────────────────┘ │ │
│ │ └────┐ │
│ │ │ ▼
│ │ .───────────────────. │ Λ
│ │ ( AWS S3 ) │ ╱ ╲
│ │ `───────────────────' │ ╱ ╲
│ │ ▲ ▼╱ ╲
│ URL │ ╱ ╲
│ │ │ ╱ ╲
│ │ ▼ ╱ git ╲
│ │ ┌───────────────────────────────┐ ┌───────────────▶▕ ▏
SHA256 │ │ │ │ ╲ ╱
│ │ │ │ │ ╲ ╱
│ │ │ │ SHA256 ╲ ╱
│ │ │ │ │ ╲ ╱
│ │ │ │ │ ╲ ╱
│ │ │ │ │ ╲ ╱
│ └────────────▶│ git-lfs client │◀───────────────┘ V
│ │ │
└──────────────────│ │
│ │
│ │
│ │
│ │
└───────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment