wavelog/install/config
HB9HIL afeca7385e
new redis2 session driver
In ancient times redis wasn't able to tell the client that a lock was released so the origin
CI3 redis driver had to poll with sleep(1) to wait for the lock to be released. This produced
a staircase of 1s/2s/3s delays for parallel AJAX requests of the same user. While I reduced this
polling to 100ms, it still slows down the user experience. This new redis2 driver uses BLPOP to
wait for the lock to be released, so serialized AJAX requests of the same user are no longer delayed.
All modern redis or valkey servers support BLPOP, so this driver should be used instead of the
original redis driver.
2026-08-12 15:15:01 +02:00
..
config.php new redis2 session driver 2026-08-12 15:15:01 +02:00
database.php better approach 2024-03-10 11:20:16 +01:00