Skip to content

Commit e417324

Browse files
baldassarreFedonnemartin
authored andcommitted
Fix donnemartin#6: Migrate links from exercises/solutions to use internal links (donnemartin#23)
1 parent eaed5dd commit e417324

File tree

8 files changed

+35
-35
lines changed

8 files changed

+35
-35
lines changed

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ Additional topics for interview prep:
4848

4949
The provided [Anki flashcard decks](https://apps.ankiweb.net/) use spaced repetition to help you retain key system design concepts.
5050

51-
* [System design deck](https://github.com/donnemartin/system-design-primer/blob/master/resources/flash_cards/System%20Design.apkg)
52-
* [System design exercises deck](https://github.com/donnemartin/system-design-primer/blob/master/resources/flash_cards/System%20Design%20Exercises.apkg)
53-
* [Object oriented design exercises deck](https://github.com/donnemartin/system-design-primer/blob/master/resources/flash_cards/OO%20Design.apkg)
51+
* [System design deck](resources/flash_cards/System%20Design.apkg)
52+
* [System design exercises deck](resources/flash_cards/System%20Design%20Exercises.apkg)
53+
* [Object oriented design exercises deck](resources/flash_cards/OO%20Design.apkg)
5454

5555
Great for use while on-the-go.
5656

@@ -66,7 +66,7 @@ Feel free to submit pull requests to help:
6666

6767
Content that needs some polishing is placed [under development](#under-development).
6868

69-
Review the [Contributing Guidelines](https://github.com/donnemartin/system-design-primer/blob/master/CONTRIBUTING.md).
69+
Review the [Contributing Guidelines](CONTRIBUTING.md).
7070

7171
## Index of system design topics
7272

@@ -226,10 +226,10 @@ Outline a high level design with all important components.
226226

227227
### Step 3: Design core components
228228

229-
Dive into details for each core component. For example, if you were asked to [design a url shortening service](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md), discuss:
229+
Dive into details for each core component. For example, if you were asked to [design a url shortening service](solutions/system_design/pastebin/README.md), discuss:
230230

231231
* Generating and storing a hash of the full url
232-
* [MD5](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md) and [Base62](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md)
232+
* [MD5](solutions/system_design/pastebin/README.md) and [Base62](solutions/system_design/pastebin/README.md)
233233
* Hash collisions
234234
* SQL or NoSQL
235235
* Database schema
@@ -272,61 +272,61 @@ Check out the following links to get a better idea of what to expect:
272272
273273
| Question | |
274274
|---|---|
275-
| Design Pastebin.com (or Bit.ly) | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md) |
276-
| Design the Twitter timeline (or Facebook feed)<br/>Design Twitter search (or Facebook search) | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/twitter/README.md) |
277-
| Design a web crawler | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/web_crawler/README.md) |
278-
| Design Mint.com | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/mint/README.md) |
279-
| Design the data structures for a social network | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/social_graph/README.md) |
280-
| Design a key-value store for a search engine | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/query_cache/README.md) |
281-
| Design Amazon's sales ranking by category feature | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/sales_rank/README.md) |
282-
| Design a system that scales to millions of users on AWS | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) |
275+
| Design Pastebin.com (or Bit.ly) | [Solution](solutions/system_design/pastebin/README.md) |
276+
| Design the Twitter timeline (or Facebook feed)<br/>Design Twitter search (or Facebook search) | [Solution](solutions/system_design/twitter/README.md) |
277+
| Design a web crawler | [Solution](solutions/system_design/web_crawler/README.md) |
278+
| Design Mint.com | [Solution](solutions/system_design/mint/README.md) |
279+
| Design the data structures for a social network | [Solution](solutions/system_design/social_graph/README.md) |
280+
| Design a key-value store for a search engine | [Solution](solutions/system_design/query_cache/README.md) |
281+
| Design Amazon's sales ranking by category feature | [Solution](solutions/system_design/sales_rank/README.md) |
282+
| Design a system that scales to millions of users on AWS | [Solution](solutions/system_design/scaling_aws/README.md) |
283283
| Add a system design question | [Contribute](#contributing) |
284284

285285
### Design Pastebin.com (or Bit.ly)
286286

287-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md)
287+
[View exercise and solution](solutions/system_design/pastebin/README.md)
288288

289289
![Imgur](http://i.imgur.com/4edXG0T.png)
290290

291291
### Design the Twitter timeline and search (or Facebook feed and search)
292292

293-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/twitter/README.md)
293+
[View exercise and solution](solutions/system_design/twitter/README.md)
294294

295295
![Imgur](http://i.imgur.com/jrUBAF7.png)
296296

297297
### Design a web crawler
298298

299-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/web_crawler/README.md)
299+
[View exercise and solution](solutions/system_design/web_crawler/README.md)
300300

301301
![Imgur](http://i.imgur.com/bWxPtQA.png)
302302

303303
### Design Mint.com
304304

305-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/mint/README.md)
305+
[View exercise and solution](solutions/system_design/mint/README.md)
306306

