Skip to main content

Caching और CDNs

तय कर पाओगे कि क्या और कहाँ cache करना है, सही expiry के साथ cache-aside use कर पाओगे, cached data को काफ़ी fresh रख पाओगे, और static files और media को users के पास वाले CDN से serve कर पाओगे।

Intermediate 2 · RAG builderabout 2 hours5 sections

सीधा जवाब

Cache data की copies किसी तेज़ जगह रखता है ताकि बार-बार आने वाली requests धीमा काम छोड़ सकें। CDN files को users के पास वाले servers पर रखता है। मुश्किल हिस्सा है पुरानी copies को expire करना।

ये क्यों ज़रूरी है

System को तेज़ करने और ज़्यादा traffic संभालने का सबसे सस्ता तरीका caching है, और CDNs की वजह से ही India भर में videos और images जल्दी load होते हैं। Invalidation गलत हो जाए तो users को गलत prices या पुराने results दिखते हैं, इसलिए ये interview का पसंदीदा topic है।

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.

System designIntermediate 2: RAG builderVideo lessonsCachingContent delivery networkCache invalidation

Track

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.