Author here. The language switch did the trick! Php code was rewritten some years ago. And we also ported some backend code to c++ to improve performance. Code was not that bad. Php is :)
Personally, if I switched away from PHP for web development these days I would do the backend in Go. But thank you for teaching me something new today. SCGI is not a protocol I'd heard of before, what with FastCGI being the (horribly legacy) standard. I have something new to research. :)
I love scgi because it's clean and easy to implement. And it works fine for our use cases.