Tensorum
YouTubeशिकायला सुरुवात करा
शब्दकोश

सीनियर इंजिनिअर्सची भाषा.

Algorithms, system design, distributed systems आणि AI मधील 59 संज्ञा — प्रत्येक ती शिकवणाऱ्या कोर्सशी जोडलेली.

Back-of-the-envelope EstimationSystem Design

QPS, storage आणि bandwidth साठी झटपट order-of-magnitude गणित, जे boxes काढण्याआधीच डिझाइन्स स्वीकारते किंवा नाकारते.

System Design चा पाया →

BacktrackingDSA

पर्यायांवर depth-first search जो उमेदवार टप्प्याटप्प्याने बांधतो आणि प्रत्येक टप्पा शोधल्यानंतर undo करतो.

Recursion & Backtracking →

Binary Search on AnswerDSA

Array मध्ये शोधण्याऐवजी संभाव्य उत्तरांवर (capacity, speed, days) monotone feasibility check वापरून binary search.

Binary Search →

Cache StampedeSystem Design

अनेक requests एकाच वेळी cache miss करतात (बहुधा expiry नंतर) आणि backing store वर ताण आणतात; locking, request coalescing किंवा आधीच refresh ने उपाय.

Real-time आणि Streaming →

Cache-asideSystem Design

Application आधी cache मधून वाचतो, miss झाल्यास database मधून लोड करतो आणि स्वतःच cache भरतो.

System Design चा पाया →

CAP TheoremDistributed Systems

Network partition दरम्यान distributed system ला consistency आणि availability पैकी एक निवडावे लागते.

Replication आणि Consistency Models →

CDNSystem Design

Content Delivery Network: भौगोलिकदृष्ट्या पसरलेले caches जे static आणि cache करता येणारा content users जवळून पुरवतात.

System Design चा पाया →

Circuit BreakerDistributed Systems

Error ची मर्यादा ओलांडल्यावर fail होणाऱ्या dependency ला बोलावणे थांबवतो, लवकर fail करतो आणि ती सावरेपर्यंत वेळोवेळी तपासतो.

Fault Tolerance आणि Graceful Degradation →

Consistent HashingDistributed Systems

Keys आणि nodes एका ring वर ठेवणे, जेणेकरून node जोडल्यास किंवा काढल्यास फक्त त्याच्या शेजारच्या keys हलतात.

Partitioning आणि Sharding →

Context WindowAI Engineering

एका request मध्ये model जितक्या tokens कडे लक्ष देऊ शकतो त्यांची कमाल संख्या, prompt आणि त्याच्या स्वतःच्या output सह.

LLM चा पाया →

CRDTDistributed Systems

Conflict-free Replicated Data Type: असे structure ज्याचे एकाचवेळचे updates coordination शिवाय नेहमी निश्चितपणे merge होतात.

Replication आणि Consistency Models →

Dead Letter QueueSystem Design

वारंवार processing मध्ये fail होणारे messages गोळा करणारी queue, ज्यामुळे मुख्य प्रवाह न अडवता त्यांची तपासणी करता येते.

System Design चा पाया →

Dijkstra's AlgorithmDSA

Non-negative weights असलेल्या graphs वर single-source shortest paths, priority queue ने सर्वात जवळचा unvisited node विस्तारतो.

Graph →

Double-entry LedgerSystem Design

प्रत्येक transaction accounts मध्ये समान debits आणि credits नोंदवतो, म्हणून balances नेहमी जुळतात — payment systems चा पाया.

पैसा आणि Ledgers →

EmbeddingAI Engineering

मजकूर (किंवा images) चे dense vector रूप, ज्यात अर्थाचे साम्य भौमितिक जवळीक बनते.

Retrieval-Augmented Generation (RAG) →

Eventual ConsistencyDistributed Systems

Writes थांबल्यास सर्व replicas शेवटी एकाच value वर पोहोचतात; दरम्यानचे reads जुने असू शकतात.

Replication आणि Consistency Models →

Exchange ArgumentDSA

Greedy algorithms साठी proof तंत्र: कोणत्याही optimal उपायाची निवड greedy निवडीने बदलल्यास ती कधीच बिघडत नाही हे दाखवणे.

Greedy →

Fan-out on WriteSystem Design

प्रत्येक नवीन post write च्या वेळीच प्रत्येक follower च्या आधीच तयार feed मध्ये टाकणे; reads वेगवान, पण प्रचंड following असलेल्या accounts साठी महाग.

Real-time Fan-out आणि Push →

Fast & Slow PointersDSA

