Крупнейшая конференция по PHP в России

Using and (slightly) abusing APCu cache in high load concurrent environments

Производительность

Доклад принят в программу конференции

Мнение Программного комитета о докладе

APCu is a very unexpected choice for a distributed cache. That's why we are looking forward to Ioannis' talk to find out how it works.

Целевая аудитория

Software Engineers and Architects who work in applications that face high loads and want to know the benefits and limitations of incorporating the PHP APCu cache in their systems.

Тезисы

APCu is a very performant form of in memory cache, almost as fast as using local variables and thus a good candidate for high load applications.
Despite that it's usage is rare because it resides in a single computing node. Most high load applications use an underlying infrastructure of auto scaling VMs or K8s, which means that
there are multiple computing nodes with no cache coherency. This presentation explores these issues, possible strategies for establishing internode communications (hint: they don't reliably work), infrastructure side solutions and
how one can use the APCu despite this shortcoming. We will present in broad terms how Altenar GP incorporated APCu in our system that receives 3.5K requests per second, the failures we had
along the way and the performance benefits we saw with our final implementation. We also clarify critical shortcomings of the APCu documentation that may have severe consequences.

Senior Software Engineer
Accomplished professional with vast experience and a proven track record of leading and guiding cross-functional teams to deliver innovative solutions. Instrumental in driving success through leadership and technical expertise. Adept at optimising processes, fostering collaboration, and aligning teams with strategic goals. Proficient in project management, technical strategy, and team development. Able to establish coding, development, and documentation standards as well as best practices.

Altenar

Altenar is a leading sports betting software provider delivering best-in-class solutions for licensed operators around the world. Ranging from a standalone sportsbook product to the provision of a turnkey sportsbook solution, Altenar offers proven stability coupled with a flexible and personalised service.

Видео

Другие доклады секции

Производительность