Tensorum
YouTubeশেখা শুরু করুন
শব্দকোষ

সিনিয়র ইঞ্জিনিয়ারদের ভাষা।

Algorithms, system design, distributed systems আর AI-এর 59টি শব্দ — প্রতিটি যুক্ত সেই কোর্সের সঙ্গে যা সেটি শেখায়।

Back-of-the-envelope EstimationSystem Design

QPS, storage আর bandwidth-এর দ্রুত order-of-magnitude হিসাব যা box আঁকার আগেই ডিজাইন রাখে বা বাদ দেয়।

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

অনেক request একসঙ্গে 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: ভৌগোলিকভাবে ছড়ানো cache যা static আর cache-যোগ্য content user-এর কাছ থেকে পরিবেশন করে।

System Design-এর ভিত্তি →

Circuit BreakerDistributed Systems

Error-এর সীমা পেরোলে failing dependency-কে ডাকা বন্ধ করে, দ্রুত fail করে আর সেরে ওঠা পর্যন্ত মাঝে মাঝে যাচাই করে।

Fault Tolerance ও Graceful Degradation →

Consistent HashingDistributed Systems

Key আর node-কে একটি ring-এ রাখা যাতে node যোগ বা বাদ দিলে শুধু তার পাশের key-গুলো সরে।

Partitioning ও Sharding →

Context WindowAI Engineering

একটি request-এ model সর্বোচ্চ যত token-এ মনোযোগ দিতে পারে, prompt আর তার নিজের output সহ।

LLM-এর ভিত্তি →

CRDTDistributed Systems

Conflict-free Replicated Data Type: এমন structure যার একসঙ্গে হওয়া update coordination ছাড়াই সবসময় নির্ধারিতভাবে merge হয়।

Replication ও Consistency Models →

Dead Letter QueueSystem Design

একটি queue যা বারবার processing-এ fail হওয়া message জমায়, যাতে মূল প্রবাহ না আটকে সেগুলো পরীক্ষা করা যায়।

System Design-এর ভিত্তি →

Dijkstra's AlgorithmDSA

Non-negative weight-এর graph-এ single-source shortest path, priority queue দিয়ে সবচেয়ে কাছের unvisited node-কে প্রসারিত করে।

Graph →

Double-entry LedgerSystem Design

প্রতিটি transaction account-গুলোতে সমান debit আর credit লেখে, তাই balance সবসময় মেলে — payment system-এর ভিত্তি।

টাকা ও Ledgers →

EmbeddingAI Engineering

লেখা (বা ছবি)-র dense vector রূপ, যেখানে অর্থের মিল জ্যামিতিক নৈকট্যে পরিণত হয়।

Retrieval-Augmented Generation (RAG) →

Eventual ConsistencyDistributed Systems

Write থেমে গেলে সব replica শেষমেশ একই value-তে পৌঁছায়; মাঝের সময়ে read পুরোনো হতে পারে।

Replication ও Consistency Models →

Exchange ArgumentDSA

Greedy algorithm-এর প্রমাণের কৌশল: দেখান যে কোনো optimal সমাধানের বিকল্পকে greedy বিকল্পে বদলালে তা কখনও খারাপ হয় না।

Greedy →

Fan-out on WriteSystem Design

প্রতিটি নতুন post write-এর সময়েই প্রতিটি follower-এর আগে থেকে তৈরি feed-এ ঢোকানো; দ্রুত read, কিন্তু বিশাল following-ওয়ালা account-এ ব্যয়বহুল।

Real-time Fan-out ও Push →

Fast & Slow PointersDSA