307307
![Imgur](http://i.imgur.com/V5q57vU.png)
308308

309309
### Design the data structures for a social network
310310

311-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/social_graph/README.md)
311+
[View exercise and solution](solutions/system_design/social_graph/README.md)
312312

313313
![Imgur](http://i.imgur.com/cdCv5g7.png)
314314

315315
### Design a key-value store for a search engine
316316

317-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/query_cache/README.md)
317+
[View exercise and solution](solutions/system_design/query_cache/README.md)
318318

319319
![Imgur](http://i.imgur.com/4j99mhe.png)
320320

321321
### Design Amazon's sales ranking by category feature
322322

323-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/sales_rank/README.md)
323+
[View exercise and solution](solutions/system_design/sales_rank/README.md)
324324

325325
![Imgur](http://i.imgur.com/MzExP06.png)
326326

327327
### Design a system that scales to millions of users on AWS
328328

329-
[View exercise and solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md)
329+
[View exercise and solution](solutions/system_design/scaling_aws/README.md)
330330

331331
![Imgur](http://i.imgur.com/jj3A5N8.png)
332332

@@ -340,12 +340,12 @@ Check out the following links to get a better idea of what to expect:
340340
341341
| Question | |
342342
|---|---|
343-
| Design a hash map | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/hash_table/hash_map.ipynb) |
344-
| Design a least recently used cache | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/lru_cache/lru_cache.ipynb) |
345-
| Design a call center | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/call_center/call_center.ipynb) |
346-
| Design a deck of cards | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/deck_of_cards/deck_of_cards.ipynb) |
347-
| Design a parking lot | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/parking_lot/parking_lot.ipynb) |
348-
| Design a chat server | [Solution](https://github.com/donnemartin/system-design-primer/blob/master/solutions/object_oriented_design/online_chat/online_chat.ipynb) |
343+
| Design a hash map | [Solution](solutions/object_oriented_design/hash_table/hash_map.ipynb) |
344+
| Design a least recently used cache | [Solution](solutions/object_oriented_design/lru_cache/lru_cache.ipynb) |
345+
| Design a call center | [Solution](solutions/object_oriented_design/call_center/call_center.ipynb) |
346+
| Design a deck of cards | [Solution](solutions/object_oriented_design/deck_of_cards/deck_of_cards.ipynb) |
347+
| Design a parking lot | [Solution](solutions/object_oriented_design/parking_lot/parking_lot.ipynb) |
348+
| Design a chat server | [Solution](solutions/object_oriented_design/online_chat/online_chat.ipynb) |
349349
| Design a circular array | [Contribute](#contributing) |
350350
| Add an object-oriented design question | [Contribute](#contributing) |
351351

solutions/system_design/mint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class SpendingByCategory(MRJob):
331331

332332
**Important: Do not simply jump right into the final design from the initial design!**
333333

334-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
334+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
335335

336336
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
337337

solutions/system_design/pastebin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ To delete expired pastes, we could just scan the **SQL Database** for all entrie
239239

240240
**Important: Do not simply jump right into the final design from the initial design!**
241241

242-
State you would do this iteratively: 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
242+
State you would do this iteratively: 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
243243

244244
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
245245

solutions/system_design/query_cache/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Refer to [When to update the cache](https://github.com/donnemartin/system-design
216216

217217
**Important: Do not simply jump right into the final design from the initial design!**
218218

219-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
219+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
220220

221221
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
222222

solutions/system_design/sales_rank/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ For internal communications, we could use [Remote Procedure Calls](https://githu
243243

244244
**Important: Do not simply jump right into the final design from the initial design!**
245245

246-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
246+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
247247

248248
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
249249

solutions/system_design/social_graph/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ For internal communications, we could use [Remote Procedure Calls](https://githu
254254

255255
**Important: Do not simply jump right into the final design from the initial design!**
256256

257-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
257+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
258258

259259
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
260260

solutions/system_design/twitter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ The response would be similar to that of the home timeline, except for tweets ma
226226

227227
**Important: Do not simply jump right into the final design from the initial design!**
228228

229-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
229+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
230230

231231
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
232232

solutions/system_design/web_crawler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ For internal communications, we could use [Remote Procedure Calls](https://githu
260260

261261
**Important: Do not simply jump right into the final design from the initial design!**
262262

263-
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
263+
State you would 1) **Benchmark/Load Test**, 2) **Profile** for bottlenecks 3) address bottlenecks while evaluating alternatives and trade-offs, and 4) repeat. See [Design a system that scales to millions of users on AWS](../scaling_aws/README.md) as a sample on how to iteratively scale the initial design.
264264

265265
It's important to discuss what bottlenecks you might encounter with the initial design and how you might address each of them. For example, what issues are addressed by adding a **Load Balancer** with multiple **Web Servers**? **CDN**? **Master-Slave Replicas**? What are the alternatives and **Trade-Offs** for each?
266266

0 commit comments

Comments
 (0)