brainy/.gitignore
David Snelling 759e7fabd0 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>
2025-11-14 16:21:27 -08:00

95 lines
1.2 KiB
Text

# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Build outputs
dist/
build/
*.tsbuildinfo
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Runtime data
brainy-data/
.brainy/
*.log
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage/
*.lcov
# Test results
tests/results/
# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
# OS files
.DS_Store
Thumbs.db
# Temporary files
tmp/
temp/
*.tmp
# Planning and instruction files
plan.md
CLAUDE.md
# Package files
*.tgz
# Private/confidential files
PLAN.md
CLAUDE.md
INTERNAL_NOTES.md
TODO_PRIVATE.md
*.tar.gz
# Strategy and planning documents (private)
.strategy/
# Removed: PRODUCTION_*.md (now these should be public documentation)
DISTRIBUTED_*.md
*_ASSESSMENT.md
*_ANALYSIS.md
*_TRUTH*.md
# Models (downloaded at runtime)
models/
models-cache/
# Development planning files (not for commit)
PLAN.md
CLAUDE.md
# Backup folders
backup-*
backup/
# Internal documentation
docs/internal/
# Cache files
*.cache
# Log files (redundant but explicit)
*.log
# Temporary files (redundant but explicit)
*.tmp
/.junie/guidelines.md