ভিন্ন গতিতে চলা দুটি pointer — cycle ধরতে (Floyd's algorithm) আর linked list-এর মাঝখান খুঁজতে কাজে লাগে।

Linked List →

Fencing TokenDistributed Systems

Lock বা lease-এর সঙ্গে দেওয়া ক্রমবর্ধমান সংখ্যা, যাতে storage মেয়াদোত্তীর্ণ lease-ধারীর write প্রত্যাখ্যান করতে পারে।

Locks ও Coordination →

Function CallingAI Engineering

Model ঘোষিত tool-এর জন্য structured argument দেয়, ফলে application স্বাভাবিক ভাষা থেকে আসল কাজ করতে পারে।

Prompt Engineering ও Structured Output →

GeohashSystem Design

Latitude/longitude-কে এমন string-এ রূপান্তর যেখানে সাধারণ prefix মানে কাছাকাছি cell — location 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-এর ফলের সঙ্গে রাখা হয়, যাতে retry side effect না দোহরে মূল ফলই ফেরত দেয়।

Idempotency ও Exactly-once →

Kadane's AlgorithmDSA

Linear-time maximum subarray sum: প্রতিটি index-এ হয় আগের subarray বাড়ান নয়তো নতুন করে শুরু করুন।

Dynamic Programming →

KV CacheAI Engineering

আগে process হওয়া token-দের attention key আর value-র সঞ্চয়, যাতে 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-এর output বড় মাপে মূল্যায়ন; human label-এর সঙ্গে calibrate করা হয়।

Evaluation ও Guardrails →

LSM TreeDistributed Systems

Log-Structured Merge tree: write memory-তে buffer করে, sorted file flush করে আর compact করে — ভারী write load-এর জন্য উপযোগী।

Storage Engines ও Indexing →

MCPAI Engineering

Model Context Protocol: AI application-কে একটি সাধারণ interface দিয়ে tools, resources আর prompts দেওয়ার মুক্ত মানদণ্ড।

Agents ও Tool Use →

MemoizationDSA

Recursive call-এর ফল তার argument অনুযায়ী cache করা যাতে overlapping subproblem একবারই হিসাব হয় — 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 কাজ ভাঙে, উপ-কাজ worker-দের দেয় আর তাদের ফল একত্র করে।

Agentic AI Systems ও Orchestration →

PACELCDistributed Systems

CAP-এর সম্প্রসারণ: Partition হলে Availability বা Consistency বাছুন; নইলে (Else) Latency বা Consistency।

Replication ও Consistency Models →

Prefix SumDSA

একটি running total যেখানে prefix[i] প্রথম i-টি element-এর যোগফল রাখে, তাই যেকোনো range-এর যোগফল prefix[r] − prefix[l], O(1)-এ।

Array →

Prompt InjectionAI Engineering

অবিশ্বস্ত input যা AI সিস্টেমের নির্দেশ বদলাতে চায় — tool-ওয়ালা agent-এর প্রধান security উদ্বেগ।

AI System Design →

QuadtreeSystem Design

একটি tree যা 2D space-কে বারবার চার ভাগে ভাগ করে, proximity search-এর জন্য point-এর ঘনত্ব অনুযায়ী cell-এর আকার বদলায়।

Location ও Mobility →

QuantizationAI Engineering

Model weight-কে কম bit-এ (8-bit, 4-bit) রাখা যাতে সামান্য নির্ভুলতার বদলে memory আর খরচ কমে।

LLM Serving, খরচ ও Performance →

QuorumDistributed Systems

Read বা write স্বীকার করতে হবে এমন replica-র ন্যূনতম সংখ্যা; W + R > N হলে read সর্বশেষ write দেখে।

Replication ও Consistency Models →

RaftDistributed Systems

সহজবোধ্য consensus algorithm, leader election, log replication আর safety নিয়ম দিয়ে গড়া; etcd আর Consul-এ ব্যবহৃত।

Consensus ও Leader Election →

RAGAI Engineering

Retrieval-Augmented Generation: query-র সময় প্রাসঙ্গিক document খুঁজে model-কে দেওয়া যাতে উত্তর ভিত্তিসম্পন্ন আর citable হয়।

Retrieval-Augmented Generation (RAG) →

Re-rankingAI Engineering

দ্বিতীয়, আরও নির্ভুল model (প্রায়ই cross-encoder) যা generation-এর আগে শীর্ষ retrieved passage-এর ক্রম বদলায়।

Retrieval-Augmented Generation (RAG) →

ReActAI Engineering

একটি agent প্যাটার্ন যা কাজ শেষ না হওয়া পর্যন্ত reasoning step-কে action (tool call) আর observation-এর সঙ্গে পালাক্রমে চালায়।

Agents ও Tool Use →

SagaDistributed Systems

দীর্ঘ transaction যা local step-এ ভাগ, প্রতিটির সঙ্গে একটি compensating action যা পরের step fail করলে তা undo করে।

Distributed Transactions →

Sliding WindowDSA

একটি টানা range যা invariant বজায় রেখে ডানে বাড়ে আর বাঁয়ে ছোট হয়, ফলে subarray-র উত্তর linear time-এ মেলে।

Sliding Window →

TemperatureAI Engineering

একটি sampling parameter যা next-token distribution-কে তীক্ষ্ণ (কম) বা সমতল (বেশি) করে — determinism-এর বদলে বৈচিত্র্য।

LLM-এর ভিত্তি →

Time to First Token (TTFT)AI Engineering

Request থেকে প্রথম streamed token পর্যন্ত latency — chat interface-এ user সবচেয়ে বেশি অনুভব করে এই সংখ্যাটি।

LLM Serving, খরচ ও Performance →

TokenAI Engineering

যে একক language model পড়ে আর লেখে — tokenizer-এর তৈরি শব্দের টুকরো। খরচ, latency আর context limit token-এ গোনা হয়।

LLM-এর ভিত্তি →

Token BucketDistributed Systems

একটি rate limiter যেখানে token নির্দিষ্ট হারে ভরে আর প্রতিটি request একটি খরচ করে, ফলে bucket size পর্যন্ত ছোট burst সম্ভব।

Rate Limiting ও Admission Control →

Topological SortDSA

Directed acyclic graph-এর node-দের এমন রৈখিক ক্রম যেখানে প্রতিটি 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

দুটি index যা একটি sequence-এর মধ্য দিয়ে চলে — একে অপরের দিকে বা একই দিকে — যাতে nested loop-এর বদলে একটি pass যথেষ্ট হয়।

Array →

Two-phase Commit (2PC)Distributed Systems

Coordinator সব participant-কে আগে prepare, তারপর commit করতে বলে; node-দের পার atomic, কিন্তু coordinator fail করলে আটকে যায়।

Distributed Transactions →

Union-Find (DSU)DSA

Path compression আর union by rank সহ প্রায়-ধ্রুব find ও union operation-ওয়ালা disjoint-set structure।

Graph →

Vector ClockDistributed Systems

প্রতিটি node-এর counter-এর vector যা বলতে পারে দুটি event causally ক্রমিক নাকি concurrent।

Time, Clocks ও Ordering →

WatermarkDistributed Systems

Stream processing-এ একটি marker যা জানায় সময় T-এর চেয়ে পুরোনো event আর আসবে না, ফলে window বন্ধ হয়ে ফল দেয়।

Stream Processing ও Aggregation →

Write-ahead Log (WAL)System Design

Data page বদলানোর আগে লেখা append-only log, যাতে crash-এর পর database committed পরিবর্তন ফিরে পায়।

Storage Engines ও Indexing →