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
90 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
›
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
›
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
›