वेगवेगळ्या वेगाने चालणारे दोन pointers — cycles ओळखण्यासाठी (Floyd's algorithm) आणि linked list चा मध्य शोधण्यासाठी वापरले जातात.

Linked List →

Fencing TokenDistributed Systems

Lock किंवा lease सोबत दिला जाणारा सतत वाढणारा क्रमांक, ज्यामुळे lease संपलेल्या holder चे writes storage नाकारू शकते.

Locks आणि Coordination →

Function CallingAI Engineering

घोषित tool साठी model structured arguments देतो, ज्यामुळे applications नैसर्गिक भाषेतून प्रत्यक्ष कृती करू शकतात.

Prompt Engineering आणि Structured Output →

GeohashSystem Design

Latitude/longitude ला अशा string मध्ये encode करणे जिथे सामायिक prefix म्हणजे जवळचे cells — locations index आणि query करण्याचा सोपा मार्ग.

Location आणि Mobility →

HNSWAI Engineering

Hierarchical Navigable Small World graph: वेगवान approximate nearest-neighbour vector search साठी सर्वात सामान्य index.

Storage Engines आणि Indexing →

Idempotency KeyDistributed Systems

Client ने तयार केलेली अद्वितीय key जी request च्या निकालासोबत साठवली जाते, जेणेकरून retries side effects पुन्हा न करता मूळ निकालच परत देतात.

Idempotency आणि Exactly-once →

Kadane's AlgorithmDSA

Linear-time maximum subarray sum: प्रत्येक index वर एकतर मागचा subarray वाढवा किंवा नव्याने सुरुवात करा.

Dynamic Programming →

KV CacheAI Engineering

आधीच process झालेल्या tokens चे attention keys आणि values साठवणे, जेणेकरून generation प्रत्येक टप्प्यावर संपूर्ण prefix पुन्हा मोजत नाही.

LLM Serving, खर्च आणि Performance →

Lamport ClockDistributed Systems

प्रत्येक event ला वाढणारा आणि message मिळाल्यावर merge होणारा logical counter, जो causality शी सुसंगत क्रम देतो.

Time, Clocks आणि Ordering →

LinearizabilityDistributed Systems

सर्वात मजबूत single-object consistency: प्रत्येक operation त्याच्या सुरुवात आणि शेवट यांच्यामधील एका बिंदूवर atomically लागू झाल्यासारखा दिसतो.

Replication आणि Consistency Models →

LLM-as-JudgeAI Engineering

Rubric सह एका model कडून दुसऱ्या model चे outputs मोठ्या प्रमाणावर तपासणे; human labels सोबत calibrate केले जाते.

Evaluation आणि Guardrails →

LSM TreeDistributed Systems

Log-Structured Merge tree: writes memory मध्ये buffer करतो, sorted files flush करतो आणि त्यांना compact करतो — जड write loads साठी अनुकूल.

Storage Engines आणि Indexing →

MCPAI Engineering

Model Context Protocol: सामायिक interface द्वारे AI applications ना tools, resources आणि prompts देण्याचे खुले मानक.

Agents आणि Tool Use →

MemoizationDSA

Recursive call चा निकाल त्याच्या arguments नुसार cache करणे, जेणेकरून overlapping subproblems एकदाच मोजले जातात — top-down dynamic programming.

Dynamic Programming →

Monotonic StackDSA

चढत्या किंवा उतरत्या क्रमाने ठेवलेला stack; प्रत्येक pop एक 'next greater / smaller element' प्रश्न amortised O(1) मध्ये सोडवतो.

Stack & Queue →

Orchestrator–WorkerAI Engineering

Multi-agent पॅटर्न ज्यात lead agent काम विभागतो, उप-कामे workers कडे सोपवतो आणि त्यांचे निकाल एकत्र करतो.

Agentic AI Systems आणि Orchestration →

PACELCDistributed Systems

CAP चा विस्तार: Partition असल्यास Availability किंवा Consistency निवडा; अन्यथा (Else) Latency किंवा Consistency.

Replication आणि Consistency Models →

Prefix SumDSA

एक running total ज्यात prefix[i] पहिल्या i elements ची बेरीज ठेवतो, म्हणून कोणत्याही range ची बेरीज prefix[r] − prefix[l] ने O(1) मध्ये मिळते.

Array →

Prompt InjectionAI Engineering

AI सिस्टिमच्या सूचना बदलण्याचा प्रयत्न करणारा अविश्वसनीय input — tools असलेल्या agents साठी प्रमुख security चिंता.

AI System Design →

QuadtreeSystem Design

2D space ला वारंवार चार भागांत विभागणारे tree, proximity search साठी points च्या घनतेनुसार cell चा आकार बदलते.

Location आणि Mobility →

QuantizationAI Engineering

Model weights कमी bits (8-bit, 4-bit) मध्ये दर्शवणे, थोड्या अचूकतेच्या बदल्यात memory आणि खर्च कमी करण्यासाठी.

LLM Serving, खर्च आणि Performance →

QuorumDistributed Systems

Read किंवा write ला मान्यता द्यावी लागणाऱ्या replicas ची किमान संख्या; W + R > N असल्यास reads ताजा write पाहतात.

Replication आणि Consistency Models →

RaftDistributed Systems

समजायला सोपा consensus algorithm — leader election, log replication आणि safety नियमांनी बनलेला; etcd आणि Consul मध्ये वापरला जातो.

Consensus आणि Leader Election →

RAGAI Engineering

Retrieval-Augmented Generation: query च्या वेळी संबंधित documents शोधून model ला देणे, जेणेकरून उत्तरे आधारित आणि citable राहतात.

Retrieval-Augmented Generation (RAG) →

Re-rankingAI Engineering

Generation आधी सर्वोच्च retrieved passages चा क्रम बदलणारा दुसरा, अधिक अचूक model (बहुधा cross-encoder).

Retrieval-Augmented Generation (RAG) →

ReActAI Engineering

काम पूर्ण होईपर्यंत reasoning steps आणि actions (tool calls) व observations आलटून पालटून चालवणारा agent पॅटर्न.

Agents आणि Tool Use →

SagaDistributed Systems

Local steps मध्ये विभागलेला दीर्घ transaction, पुढचा step fail झाल्यास undo करण्यासाठी प्रत्येक step सोबत compensating action.

Distributed Transactions →

Sliding WindowDSA

एक सलग range जी invariant राखत उजवीकडे वाढते आणि डावीकडे आकुंचित होते, ज्यामुळे subarray उत्तरे linear time मध्ये मिळतात.

Sliding Window →

TemperatureAI Engineering

Next-token distribution धारदार (कमी) किंवा सपाट (जास्त) करणारा sampling parameter — determinism च्या बदल्यात विविधता.

LLM चा पाया →

Time to First Token (TTFT)AI Engineering

Request पासून पहिल्या streamed token पर्यंतची latency — chat interfaces मध्ये users ना सर्वाधिक जाणवणारा आकडा.

LLM Serving, खर्च आणि Performance →

TokenAI Engineering

Language model वाचतो आणि लिहितो ते एकक — tokenizer ने तयार केलेला शब्दाचा तुकडा. खर्च, latency आणि context limits tokens मध्ये मोजल्या जातात.

LLM चा पाया →

Token BucketDistributed Systems

एक rate limiter ज्यात tokens ठरावीक दराने भरतात आणि प्रत्येक request एक खर्च करते, ज्यामुळे bucket size पर्यंत छोटे bursts शक्य होतात.

Rate Limiting आणि Admission Control →

Topological SortDSA

Directed acyclic graph च्या nodes चा असा रेखीय क्रम ज्यात प्रत्येक edge पुढे निर्देश करते; Kahn's BFS किंवा DFS post-order ने मिळतो.

Graph →

Transactional OutboxDistributed Systems

बाहेर जाणारा event state change च्याच transaction मध्ये outbox table मध्ये लिहिणे, मग तो broker कडे विश्वासार्हपणे पाठवणे.

Distributed Transactions →

Two HeapsDSA

Stream च्या खालच्या अर्ध्यासाठी max-heap आणि वरच्या अर्ध्यासाठी min-heap, प्रत्येक insert ला O(log n) मध्ये running median देतात.

Heap →

Two PointersDSA

Sequence मधून फिरणारे दोन indices — एकमेकांकडे किंवा एकाच दिशेने — जेणेकरून nested loop ऐवजी एकच pass पुरेसा होतो.

Array →

Two-phase Commit (2PC)Distributed Systems

Coordinator सर्व participants ना आधी prepare, मग commit करायला सांगतो; nodes मध्ये atomic, पण coordinator fail झाल्यास अडकतो.

Distributed Transactions →

Union-Find (DSU)DSA

Path compression आणि union by rank सह जवळपास स्थिर find आणि union operations असलेले disjoint-set structure.

Graph →

Vector ClockDistributed Systems

प्रत्येक node च्या counters चा vector, जो दोन events causally क्रमाने आहेत की concurrent हे सांगू शकतो.

Time, Clocks आणि Ordering →

WatermarkDistributed Systems

Stream processing मध्ये, वेळ T पेक्षा जुने events अपेक्षित नाहीत असे जाहीर करणारा marker, ज्यामुळे windows बंद होऊन निकाल देतात.

Stream Processing आणि Aggregation →

Write-ahead Log (WAL)System Design

Data pages बदलण्याआधी लिहिलेला append-only log, ज्यामुळे crash नंतर database committed बदल परत मिळवू शकतो.

Storage Engines आणि Indexing →