Tools
CV Builder
Donate
Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Performance Interview Questions · IT Interview Practice
Home
/
#Performance
#Performance
122 questions
What are streams in Node.js and when should you use them?
Node.js
#streams
Middle
›
How do you scale a Node.js app across multiple CPUs?
Node.js
#scaling
Senior
›
How do you detect and fix memory leaks in Node.js?
Node.js
#debugging
Senior
›
When and how do you use worker threads?
Node.js
#performance
Middle
›
What caching strategies improve a Node API's performance?
Node.js
#performance
Middle
›
How do you profile and optimize Node.js performance?
Node.js
#performance
Senior
›
What is backpressure in streams and how do you handle it?
Node.js
#streams
Senior
›
What is the difference between blocking and non-blocking operations in Node.js?
Node.js
#async
Middle
›
What kinds of operations block the Node.js event loop?
Node.js
#async
Middle
›
When should you use useMemo and useCallback, and what problem do they solve?
React
#hooks
Senior
›
What does React.memo do and when is it worth using?
React
#performance
Middle
›
What are concurrent features like useTransition and useDeferredValue?
React
#performance
Senior
›
How do Suspense and React.lazy work for code splitting?
React
#performance
Senior
›
How do you diagnose and fix unnecessary re-renders?
React
#performance
Senior
›
What is an index in SQL? When should and shouldn't you use one?
SQL
#index
Middle
›
How do you optimize slow SQL queries?
SQL
#performance
Senior
›
What is table partitioning?
SQL
#performance
Senior
›
How do srcset, sizes and picture serve responsive images?
HTML
#media
Middle
›
How does the browser parse HTML and build the page (critical rendering path)?
HTML
#performance
Senior
›
What is the difference between defer and async on scripts?
HTML
#performance
Senior
›
What are resource hints like preload, prefetch and preconnect?
HTML
#performance
Senior
›
How does native lazy loading of images/iframes work?
HTML
#performance
Senior
›
How do you keep CSS rendering performant (reflow vs repaint)?
CSS
#performance
Senior
›
What is the difference between debounce and throttle?
JavaScript
#performance
Senior
›
What is memoization and how do you implement it?
JavaScript
#performance
Senior
›
How does JavaScript manage memory and how do leaks happen?
JavaScript
#performance
Senior
›
What does the next/image component do?
Next.js
#performance
Junior
›
What caching layers does Next.js have?
Next.js
#performance
Middle
›
How does streaming SSR with Suspense work in Next.js?
Next.js
#rendering
Senior
›
How do you optimize performance and Core Web Vitals in Next.js?
Next.js
#performance
Senior
›
How does next/font optimize fonts?
Next.js
#performance
Middle
›
What is Partial Prerendering (PPR)?
Next.js
#rendering
Senior
›
How do async components enable lazy loading?
Vue.js
#performance
Middle
›
How do you optimize performance in a Vue app?
Vue.js
#performance
Senior
›
How do you lazy-load routes/features in Angular?
Angular
#performance
Middle
›
How does Angular change detection work, and what does OnPush do?
Angular
#performance
Senior
›
What does Angular SSR (Universal) provide?
Angular
#rendering
Senior
›
What is Zone.js and what does "zoneless" Angular mean?
Angular
#performance
Senior
›
How do you keep state updates from causing excessive re-renders?
State Management
#performance
Senior
›
How do you add caching in NestJS?
NestJS
#performance
Senior
›
How do you optimize NestJS performance?
NestJS
#performance
Senior
›
What is the GIL and how does it affect concurrency?
Python
#concurrency
Senior
›
How does Python manage memory and garbage collection?
Python
#performance
Senior
›
When do you choose threading, multiprocessing, or asyncio?
Python
#concurrency
Senior
›
How do you profile and optimize Python performance?
Python
#performance
Senior
›
Why is FastAPI fast, and how do you keep it that way?
FastAPI
#performance
Senior
›
How do select_related and prefetch_related avoid the N+1 problem?
Django
#performance
Middle
›
What caching options does Django provide?
Django
#performance
Senior
›
How does async support work in modern Django?
Django
#performance
Senior
›
How do you scale Django at the database level?
Django
#performance
Senior
›
How does Go manage memory and garbage collection?
Golang
#performance
Senior
›
How do you profile and optimize Go performance?
Golang
#performance
Senior
›
How does JVM memory and garbage collection work?
Java
#performance
Senior
›
How do you optimize JVM application performance?
Java
#performance
Senior
›
How do you optimize PHP performance (OPcache, JIT)?
PHP
#performance
Senior
›
What are generators in PHP and why use them?
PHP
#performance
Senior
›
What caching does Laravel provide?
Laravel
#performance
Senior
›
How do you fix N+1 queries and optimize Eloquent?
Laravel
#performance
Senior
›
How do you deploy and optimize Laravel for production?
Laravel
#performance
Senior
›
How does memory management and garbage collection work in .NET?
C#
#performance
Senior
›
How do Span<T> and Memory<T> improve performance?
C#
#performance
Senior
›
How does C# code execute (IL, JIT, AOT)?
C#
#performance
Senior
›
What is boxing and unboxing, and why does it matter?
C#
#performance
Middle
›
How does Ruby manage memory and garbage collection?
Ruby
#performance
Senior
›
How do you profile and optimize Ruby performance?
Ruby
#performance
Senior
›
What does freezing objects do and why use frozen string literals?
Ruby
#performance
Senior
›
How do you query 10B records under 100ms?
System Design
#database
Senior
›
How do you import 100M CSV records into a DB fast?
System Design
#performance
Senior
›
How do you export a huge dataset without impacting the live system?
System Design
#performance
Middle
›
How do you handle a hot key or hot row under heavy contention?
System Design
#performance
Middle
›
What index types does PostgreSQL offer?
PostgreSQL
#performance
Middle
›
How do you use EXPLAIN and EXPLAIN ANALYZE?
PostgreSQL
#performance
Middle
›
How do materialized views work in PostgreSQL?
PostgreSQL
#performance
Middle
›
How does table partitioning work in PostgreSQL?
PostgreSQL
#performance
Middle
›
How do you bulk-load data efficiently with COPY?
PostgreSQL
#performance
Middle
›
What is VACUUM and why is it important?
PostgreSQL
#performance
Senior
›
Why do you need connection pooling (PgBouncer)?
PostgreSQL
#performance
Senior
›
How do you tune PostgreSQL performance?
PostgreSQL
#performance
Senior
›
How do indexes work in MongoDB?
MongoDB
#performance
Middle
›
How do you optimize MongoDB performance?
MongoDB
#performance
Senior
›
What advanced indexing strategies does MongoDB support?
MongoDB
#performance
Senior
›
How is Redis used as a cache?
Redis
#performance
Junior
›
What caching strategies and patterns exist with Redis?
Redis
#performance
Middle
›
How does Redis manage memory?
Redis
#performance
Middle
›
How do you optimize Redis performance?
Redis
#performance
Senior
›
What are the challenges of cache invalidation?
Redis
#performance
Senior
›
What is pipelining in Redis and when should you use it?
Redis
#performance
Middle
›
Why is connection pooling important when using Redis?
Redis
#performance
Middle
›
How does caching work on AWS (ElastiCache)?
Cloud & AWS
#performance
Middle
›
A web page or API is slow — how do you find the cause?
Site Reliability & Operations
#performance
Middle
›
How do you optimize a slow database query?
Site Reliability & Operations
#database
Middle
›
How do you tell whether a bottleneck is CPU, memory, I/O, or network?
Site Reliability & Operations
#performance
Middle
›
How would you tune a high-traffic WordPress site for performance?
Site Reliability & Operations
#wordpress
Senior
›
What are the cache layers in a typical web stack?
Site Reliability & Operations
#caching
Middle
›
How do you decide what to cache and for how long (TTL)?
Site Reliability & Operations
#caching
Middle
›
What is a cache stampede and how do you prevent it?
Site Reliability & Operations
#caching
Middle
›
An API's p99 latency is 3s — how do you debug and optimize it?
Site Reliability & Operations
#performance
Senior
›
How do you optimize SwiftUI performance around view identity and diffing?
iOS (Swift & SwiftUI)
#swiftui
Senior
›
What are LCP, CLS, and INP, and what are good thresholds?
Web Performance & Core Web Vitals
#performance
Junior
›
What is the critical rendering path and what blocks it?
Web Performance & Core Web Vitals
#performance
Junior
›
How do you lazy-load images and components, and why?
Web Performance & Core Web Vitals
#performance
Junior
›
What makes a JS bundle grow, and why does size hurt?
Web Performance & Core Web Vitals
#performance
Junior
›
How do you diagnose and improve a slow LCP?
Web Performance & Core Web Vitals
#performance
Middle
›
What causes layout shift, and how do you fix CLS?
Web Performance & Core Web Vitals
#performance
Middle
›
What are code splitting and tree shaking?
Web Performance & Core Web Vitals
#performance
Middle
›
How does HTTP caching work with immutable assets and a CDN?
Web Performance & Core Web Vitals
#performance
Middle
›
How do you optimize images: formats, srcset, and priority?
Web Performance & Core Web Vitals
#performance
Middle
›
Lighthouse vs RUM: how do you measure performance properly?
Web Performance & Core Web Vitals
#observability
Senior
›
CSR vs SSR vs SSG vs streaming: the performance trade-offs?
Web Performance & Core Web Vitals
#performance
Senior
›
How do you diagnose runtime jank, long tasks, and poor INP?
Web Performance & Core Web Vitals
#performance
Senior
›
What is the N+1 problem in GraphQL and how does DataLoader fix it?
GraphQL
#performance
Middle
›
How do you tune performance in a Spring Boot app: pools, caching, N+1?
Spring Boot
#spring
Senior
›
How do B-tree, composite, and covering indexes work, and what is the leftmost-prefix rule?
MySQL
#database
Middle
›
How do you read EXPLAIN and use it to optimize a slow query?
MySQL
#performance
Middle
›
How do you tune a MySQL server: buffer pool, slow query log, and connections?
MySQL
#performance
Senior
›
What limits concurrency at scale? Explain contention, false sharing, and backpressure.
Concurrency & Parallelism
#concurrency
Senior
›
What is the difference between CPU/memory requests and limits, and how do they affect scheduling, eviction, and QoS?
Kubernetes
#performance
Middle
›
What is the difference between latency, bandwidth, and throughput?
Networking
#networking
Senior
›
How does CPU scheduling work, and what are the common algorithms?
Operating Systems
#performance
Middle
›
What does a context switch actually cost, and why does it matter?
Operating Systems
#operating-systems
Senior
›
How do you design pagination, filtering, and sorting for a collection endpoint?
REST API Design
#performance
Middle
›
How do rate limiting and HTTP caching work in a REST API?
REST API Design
#api
Senior
›