I found it hard to read, so here it is a list (and corrected the hours): horizontal scaling (13:00 - 21:00) load balancing & caching (21:00 - 29:00) shared session state (29:00 - 34:00) RAID (36:00 - 40:00) shared storage tech (42:00) database replication (43:00) load balancing tech (44:00 - 45:00) session affinity (46:00 - 51:00) in-memory caching (59:00 - 1:00:00) data replication - active:passive (1:11:00 - 1:14:00) active:active (1:16:00 - 1:21:00) partitioning (1:21:00 - 1:34:00) data center redundancy (1:33:00 - 1:39:00) security (1:39:00 - 1:44:00)
@dhanadhana94597 жыл бұрын
Shaoin
@valgamesnow7 жыл бұрын
thx a lot
@ganjoy0076 жыл бұрын
you guys like doing that? try reclipped.com for amazing note taking and sharing on videos
@majia87446 жыл бұрын
@@shaoin3295 Thank you very much! This is really helpful
@devonbiere2 жыл бұрын
I'm legitimately terrified that I'll be in a system design interview, they'll ask me a question, and I'll immediately turn and ask, "Axel?"
@devpriya46935 ай бұрын
😂😂
5 ай бұрын
Dude, Axel by now is the interviewer
@nsambataufeeq1748 Жыл бұрын
Its been 7 years for me. I loved it then and still do. The entire course launched my career!
@GoEvenHarder2 жыл бұрын
What I learned with all of this is that, if you have a problem in your system, just add a load balancer, if the problem persist, add more load balancers, if the problem is on the load balancer itself, add a load balancer to the load balancer.
@maheshgnayak57217 ай бұрын
Perfect
@zarbioromulood88545 ай бұрын
if the problen persist, then call Axel!
@mayureshbande55154 ай бұрын
😂
@dreameralways57484 ай бұрын
Call AXL from Guns and Roses! He will solve it with his guitar :P
@shenqiangshou9 ай бұрын
Being a professional in this space with over 20 years of experience, this is a really good talk, covers basically most of the concerns of high performance web system design.
@pietime1231234 ай бұрын
So it is still relevant as learning material in today's time?
@pippopeppe839 ай бұрын
This is a piece of history for the modern internet. He mentioned AWS EC2 like a VPS, 12 years have passed but the internet world has completely changed.
@JordanSullivanadventures Жыл бұрын
This guy has such a great Socratic teaching style! At first I was annoyed by the constant questioning, but then I started participating myself (even though I didn't watch the rest of the course) and had a lot more fun!
@sankothari5 жыл бұрын
I like that he pauses and asks questions whenever he is starting to introduce a new concept, gives listeners a chance to think about it before he gives the solution so that they know why the solution provided makes sense.
@Dakid0153 жыл бұрын
Don't most teachers do this? Either way, David Malan is a world class teacher and computer scientist overall
@sankothari3 жыл бұрын
@@Dakid015 True. But he seems genuinely interested in listening what others have to say, and understanding their thought process, which is a great skill in a teacher.
@misscool43974 жыл бұрын
I just love David Malan’s teaching style. He’s soooo my favorite professor for CS! How does he make complex topics so easy to understand? Amazing!
This is a really good lecture. 14 minutes in this lecture and I must say the professor knows how to put together the stuff he's teaching. And Axel is everywhere xD
@skyinthepond Жыл бұрын
Axel is homie
@gameacc6079 Жыл бұрын
Axel sold out and is now working at citadel
@pranaysingh39388 жыл бұрын
Plot Twist : Axel, Jack and Isaac are the only kids in class.
@JH00ker8 жыл бұрын
17:07 Louis got one!
@yankuanzhang45737 жыл бұрын
and Ben!
@MezzoEnzis7 жыл бұрын
LOL!!!
@PROJECT17MILE7 жыл бұрын
So funny
@tusharniras7 жыл бұрын
ha ha ha
@aabidmajid49299 ай бұрын
Where is Axel today in 2024?
@PositivePulse-oy1ts4 ай бұрын
Wow! glad to know people ask about me. really learnt a lot in that lecture Prof. Malan is great
@klc_tkm212926 күн бұрын
@@PositivePulse-oy1ts Haha thats awesome. What do you do these days?
@vetiarvind3 жыл бұрын
Nice, never imagined a CS lecture would come close to hitting a million views. I'm a 10 year+ experienced engineer and i've literally practically used all the stuff he's talking about on production but sometimes it's just good to hear some theory.
@dhrubajyoti37744 ай бұрын
I used to watch david malan cs50 course back in 2021 when i was in 2nd semester of CS. degree. Now for system design in 2024 :)
Detailed Summary for [CS75 (Summer 2012) Lecture 9 Scalability Harvard Web Development David Malan by Merlin [00:08] Scalability and Web Hosting - Explaining different options to deploy applications and handle traffic online, including shared web hosting and virtual private servers (VPS). - Outlining vertical scaling and horizontal scaling as ways to increase resources and handle traffic spikes, and discussing the advantages of Amazon Web Services (AWS) for automating scaling. [07:52] Horizontal scaling means using cheaper, slower machines instead of expensive, high-end ones to stay below the ceiling of what is possible - Multiple slower, cheaper machines replaced by one high-end, expensive machine for building out the topology - Using SAS, SSDs and parallel ATA for speeding up data read/write times on databases [22:24] DNS round robin can lead to uneven server load - Caching can contribute to disproportionate load on certain servers - Sophisticated load balancing approaches can mitigate this issue [30:13] Storing sessions using RAID technology can increase site performance and provide redundancy - RAID technology can be used to store session data on a file server - RAID 0 can improve performance by striping data across multiple identical hard drives, while RAID 1 mirrors data for redundancy [43:51] Load balancers can be expensive, but there are software alternatives. - Software like Haproxy can be used for load balancing. - Cookies can also be used for maintaining sticky sessions, without compromising on privacy. [50:41] Using file based caching on static content may improve performance, but sacrifices space due to redundancy - File based caching means less regeneration of content - Redundancy in basic HTML tags can lead to increased disk space usage [01:04] Using a memory engine can help implement a cache efficiently - Memory engine tables are stored in RAM and can be used to write keys and values to implement a simple cache - Archive engine tables are slower to query but get compressed automatically, making it useful for storing log files [1:11:32] Having multiple slave databases serves as a redundancy for data loss - Databases attached to a master allow for a copy of every row that's in the master database, which can be further utilized as a redundancy if one database dies - Master-master setup is another redundancy solution to keep multiple databases in sync [1:25:37] Load balancer can ensure sticky sessions with cookie-based routing - Adding a load balancer to route traffic and store session cookies can ensure sticky sessions - Multiple master databases and cross-connecting them with load balancers adds redundancy but also complexity [1:33:13 Having multiple data centers and load balancing can improve uptime and reduce failure possibilities. - Avoid creating loops in network redundancy with two switches per server/ device. - Distribute load across different data centers and use global load balancing for higher uptime.
@aoi97167 жыл бұрын
It is the most popular tutorial video for system design and recommended almost everywhere. Thank Professor David Malan and the uploader.
@sagarkangutkar7348 жыл бұрын
In this class, Axel is the anti-Jon Snow. He knows everything!
@zhuzhong747 жыл бұрын
You know everything, Axel.
@xindili61673 жыл бұрын
U
@rafaelvaliev84345 жыл бұрын
Good lecture. I like this style of teaching when you go deeper and deeper based on simple questions.
@shadoninja5 жыл бұрын
This is one of the most informative and well-presented CS lectures I have ever seen
@ezeibesandra58783 жыл бұрын
So much wisdom in one man. This is a real teacher. I want him to be my masters lecturer. He is so good.
@AbhishekRaj1742 жыл бұрын
you mean Axle, right?
@natb0072 жыл бұрын
@@AbhishekRaj174 :D
@Himanshusharma-rl5nx3 ай бұрын
best teacher of CS, and best student of CS , both in same class!
@wojciechgrajewski24292 жыл бұрын
Regarding the approach discussed around 45-50mins in (cookies determining to which backend server a LB should route a request). He presents it as the perfect solution, but he ignores the problem he stated earlier when discussing other approaches. If you have a power user that creates heavy requests and they all go to the same server (as determined by the cookie), the load won't be balanced too well. Also, it ignores the fact that load on backend servers may change in time (if a given server was underutilized at the time of creation of the cookie, it doesn't mean the load will stay this way for the whole lifetime of the cookie). Great and engaging lecture overall! Kept me focused and answering his followup questions in my head :)
@eselwalker Жыл бұрын
Thank you for the lecture 10 years later it's still very good And that cache server on axel is running smooth
@swatijagdale38532 жыл бұрын
Great lecture. How I Wish I studied CS from professors like him.
@MrJohnMclane11 ай бұрын
Amazing lecture! Great professor and engaged students. Thanks for sharing this.. still relevant in 2024
@josephavila35392 жыл бұрын
Love this content and professor, it reminds me of my favorite professor in my undergrad for computer architecture. What made him so great was a superb delivery on a communication level, with a tremendous talent for speaking and annunciating. He knew his material inside and out and He also knew how to draw the class in by making the class think extremwly hard as a whole by presenting new challenging problems and invited conversations. Bravo and well done. These profs are gems.
@wagnermoreira786 Жыл бұрын
thank you so much for putting this out online, it's been amazingly useful, totally relevant in 2023
@truevelvett Жыл бұрын
As a tenured engineer, this was really good to listen to (even if I knew most of it from experience). It also made me a bit jealous of the quality of education at Harvard.
@shijunwei7289 жыл бұрын
Axel is unstoppable!!
@herohema520 күн бұрын
I love this conversation format. Really keeps your attention.
@jjz33977 жыл бұрын
is Axel teaching assistant making sure theres is no awkward silence?
@nepatriots113 жыл бұрын
🤣
@charanreddy08 Жыл бұрын
And it helps us to concentrate also
@cyrusvhadsupper8 жыл бұрын
Axel is wasting his money on this course
@yingwang75888 жыл бұрын
:D
@jiakanwang74718 жыл бұрын
I was curious about this guy. Searched around and apparently he quit Harvard after this class and founded a company called Newsle, which got acquired by LinkedIn pretty soon. Very impressive...
@bigray7128 жыл бұрын
nice find. thanks
@arkrou7 жыл бұрын
all the questions were too easy and no one else was bothering to engage
@shaishavsaraswat37916 жыл бұрын
It says he studied at harvard until April 2011 but, this course is from 2012. This maybe a different Axel
@marriagedance86575 жыл бұрын
Nobody: Literally Nobody: David: Axel?
@abhimanyushekhawat26264 жыл бұрын
I wish I could attend his live class someday. An amazing way to build up an understanding of System Design.
@halahmilksheikh10 жыл бұрын
Axel is a beast
@liliguo73138 жыл бұрын
I don't think axel needs to take this course. He seems know everything
@abhiagarwal2812955 жыл бұрын
anti John-Snow doesnt mean he knows everything, it means he knows atleast something. Simple negation :P
@dino_source3 күн бұрын
David is awesome teacher. I wish I had teachers like David back then when I studied all the stuff. But for such a great content would be also super cool to have at least 720p or even 1080p video quality, rather than 360p - which is really very poor nowadays (December 2024).
@baizuofu9 жыл бұрын
Best teacher ever!
@adityap83873 жыл бұрын
@@gustavogianotti4128 No. Malan
@GaurangPatel110 жыл бұрын
Wow, that was extremely clear, especially the wrap-up example he did at the end!
@nikhilgeorgemathew Жыл бұрын
very nice. I don't usually watch 1 hour+ videos on a single go, but this had me glued. Great lecture.
@ninaddesai7294 Жыл бұрын
one of the best lectures I have ever attended to learn cs things
@papisway22114 жыл бұрын
This is the best lecture to learn System Design. My life has changed!
@ankitsmit195 жыл бұрын
Meanwhile, the other students started playing a game where they drink shots every time the professor says 'Axel'. Thank you @David Malan for a great lecture.
@SreekantShenoy2 жыл бұрын
9 years later, still relevant to full extent.
@meketrefe8 жыл бұрын
That was an amazing class! Thank you very much, @David Malan!
@VinBhaskara_11 жыл бұрын
You Rock Archn. I am completely impressed by your dedication to help the world for ensuring quality education. Love you sir!!! Great great job!!
@piyush_ramnani7 жыл бұрын
What if this is just a student presenting a project and Axel is the real teacher ?
@gsb224 жыл бұрын
😂😂😂
@adityap83873 жыл бұрын
David is THE INSTRUCTOR.
@tarunsinha13 жыл бұрын
*Axel
@nepatriots113 жыл бұрын
🤣🤣🤣
@tusharniras7 жыл бұрын
this is ultimate... I watched an entire thing.. It's a good class to attend after CS50
@Pranav25799 жыл бұрын
I think Axel flunked the course and is retaking it !! :P
@shikharsharma026 жыл бұрын
lol
@clarkyin38564 жыл бұрын
@mark that's why he knows. he goes back to crush it again.
@praveshgupta19932 жыл бұрын
It was recommended over a website, and this lecture is very informative and refreshes many jargons and provides some more insights as well. Very much recommended and thanks for this lecture Professor.
@dharini096 жыл бұрын
There should be an Axel meme. Every time someone has a question, they ask Axel.
@TechVenturer Жыл бұрын
I wish my prof was as good as him. Enjoying his lecture even after 10 years of upload.
@najibla4 жыл бұрын
This lecture can never get old!
@henz1032 жыл бұрын
I wish my university and professors was this good. Thanks Harvard and David Malan
@gamgammerz4 жыл бұрын
@1:30:00 diagram is not equivalent to previous one because if Alice is sent to server 1, her data is now on both db servers due to master-master replication. So cross-connect is only needed if a db server fails, to ensure the other db server is used.
@gurdoman5 жыл бұрын
Great class, way better than any class I had in my college
@mridulareddy6961 Жыл бұрын
It is one of the most resourceful resource for system design
@najafmohammed46854 жыл бұрын
I picture Axel just sitting there holding his hand up the entire lecture
@shubhamchandra92582 жыл бұрын
This Axl guy had nearly all the answers, definitely smart enough to get into Harvard.
@ReadableWig99 жыл бұрын
Didn't know Moriarty teaches at Harvard
@Chris-hn2mc9 жыл бұрын
+Ramón López LOL
@ZhuYang8 жыл бұрын
+Ramón López Sherlock is Axel, in fact.
@catmaomao98597 жыл бұрын
LOL I was thinking the same thing!
@bharathipriyaathangamani48948 жыл бұрын
Axel is now an engineering manager at LinkedIn. How old is this video???!!!
@saurabheights8 жыл бұрын
2012, it's in title.
@GomzG6 жыл бұрын
Loved listening to the class, much more awake to this than any of my classes.
@jchenmason Жыл бұрын
Axle here really answering majority of the questions
@ajkpalikuqi861010 жыл бұрын
Great lecturer! Everything is very clear
@PiyushRaj-nk2xl3 жыл бұрын
All Computer Science Lectures begins with lot of curiousity and enthusiasm but always and I mean always ends with Buildings Burning Down(1:34:30)
@shravyaramesh31536 ай бұрын
Top notch content! Thank you so much for uploading this 🍀
@heidinewton63039 жыл бұрын
Great lecturer! I learnt a lot from this video :-)
@Cheagong4 жыл бұрын
Thanks for this lecture, Axel.
@zanda14311 жыл бұрын
David Malan great lecturer . I was already knowledgeable now I know more. ++
@badbaboye4 ай бұрын
great video from the archive. long live the internet.
@pavithren4 жыл бұрын
The most engaging lecture I've watched in recent times!
@beibit-ds2 жыл бұрын
amazing storyline, progressively building it up from scratch
@GeorgeSchott11 жыл бұрын
I'll upload them today. Thanks for letting me know!
@meow46195 жыл бұрын
anybody knows where is Axel now? in 2019?
@YashArora7215 жыл бұрын
He is the co founder at Newsle :P
@vimalma10935 жыл бұрын
Axel Hansen.. He founded Newsle which got acquired by Linkedin. He is Eng Manager @ Linkedin now
@apaarbhatnagar20834 жыл бұрын
Axel that founded Newsle is a different guy from this video one because that company was founded in 2010, whereas this video is from 2012(in the header).
@aryansaxenafanclub31844 жыл бұрын
@@apaarbhatnagar2083 He is the same guy bro.
@ahmadullahalnoor93646 жыл бұрын
Axel did Axellent
@mehdihachimi96244 жыл бұрын
nice !
@adityap83873 жыл бұрын
lol
@danielearwicker6 жыл бұрын
Need to give Axel a microphone next time I think.
@GuitarreroDaniel4 жыл бұрын
Great lecture, thanks for uploading it! It's incredible that even at 2013 he didn't mention JavaScript at all!
@adityap83873 жыл бұрын
Do you think NodeJS is mature enough for Backend? Or Perhaps C# is.
@GuitarreroDaniel3 жыл бұрын
@@adityap8387 Yes, node is being used in the backend by many big companies like Netflix and PayPal. However, the most critical backend tasks are still done in Java.
@RandomShowerThoughts2 жыл бұрын
@@adityap8387 yup, definitely mature enough
@rakeshswarankar6 жыл бұрын
I was looking for a video which explain me end to end solution. I really appreciate for giving the lecture and uploading the video.
@Paperwhite786 Жыл бұрын
Just wow! Very informative and useful. Thank you for making this available to us.
@guruvigneshnagaraj8501 Жыл бұрын
Holy moly! What a prof! Brillant explanations!
@RandomShowerThoughts2 жыл бұрын
this is a fantastic lecture, great for prepping for interviews and what not
@kSergio471 Жыл бұрын
There seems to be a mistake at 1:29:54 since master-master replication leads to the same data on both dbs and, consequently, that a user would find their info no matter what web-server they connect to.
@carlosrodriguez31045 ай бұрын
Born to late for the comp si boom. Born to soon to avoid the comp si recession. Currently I’m a junior at a company but the economy sucks right now. I’m studying system design topics to keep up my knowledge.
@looppp8 жыл бұрын
Such a good lecture, but the only complaint is the voices of the students are SO low!! I can't hear them.
@santhoshdevaraj86978 жыл бұрын
Did you atleast hear axel ????
@looppp8 жыл бұрын
YES I HEARD AXEL LOUD AND CLEAR
@sorathankritveeranant26045 ай бұрын
I still have a question on a person who potentially put a lot of load into a single server. At first, we were afraid of someone might send a lot of much-load requests to single server, so we introduced load balancer. However, once we use the cookie to resolve which server store that user's session, we still keep on sending much-load requests to that single server. In real world, there shouldn't be this kind of user that can bring the whole server down like this. I just kinda have this point in my mind that when did we forget this problem.
@mallika22593 жыл бұрын
1:30:00 " ... Functionally this is equivalent" - not really, since the horizontal connection between db1 and db2 presumably represents bidirectional replication.
@charisginn34633 жыл бұрын
I usually listen to these videos on 1.5 or 2x, but I legitimately considered putting it on .75x lol
@amogetda3 жыл бұрын
The teacher is excellent, this needs to be noted
@aaabbb93082 жыл бұрын
What's the issue at 1:29:53? Wouldn't Master-Master replicate the data so data in db1 is same as in db2?
@SushilKumar-wt7js4 жыл бұрын
this man is great, how interactive he is.
@madhavmishra2453Ай бұрын
Prof’s session has remarkable stickiness to Axel node,
@ranga4004 жыл бұрын
Excellent lecture Sir. It was a pleasure listening to you and the topic.
@jatindangerous2 жыл бұрын
Axel is clearly the favorite student!
3 жыл бұрын
Am I the only one coming back to this before each System Design interview?
@gb3nga5 ай бұрын
Ive never been so proud of myself, answering these questions in my head only to hear them later answer it.😂🎉