docs: add common performance degradation guidance#6520
docs: add common performance degradation guidance#6520kibertoad merged 4 commits intofastify:mainfrom
Conversation
|
Updated this PR with review feedback:\n\n- Added the Ajv security guideline link ().\n- Fixed the broken internal docs link from to .\n\nThis should address the internal-link checker issue for this section. |
|
Correction to my previous comment (markdown formatting issue): Updated this PR with review feedback:
This should address the internal-link checker issue for this section. |
There was a problem hiding this comment.
Pull request overview
Adds a short “Common Causes Of Performance Degradation” reference section to the Fastify recommendations guide, consolidating common throughput/latency pitfalls and pointing readers to the deeper existing documentation.
Changes:
- Adds a new TOC entry for “Common Causes Of Performance Degradation”.
- Adds a concise section covering router patterns, constraints, middleware vs native integrations, response schemas, and Ajv
allErrorsguidance.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
Updated the PR with the remaining doc follow-ups. The |
Summary
Adds a focused section to
docs/Guides/Recommendations.mdthat consolidates common causes of performance degradation and links to the existing docs sections that already describe each tradeoff.This follows the direction discussed in #4832 (short reference section with pointers to detailed docs).
Changes
Common Causes Of Performance DegradationallErrorsperformance and risk noteCloses #4832