docs: add production service architecture guide to public docs
Added comprehensive production service architecture guide with singleton patterns, caching strategies, and performance optimization for Express/Node.js services. Changes: - NEW: docs/PRODUCTION_SERVICE_ARCHITECTURE.md - Complete guide for using Brainy in production services - CHANGED: .gitignore - Removed PRODUCTION_*.md pattern to allow public documentation - CHANGED: README.md - Added subtle link to production architecture guide in "Production MVP" section Guide covers: - Instance-per-request anti-pattern (40x memory waste) - Singleton pattern implementation (40x memory reduction, 30x faster) - Three implementation patterns (simple, service class, middleware) - Optimization strategies (cache sizing, lazy loading, warm-up) - Concurrency and thread safety - Production checklist and monitoring 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
73557a53c6
commit
759e7fabd0
3 changed files with 512 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -63,7 +63,7 @@ TODO_PRIVATE.md
|
|||
|
||||
# Strategy and planning documents (private)
|
||||
.strategy/
|
||||
PRODUCTION_*.md
|
||||
# Removed: PRODUCTION_*.md (now these should be public documentation)
|
||||
DISTRIBUTED_*.md
|
||||
*_ASSESSMENT.md
|
||||
*_ANALYSIS.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue