Skip to content

Introduction ​

Welcome to the project πŸš€

This platform is built with:

  • Laravel
  • PHP-FPM
  • High concurrency, production traffic

Our primary goal is production stability:

  • No Out Of Memory (OOM)
  • No long-running requests
  • Predictable performance under load

Core Rule (Read This First) ​

Web requests must be fast, bounded, and predictable.

  • 120 seconds is a hard safety cap, not a design target
  • Most web requests should finish in < 10–15 seconds
  • If something cannot meet this, it must be moved to a queue job

πŸ“˜ Onboarding Guide (Read in Order) ​

Follow these pages in sequence to understand how the system works and how to write safe code:

🧠 System Understanding ​

  • πŸ‘‰ Architecture
    How requests flow, how PHP-FPM works, and why memory matters

⚑ Performance Expectations ​

  • πŸ‘‰ Performance & SLA
    What β€œgood performance” means for users and APIs

  • πŸ‘‰ Request Limits
    Hard server-enforced limits (timeouts, memory caps)


🚫 Rules & Anti-Patterns ​


βœ… Correct Design Patterns ​


🧯 Real Incidents & Enforcement ​


Final Reminder ​

If a feature cannot safely run within web request limits,
it does not belong in an HTTP request.

When in doubt:

  • Ask before implementing heavy logic
  • Prefer queues
  • Prefer simplicity over cleverness

Welcome aboard β€” build fast, but keep production alive πŸš€