Blog · page 7

Articles on architecture, headless commerce, and practical product engineering.

PHP-FPM pm.max_children: The Setting That Brings Bitrix Down Under Load

pm.max_children is the PHP-FPM configuration parameter that sets the maximum number of worker processes in a pool. On a busy Bitrix installation, getting this wrong is the most reliable way to turn a promotional spike into a 504 error wave — and the most reliable way to miss it during normal traffic.

PHP Earns the Money. Next.js Shows It.

In a headless Bitrix + Next.js architecture, the split is straightforward in theory: Bitrix owns the data and business logic, Next.js owns the rendering. In practice, most teams get this wrong within the first year.

"Socks" and "knee-highs" are the same product. Elasticsearch didn't know.

Three weeks of Elasticsearch setup (shards, replicas, mappings, custom tokenizers) got us to where fuzziness AUTO dropped zero-results from 22% to 11%. A real improvement. But 11% of searchers were still leaving empty-handed. I pulled the logs and found the problem wasn't typos. It was synonyms.

No, I Don't Scale. That's the Point.

People keep telling me to scale up. I work as an independent engineer, and I don't scale my practice into an agency. I nod, say nothing, and don't change a thing. Not because I'm lazy. Because I tried.