User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Added support for Redis session handling.
Modify the configuration.php file and include the following lines:
public $session_redis_server_host = 'redis-server-url';
public $session_redis_server_port = '6379';
Sessions are stored in Redis and slight performance improvement when used in conjunction with Redis Cache.
Session management is done by Redis and will work in a clustered environment without using database session handler.
Modify configuration.php
public $session_redis_server_host = 'redis-server-url';
public $session_redis_server_port = '6379';
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_config Language & Strings Libraries |
Labels |
Added:
?
?
|
Title |
|
Title |
|
I have tested this item
If you're a Mac user running Homebrew for PHP, this is actually pretty easy to test.
brew install redis
brew install phpxx-redis (replace xx with the PHP version you're using)
brew services start redis
Then get into global config, change the session handler (default settings are fine), save, and validate that things work using Redis as a session backend.
I'm comfortable merging based on my test, but it'd be nice if someone else could also do so.
I have tested this item
but we still need to manage situation like mod_status that directly access to the #__session table https://github.com/joomla/joomla-cms/blob/staging/administrator/modules/mod_status/mod_status.php#L33
Labels |
Added:
?
Removed: ? |
but we still need to manage situation like mod_status that directly access to the #__session table
It's fine for now because of the app code that arbitrarily writes stuff to the session table even if the database session handler isn't in use.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-30 20:45:55 |
Closed_By | ⇒ | wilsonge |
Database session handling and Redis cache
Redis session handling and cache
Redis session hits, looping 50 users across website pages