How Systems Design is Similar to a Cookie Restaurant.

Grandma’s Secret Chocolate Chip Cookie Recipe

But what does it actually mean to “host your algorithm on the internet?”

Basic Systems Design

Figure 1: Basic Systems Design

Scaling the Server

“Why would ever want to scale our server? To handle more requests, of course.”

Vertical Scaling

Horizontal Scaling

Diving into Load Balancing

Figure 2: Simple Load Balancer

Caching

{
"Dave": "1 snickerdoodle",
"Lisa": "4 chocolate chip",
"Michael": "3 oatmeal raisin"
}

Other Design Considerations

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store