Backend Interview Questions
Dec 14, 2025 ยท 2 min read ยท backend interview api databases microservices distributed-systems performance ยทComprehensive backend interview questions covering APIs, databases, microservices, distributed systems, and performance optimization. Overview Backend development encompasses: API Design: REST, GraphQL, gRPC Databases: SQL, NoSQL, transactions, optimization Microservices: Architecture, communication, scaling โฆ
Read MoreBackend Interview Questions - Hard
Dec 14, 2025 ยท 24 min read ยท backend interview hard distributed-systems performance architecture ยทHard-level backend interview questions covering distributed systems, advanced architecture, and complex system design. Q1: Design a distributed caching system (like Redis Cluster). Answer: Consistent Hashing Implementation 1package main 2 3import ( 4 "fmt" 5 "hash/fnv" 6 "sort" 7 "sync" โฆ
Read MoreBackend Interview Questions - Medium
Medium-level backend interview questions covering microservices, advanced databases, message queues, and performance optimization. Q1: Explain microservices architecture and its trade-offs. Answer: Monolith vs Microservices Advantages Independent deployment: Deploy services separately Technology flexibility: Different โฆ
Read MoreHard-level frontend interview questions covering advanced patterns, performance optimization, and complex architectures. Q1: Explain React Fiber architecture and reconciliation. Answer: Fiber Architecture Reconciliation Phases Priority Levels Concurrent Features 1import { useTransition, useDeferredValue } from โฆ
Read MoreMedium-level frontend interview questions covering advanced React, Vue, state management, and performance optimization. Q1: Explain React Context API and when to use it. Answer: Prop Drilling Problem Context Solution 1import { createContext, useContext, useState } from 'react'; 2 3// Create context 4const โฆ
Read MoreProtocol Buffers Interview Questions - Hard
Dec 14, 2025 ยท 14 min read ยท protobuf protocol-buffers interview hard advanced performance optimization ยทHard-level Protocol Buffers interview questions covering advanced topics, performance optimization, and complex scenarios. Q1: How does Protocol Buffer encoding work internally? Answer: Varint Encoding: Variable-length encoding for integers Smaller numbers use fewer bytes Most significant bit indicates continuation โฆ
Read MoreEasy-level scalability interview questions covering fundamental scaling concepts. Q1: What is scalability and why does it matter? Answer: Definition: System's ability to handle increased load by adding resources. Why It Matters: Handle growth without rewriting Maintain performance under load Cost-effective resource โฆ
Read MoreScalability Interview Questions - Hard
Hard-level scalability interview questions covering extreme scale, global distribution, and advanced optimization. Q1: Design a globally distributed database with strong consistency. Answer: Challenge: CAP theorem - can't have all three (Consistency, Availability, Partition tolerance). Two-Phase Commit (2PC): โฆ
Read MoreMedium-level scalability interview questions covering advanced scaling techniques and optimization. Q1: Explain database partitioning strategies. Answer: Horizontal Partitioning (Sharding) Range Partitioning: Hash Partitioning: Vertical Partitioning Q2: How do you handle database hotspots? Answer: Problem: Uneven data โฆ
Read MoreA simple decorator to measure and print the execution time of any function. Useful for quick performance profiling during development. Use Case Use this when you want to quickly measure how long a function takes to execute without setting up complex profiling tools. Perfect for identifying slow functions during โฆ
Read MoreReduce CPU/GPU voltage to lower temperatures and power consumption while maintaining performance. Why Undervolt? Benefits: Lower temperatures (5-15ยฐC reduction) Reduced power consumption (10-30W savings) Quieter fans Extended battery life Same or better performance (less thermal throttling) Risks: System instability if โฆ
Read MoreDatabase performance issues, solutions, and SQL vs NoSQL comparison. Common Performance Issues 1. Missing Indexes 1-- โ Problem: Full table scan 2SELECT * FROM users WHERE email = 'test@example.com'; 3 4-- โ Solution: Add index 5CREATE INDEX idx_email ON users(email); 6 7-- Verify index usage 8EXPLAIN SELECT * โฆ
Read MoreGo pprof commands and practices for analyzing CPU, memory, goroutine, and block profiles. Enable Profiling HTTP Server 1package main 2 3import ( 4 "log" 5 "net/http" 6 _ "net/http/pprof" // Import for side effects 7) 8 9func main() { 10 // Your application code here 11 12 // Start pprof server โฆ
Read More