notexOPENOverview
Notex/Systems/Data model
08.09LESSON 09 OF 13 · 1 MIN READ

Data model

Always free to read
SECTION VIDEOData model

Video coming soon. Start with the reading below.

COMING SOON

In the high-level design, everything is stored in a hash table. This is a good starting point; however, this approach is not feasible for real-world systems as memory resources are limited and expensive. A better option is to store <shortURL, longURL> mapping in a relational database. Figure 8-4 shows a simple database table design. The simplified version of the table contains 3 columns: id, shortURL, longURL.

Design a URL shortener — original diagram 101
Progress is saved on this device.
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K