工具
简历制作
捐赠
搜索题目…
⌘
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
首页
主题
分类
学习路径
搜索
性能 面试问题 · IT 面试练习
首页
/
#性能
#性能
122 道题
Node.js 中的 streams 是什么,你应该何时使用它们?
Node.js
#streams
中级
›
如何跨多个 CPU 扩展 Node.js 应用程序?
Node.js
#scaling
高级
›
如何检测和修复 Node.js 中的内存泄漏?
Node.js
#debugging
高级
›
您何时以及如何使用 worker threads?
Node.js
#performance
中级
›
什么缓存策略能改进 Node API 的性能?
Node.js
#performance
中级
›
如何进行 Node.js 性能分析和优化?
Node.js
#performance
高级
›
什么是流(streams)中的背压(backpressure),如何处理它?
Node.js
#streams
高级
›
Node.js 中 blocking 与 non-blocking 操作有什么区别?
Node.js
#async
中级
›
哪些操作会阻塞 Node.js 的 event loop?
Node.js
#async
中级
›
您应该何时使用 useMemo 和 useCallback,它们解决了什么问题?
React
#hooks
高级
›
React.memo 做什么以及何时值得使用?
React
#performance
中级
›
什么是 useTransition 和 useDeferredValue 这样的并发特性?
React
#performance
高级
›
Suspense 和 React.lazy 如何用于代码分割?
React
#performance
高级
›
你如何诊断并修复不必要的重新渲染?
React
#performance
高级
›
什么是 SQL 中的索引?何时应该使用索引,何时不应该使用?
SQL
#index
中级
›
您如何优化缓慢的 SQL 查询?
SQL
#performance
高级
›
什么是表分区?
SQL
#performance
高级
›
srcset、sizes 和 picture 如何提供响应式图像?
HTML
#media
中级
›
浏览器如何解析 HTML 并构建页面(关键渲染路径)?
HTML
#performance
高级
›
defer 和 async 在脚本上有什么区别?
HTML
#performance
高级
›
preload、prefetch 和 preconnect 等资源提示是什么?
HTML
#performance
高级
›
原生图像/iframe延迟加载如何工作?
HTML
#performance
高级
›
您如何保持 CSS 渲染性能(reflow 与 repaint)?
CSS
#performance
高级
›
debounce 和 throttle 之间有什么区别?
JavaScript
#performance
高级
›
什么是memoization,你如何实现它?
JavaScript
#performance
高级
›
JavaScript 是如何管理内存的,内存泄漏又是怎么发生的?
JavaScript
#performance
高级
›
next/image 组件做什么?
Next.js
#performance
初级
›
Next.js 中有哪些缓存层?
Next.js
#performance
中级
›
Next.js 中使用 Suspense 进行流式 SSR 如何工作?
Next.js
#rendering
高级
›
如何在 Next.js 中优化性能和 Core Web Vitals?
Next.js
#performance
高级
›
next/font 是如何优化字体的?
Next.js
#performance
中级
›
什么是 Partial Prerendering(PPR)?
Next.js
#rendering
高级
›
async components 如何实现懒加载?
Vue.js
#performance
中级
›
你如何优化 Vue 应用的性能?
Vue.js
#performance
高级
›
你如何在 Angular 中对 routes/features 进行 lazy-load?
Angular
#performance
中级
›
Angular 的变更检测如何工作,OnPush 有什么作用?
Angular
#performance
高级
›
Angular SSR (Universal) 提供什么?
Angular
#rendering
高级
›
Zone.js 是什么,"zoneless" Angular 是什么意思?
Angular
#performance
高级
›
您如何防止状态更新导致过度重新渲染?
状态管理
#performance
高级
›
你如何在NestJS中添加缓存?
NestJS
#performance
高级
›
您如何优化 NestJS 的性能?
NestJS
#performance
高级
›
什么是 GIL,它如何影响并发性?
Python
#concurrency
高级
›
Python 是如何管理内存和垃圾回收的?
Python
#performance
高级
›
你何时选择 threading、multiprocessing 或 asyncio?
Python
#concurrency
高级
›
你如何对Python性能进行分析和优化?
Python
#performance
高级
›
FastAPI 为什么速度快,以及你如何保持它的速度?
FastAPI
#performance
高级
›
select_related 和 prefetch_related 如何避免 N+1 问题?
Django
#performance
中级
›
Django 提供了哪些缓存选项?
Django
#performance
高级
›
现代 Django 中的 async 支持如何工作?
Django
#performance
高级
›
你如何在数据库级别扩展 Django?
Django
#performance
高级
›
Go 是如何管理内存和垃圾回收的?
Golang
#performance
高级
›
您如何对 Go 性能进行分析和优化?
Golang
#performance
高级
›
JVM 内存和垃圾回收如何工作?
Java
#performance
高级
›
您如何优化 JVM 应用程序的性能?
Java
#performance
高级
›
您如何优化PHP性能(OPcache、JIT)?
PHP
#performance
高级
›
PHP 中的生成器是什么,为什么使用它们?
PHP
#performance
高级
›
Laravel 提供了哪些缓存功能?
Laravel
#performance
高级
›
你如何修复 N+1 查询并优化 Eloquent?
Laravel
#performance
高级
›
您如何在生产环境中部署和优化 Laravel?
Laravel
#performance
高级
›
.NET 中的内存管理和垃圾回收如何工作?
C#
#performance
高级
›
Span<T> 和 Memory<T> 如何提高性能?
C#
#performance
高级
›
C# 代码如何执行(IL、JIT、AOT)?
C#
#performance
高级
›
什么是装箱和拆箱,为什么这很重要?
C#
#performance
中级
›
Ruby 如何管理内存和垃圾回收?
Ruby
#performance
高级
›
你如何对 Ruby 性能进行分析和优化?
Ruby
#performance
高级
›
冻结对象有什么作用,为什么要使用冻结字符串字面量?
Ruby
#performance
高级
›
如何在 100 毫秒内查询 100 亿条记录?
系统设计
#database
高级
›
如何快速把 1 亿条 CSV 记录导入数据库?
系统设计
#performance
高级
›
如何在不影响线上系统的情况下导出一个庞大的数据集?
系统设计
#performance
中级
›
在重度争用下,如何处理一个热点键或热点行?
系统设计
#performance
中级
›
PostgreSQL 提供哪些索引类型?
PostgreSQL
#performance
中级
›
您如何使用 EXPLAIN 和 EXPLAIN ANALYZE?
PostgreSQL
#performance
中级
›
PostgreSQL 中的物化视图如何工作?
PostgreSQL
#performance
中级
›
PostgreSQL 中的表分区如何工作?
PostgreSQL
#performance
中级
›
如何使用 COPY 高效地大量加载数据?
PostgreSQL
#performance
中级
›
什么是 VACUUM 以及为什么它很重要?
PostgreSQL
#performance
高级
›
为什么您需要连接池 (PgBouncer)?
PostgreSQL
#performance
高级
›
你如何调优 PostgreSQL 性能?
PostgreSQL
#performance
高级
›
MongoDB 中的索引如何工作?
MongoDB
#performance
中级
›
你如何优化MongoDB的性能?
MongoDB
#performance
高级
›
MongoDB支持哪些高级索引策略?
MongoDB
#performance
高级
›
Redis是如何作为缓存使用的?
Redis
#performance
初级
›
Redis 有哪些缓存策略和模式?
Redis
#performance
中级
›
Redis 如何管理内存?
Redis
#performance
中级
›
您如何优化 Redis 性能?
Redis
#performance
高级
›
缓存失效的挑战是什么?
Redis
#performance
高级
›
Redis 中的管道(pipelining)是什么,你应该何时使用它?
Redis
#performance
中级
›
为什么在使用 Redis 时连接池很重要?
Redis
#performance
中级
›
AWS 上的缓存是如何工作的(ElastiCache)?
云计算与 AWS
#performance
中级
›
网页或 API 运行缓慢 — 你如何找到原因?
站点可靠性与运维
#performance
中级
›
你如何优化缓慢的数据库查询?
站点可靠性与运维
#database
中级
›
您如何判断瓶颈是 CPU、内存、I/O 还是网络?
站点可靠性与运维
#performance
中级
›
您将如何调优高流量 WordPress 站点的性能?
站点可靠性与运维
#wordpress
高级
›
典型网络堆栈中的缓存层有哪些?
站点可靠性与运维
#caching
中级
›
您如何决定缓存什么以及缓存多长时间(TTL)?
站点可靠性与运维
#caching
中级
›
什么是缓存雪崩,你如何防止它?
站点可靠性与运维
#caching
中级
›
某个 API 的 p99 延迟是 3s——你如何调试并优化它?
站点可靠性与运维
#performance
高级
›
如何围绕视图标识和 diffing 来优化 SwiftUI 性能?
iOS (Swift & SwiftUI)
#swiftui
高级
›
LCP、CLS 和 INP 是什么,它们的良好阈值是多少?
Web 性能与 Core Web Vitals
#performance
初级
›
什么是关键渲染路径,什么会阻塞它?
Web 性能与 Core Web Vitals
#performance
初级
›
你如何懒加载图片和组件,为什么要这么做?
Web 性能与 Core Web Vitals
#performance
初级
›
是什么让 JS 打包体积增大,为什么体积大有害?
Web 性能与 Core Web Vitals
#performance
初级
›
你如何诊断并改善缓慢的 LCP?
Web 性能与 Core Web Vitals
#performance
中级
›
是什么导致布局偏移,如何修复 CLS?
Web 性能与 Core Web Vitals
#performance
中级
›
什么是代码分割(code splitting)和 tree shaking?
Web 性能与 Core Web Vitals
#performance
中级
›
HTTP 缓存如何与不可变资源和 CDN 协同工作?
Web 性能与 Core Web Vitals
#performance
中级
›
你如何优化图片:格式、srcset 和优先级?
Web 性能与 Core Web Vitals
#performance
中级
›
Lighthouse vs RUM:如何正确地测量性能?
Web 性能与 Core Web Vitals
#observability
高级
›
CSR vs SSR vs SSG vs 流式渲染:性能上的权衡是什么?
Web 性能与 Core Web Vitals
#performance
高级
›
你如何诊断运行时卡顿、long task 和糟糕的 INP?
Web 性能与 Core Web Vitals
#performance
高级
›
GraphQL 中的 N+1 问题是什么,DataLoader 如何解决它?
GraphQL
#performance
中级
›
如何为 Spring Boot 应用调优性能:连接池、缓存、N+1?
Spring Boot
#spring
高级
›
B-tree、复合索引和覆盖索引是如何工作的?什么是最左前缀(leftmost-prefix)规则?
MySQL
#database
中级
›
如何阅读 EXPLAIN,并用它来优化一条慢查询?
MySQL
#performance
中级
›
如何调优一台 MySQL 服务器:缓冲池(buffer pool)、慢查询日志(slow query log)和连接?
MySQL
#performance
高级
›
在规模化时是什么限制了并发?解释争用(contention)、伪共享(false sharing)和背压(backpressure)。
并发与并行
#concurrency
高级
›
CPU/内存的 request 与 limit 有何区别,它们如何影响调度、驱逐和 QoS?
Kubernetes
#performance
中级
›
latency、bandwidth 和 throughput 有什么区别?
网络
#networking
高级
›
CPU 调度如何工作,有哪些常见算法?
操作系统
#performance
中级
›
一次 context switch 究竟花费什么,为什么这很重要?
操作系统
#operating-systems
高级
›
如何为一个 collection endpoint 设计分页、过滤和排序?
REST API 设计
#performance
中级
›
在一个 REST API 中,rate limiting 和 HTTP caching 如何工作?
REST API 设计
#api
高级
›