REMP - Reader's engagement and monetization platform. Set of open-source tools for publishers to engage with their audience. Repository is public mirror of our internal private repo.
This PR is based on optimized code from #231 . It adds support for Redis PHP extension (known as phpredis).
The Redis PHP extension is more efficient in communicating with Redis. It can be used instead of Predis for better performance.
According to our performance tests against showtime.php (ab -n 10000 -c 20) the Campaign will be much more efficient:
v. 3.3.1: 12.25 req/s
with this MR #231: 17.64 req/s (+5.39 req/s)
with this MR #232: 20.49 req/s (+8.24 req/s)
The optimization was developed by Petit Press a.s., which also created the
DAM (Digital Asset Management) project in partnership with Google. This project is free and open source. Petit Press a.s. operates the www.sme.sk website.
This PR is based on optimized code from #231 . It adds support for Redis PHP extension (known as
phpredis
).The Redis PHP extension is more efficient in communicating with Redis. It can be used instead of Predis for better performance.
According to our performance tests against
showtime.php
(ab -n 10000 -c 20
) the Campaign will be much more efficient:The optimization was developed by Petit Press a.s., which also created the DAM (Digital Asset Management) project in partnership with Google. This project is free and open source. Petit Press a.s. operates the www.sme.sk website.