Databases: indexes, replication और sharding
किसी workload के लिए SQL और NoSQL में चुनाव करना, indexes से queries तेज़ करना, replicas से reads बढ़ाना, और सही shard key के साथ data को shards में बाँटना सीखो।
Intermediate 3 · Agent builderabout 3 hours5 sections
सीधा जवाब
Indexes lookups तेज़ करते हैं। Replication database की copy बनाता है ताकि reads कई servers में बँट सकें। Sharding तब data को key के हिसाब से अलग-अलग databases में बाँटता है, जब एक server काफ़ी न हो।
ये क्यों ज़रूरी है
Database आम तौर पर system का सबसे मुश्किल हिस्सा होता है जिसे scale करना पड़ता है, और बाद में बदलना सबसे दर्दनाक। Indexes, replicas और sharding आते हों, तो आप growth की planning कर सकते हो और हर design interview के database सवालों के जवाब दे सकते हो।
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
System designIntermediate 3: Agent builderVideo lessonsIndexReplicationSharding