Članci s tagom #lazy-loading
-
AgentManager lazy registration and the 40ms you get back on every request
I had 14 AI agents registering on every HTTP request. Each one autowired ~5 tools and ~3 services. The cold-start cost was 40ms. The fix wasn't caching — it was the closure pattern that lets you 'register' an agent without ever building it.
-
Lazy vs eager bootstrap in PHP: the production incident that taught me the hard way
Three bootstrap patterns for PHP service registration — pure eager, pure lazy, and the split approach. Why lazy sounds smart, why it breaks cross-cutting hooks, and what the 2026-04-28 incident looked like at 11pm.