Inventory, reservations & queues
21 प्रश्न
Auction (eBay)
एक eBay-शैली का auction सिस्टम डिज़ाइन करें — bidders live listings पर होड़ लगाते हैं और closing के समय भारी contention रहती है, तथा सिस्टम को कभी किसी हारती bid को winner नहीं मानना चाहिए, न ही किसी...
प्रीव्यूCollaborative Shopping
एक ऐसा collaborative shopping अनुभव design करें जहाँ कई लोग real time में एक ही cart साझा करते हैं, एक साथ items जोड़ते और हटाते हैं, और एक नामित participant पूरे group की ओर से checkout करता है।
प्रीव्यूDonation Platform
GoFundMe जैसा एक donation platform डिज़ाइन करें — कोई campaign रातोंरात viral हो सकता है और छोटे-छोटे दान का भारी spike आ सकता है, और हर एक डॉलर capture होना चाहिए, refundable होना चाहिए, और एक सटीक...
प्रीव्यूFlash Sale
एक flash sale सिस्टम डिज़ाइन करें जहाँ किसी hot item की सीमित मात्रा एक निश्चित क्षण पर बिक्री के लिए आती है और कुछ ही सेकंड में 1000x traffic spike झेलती है — inventory कभी oversell नहीं होनी चाहिए,...
प्रीव्यूFlight Booking System
एक flight booking system डिज़ाइन करें जो travelers को कई airlines के आर-पार multi-leg itineraries search और book करने दे — हर fare-class का seat inventory reserve करते हुए और tickets issue करते हुए,...
प्रीव्यूHotel Reservation (Booking.com)
Booking.com design करें — एक hotel marketplace जो हज़ारों स्वतंत्र supplier hotels से live availability और pricing aggregate करता है, जहाँ search results तेज़ रहने चाहिए भले ही underlying inventory न...
प्रीव्यूहोटल आरक्षण सिस्टम
एक single-chain होटल के लिए reservation engine डिज़ाइन करें — यात्री कई properties में date-range availability खोजते हैं, एक hold लगाते हैं, और booking confirm करते हैं, और किसी भी room type पर chain...
प्रीव्यूJob Scheduler
एक distributed job scheduler (cron-as-a-service system) डिज़ाइन करें जो tenants को recurring और one-off jobs register करने देता है, गारंटी देता है कि हर job अपने scheduled समय के करीब fire हो, और...
प्रीव्यूModeration Service
एक content moderation pipeline डिज़ाइन करें जो user के भेजे posts/media को policy उल्लंघनों के लिए screen करती है, platform scale पर posting latency और review accuracy के बीच संतुलन बनाते हुए।
प्रीव्यूRestaurant Reservation
एक OpenTable जैसा restaurant reservation system डिज़ाइन करें जहाँ diners किसी restaurant में एक time slot और party size बुक करते हैं, restaurants table assignment को optimize करते हैं, और no-shows को...
प्रीव्यूSpend Management System
Brex या Ramp जैसा एक corporate spend management platform design करें — हर card swipe को दो सेकंड के अंदर एक live policy engine के खिलाफ authorize या decline होना चाहिए, और हर transaction accounting...
प्रीव्यूTicketmaster (General Admission)
general admission वाले events के लिए Ticketmaster design करें — कोई seat map नहीं है, हर ticket tier के लिए बस एक fixed capacity count है, और system को उस भीषण flash-sale contention में सही-सही...
प्रीव्यूटिकटिंग सिस्टम
टिकटिंग सिस्टम डिज़ाइन करें। इसमें Seat inventory model and seat-map representation for a venue/event, including seat status transitions, Reservation hold with TTL: reserve then confirm two-phase...
मुफ़्त गाइडवेब क्रॉलर
वेब क्रॉलर डिज़ाइन करें। इसमें URL frontier design: priority queues for scheduling and re-crawl ordering, Politeness: robots.txt compliance and per-domain rate limiting to avoid hammering one host,...
मुफ़्त गाइडWebhook
एक webhook delivery platform (Stripe-webhooks जैसा) डिज़ाइन करें जो retry, ordering और security की बाधाओं के तहत हज़ारों third-party consumer endpoints तक event notifications विश्वसनीय रूप से पहुँचाए।
प्रीव्यूवीडियो प्लेटफॉर्म
वीडियो प्लेटफॉर्म का upload और processing pipeline डिज़ाइन करें — user-generated videos की भारी मात्रा में uploads स्वीकार करें और उन्हें एक playable, multi-resolution catalog में बदलें।
प्रीव्यूLLM inference gateway
एक LLM inference gateway design कीजिए जो internal product teams और कई model providers/backends के बीच बैठता है, और company scale पर routing, streaming, quotas तथा safety controls संभालता है।
मुफ़्त गाइडML Feature Store
Uber जैसी किसी company के लिए एक ML feature store डिज़ाइन करें जो एक ही features को offline model training और low-latency online inference दोनों को serve करे। offline/online store के split,...
प्रीव्यूLLM Evaluation Platform
LLM features ship करने वाले किसी organization के लिए evaluation platform design कीजिए: एक versioned golden set संभालिए (production traffic का stratified sample, एक adversarial library, हाथ से बनाए गए...
प्रीव्यूDistributed Message Queue
एक Kafka-शैली का durable, partitioned log broker डिज़ाइन करें जो high-throughput event streams को ingest करे। parallelism के लिए partitioning, in-sync replicas वाली replication, consumer groups और...
प्रीव्यूOnline Judge
बड़े पैमाने पर untrusted user code को सुरक्षित रूप से चलाने वाला एक LeetCode-style online judge डिज़ाइन करें। इसमें submission queue, isolated multi-language runners (containers/gVisor/Firecracker),...
प्रीव्यू