![Page 1: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/1.jpg)
Lessons Learned Building Distributed Systems At Bitlyby @theSeanOC
![Page 2: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/2.jpg)
shortlinks?
![Page 3: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/3.jpg)
![Page 4: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/4.jpg)
flickr.com/photos/lobo235/75085378
![Page 5: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/5.jpg)
![Page 6: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/6.jpg)
![Page 7: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/7.jpg)
![Page 8: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/8.jpg)
How hard can it be?
230,000,000 redirects20,000,000 shortens
4,000,000 page crawls
400 servers2 data centers
each day we handle
and we do it with
20+ deploys20 engineers
EVERY DAY
![Page 10: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/10.jpg)
Distributed Systems
![Page 11: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/11.jpg)
![Page 12: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/12.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 13: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/13.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 14: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/14.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 15: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/15.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 16: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/16.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 17: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/17.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 18: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/18.jpg)
A distributed system is a software system in which components located on networked computers communicate and coordinate their actions by passing messages. The components interact with each other in order to achieve a common goal. Three significant characteristics of distributed systems are: concurrency of components, lack of a global clock, and independent failure of components.
- Distributed Systems: Concepts and Design via seanoc.co/ds-cite
![Page 19: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/19.jpg)
![Page 20: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/20.jpg)
=
![Page 34: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/34.jpg)
![Page 38: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/38.jpg)
![Page 40: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/40.jpg)
Service Oriented Architecture
![Page 41: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/41.jpg)
http://gph.is/15uC6Rf
![Page 45: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/45.jpg)
flickr.com/photos/75905404@N00/7126146307
![Page 46: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/46.jpg)
flickr.com/photos/miguel77/5541356248
![Page 47: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/47.jpg)
flickr.com/photos/3336/155407777
![Page 48: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/48.jpg)
Async > Syncexcept when it isn’t
![Page 49: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/49.jpg)
flickr.com/photos/beautyredefined/2389559961
![Page 50: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/50.jpg)
flickr.com/photos/dtanist/10651668875
![Page 51: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/51.jpg)
flickr.com/photos/onkel_wart/3601611572
![Page 52: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/52.jpg)
flickr.com/photos/mikemcilveen/5187192661
![Page 53: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/53.jpg)
flickr.com/photos/pauldineen/4049601480
![Page 54: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/54.jpg)
flickr.com/photos/andreasnilsson1976/287956009
![Page 55: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/55.jpg)
flickr.com/photos/a2community/1387603666
![Page 56: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/56.jpg)
![Page 57: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/57.jpg)
![Page 58: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/58.jpg)
Events > Commands
![Page 64: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/64.jpg)
![Page 66: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/66.jpg)
Dealing With Failure
![Page 68: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/68.jpg)
![Page 72: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/72.jpg)
Monitoring
![Page 74: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/74.jpg)
A distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable.
- Leslie Lamport
![Page 75: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/75.jpg)
![Page 77: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/77.jpg)
![Page 78: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/78.jpg)
![Page 79: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/79.jpg)
=
![Page 81: Lessons Learned with Distributed Systems at Bitly](https://reader030.vdocument.in/reader030/viewer/2022032619/55c07e27bb61eb5f708b460c/html5/thumbnails/81.jpg)
Thanks!