Skip to content

Commit

Permalink
Update reci6-databases-storage.md
Browse files Browse the repository at this point in the history
Added images to rec.6 doc
  • Loading branch information
alex-barrios authored Mar 15, 2024
1 parent e941e42 commit cc5b897
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions docs/recitations/reci6-databases-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ title: Recitation 6 - Databases + Storage
- Used for defining, creating, querying, updating, etc. data records
- Relational, NoSQL, Vector

## SQL vs NoSQL
![Screenshot 2024-03-14 at 22 20 07](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/77c18c99-f1d0-4cb3-afda-222987e743eb)


# ACID Properties
Atomicity - either all operations of the transaction are reflected in the database or none are

Expand Down Expand Up @@ -86,6 +90,8 @@ Redis is now a multi-modal database and can be used for a wide variety of functi
- With vector embeddings, you can search images and audio recordings, support retrieval augmented generations (RAG) for LLMs, and much more

Video Link: https://www.youtube.com/watch?v=dN0lsF2cvm4
![Screenshot 2024-03-14 at 22 20 59](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/c1ccb471-5781-4ab6-ad46-dbd8e5486bf5)
![Screenshot 2024-03-14 at 22 21 05](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/a9d13629-c2f9-4c48-a5c5-4c7ee54b60c2)


# Object Storage (S3)
Expand All @@ -95,6 +101,12 @@ Video Link: https://www.youtube.com/watch?v=dN0lsF2cvm4

Object storage like AWS S3 provides 11 nines of data durability (i.e. virtually no data loss or corruption) → 1 billion objects over 100 hundred years without losing anyone

![Screenshot 2024-03-14 at 22 21 36](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/0163b253-ea0c-4913-af19-46b1b117eec5)

![Screenshot 2024-03-14 at 22 21 44](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/787e9792-e0f8-4284-b926-99abd9cdb068)

![Screenshot 2024-03-14 at 22 21 56](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/2a3e98db-489f-48db-879b-989aa3bfe643)


# Browser Storage

Expand All @@ -110,7 +122,4 @@ Object storage like AWS S3 provides 11 nines of data durability (i.e. virtually
- Good for storing things like session IDs and other data that don’t have to be persisted for a long time
- You can set an expiration date/duration for how long you want it to exist and then will be deleted





![Screenshot 2024-03-14 at 22 22 03](https://github.com/CMU-17-356/cmu-17-356.github.io/assets/79665965/ebc0ddf5-cfae-4cee-8d37-f87ce25bb9a8)

0 comments on commit cc5b897

Please sign in to comment.