首页/ AI 技能 / @skilllib/skill-2014279404539555846
Skill站外收录 @skilllib/skill-2014279404539555846

vercel-performance-tuning

针对 Vercel API 响应缓慢问题,提供端到端性能优化能力,涵盖延迟基准测量、高频数据响应缓存、批量请求自动聚合以及 HTTP 连接复用与池化配置,提升请求吞吐与稳定性。

0.0 (0) 189 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Vercel Performance Tuning ## Prerequisites - Vercel SDK installed - Understanding of async patterns - Redis or in-memory cache available (optional) - Performance monitoring in place ## Instructions ### Step 1: Establish Baseline Measure current latency for critical Vercel operations. ### Step 2: Implement Caching Add response caching for frequently accessed data. ### Step 3: Enable Batching Use DataLoader or similar for automatic request batching. ### Step 4: Optimize Connections Configure connection pooling with keep-alive. ## Output - Reduced API latency - Caching layer implemented - Request batching enabled - Connection pooling configured ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Vercel Performance Guide](https://vercel.com/docs/performance) - [DataLoader Documentation](https://github.com/graphql/dataloader) - [LRU Cache Documentation](https://github.com/isaacs/node-lru-cache)

评论 0

还没有评论,来抢沙发。