? Language Change ? Failure

User tests: Successful: Unsuccessful:

avatar jdolinski
jdolinski
30 Apr 2017

Pull Request for Issue # .

Summary of Changes

Add support for Redis Cluster Cache

Tested Versions:
phpredis module required > 3.x, installed 3.1.2
PHP 7.0.17
Joomla 3.6.5

Testing Instructions

Choose the Redis Cluster option under cache options and enter your cluster nodes.
Example: localhost:6379, localhost:6380

image

Expected result

Read replicas and all nodes in the cluster receive traffic.
image

Actual result

Hits and misses on all nodes. Auto failover for Cache High Availability and better performance under very heavy load.
20users, 5s ramp up, loop 5 (Mulitple redis node 1 primary, 2 read replicas)
image

Documentation Changes Required

Add the cluster host to the configuration.php.
public $redis_server_cluster_host_port = "credis-staging-0001-001.ktaitd.0001.use1.cache.amazonaws.com:6379, credis-staging-0001-002.ktaitd.0001.use1.cache.amazonaws.com:6379,credis-staging-0001-003.ktaitd.0001.use1.cache.amazonaws.com:6379";

avatar jdolinski jdolinski - open - 30 Apr 2017
avatar jdolinski jdolinski - change - 30 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2017
Category Administration com_config Language & Strings Libraries Unit Tests
avatar jdolinski jdolinski - change - 30 Apr 2017
The description was changed
avatar jdolinski jdolinski - edited - 30 Apr 2017
avatar jdolinski jdolinski - change - 30 Apr 2017
Labels Added: ? ? ?
avatar jdolinski jdolinski - change - 30 Apr 2017
The description was changed
avatar jdolinski jdolinski - edited - 30 Apr 2017
avatar jdolinski
jdolinski - comment - 30 Apr 2017

Looks like appveyor failed to install the sql server php_sqlsrv_nts.dll causing many tests to fail. Can you check that on your side?

image

avatar photodude
photodude - comment - 1 May 2017

See PR #15706 on the Appveyor item. Seems the dll files we were downloading for php 5.6 are no longer provided or just plagued with DNS issues and there are no other precompiled sources for the DLLs I can find.

avatar jdolinski
jdolinski - comment - 1 May 2017

@photodude Thanks for the heads up!

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Apr 2019
Category Administration com_config Language & Strings Libraries Unit Tests Administration com_config Libraries Unit Tests
avatar HLeithner
HLeithner - comment - 12 Mar 2022

At the current state this PR doesn't fit into Joomla any more. J3 doesn't get new features and J4 uses a legacy caching system which should be replaced with a 3rd party library compatible PSR-6 / PSR-16 package see https://github.com/joomla-framework/cache

If you are still interested to bring this to joomla we would be happy if you help us working on the new cache layer.

avatar HLeithner HLeithner - close - 12 Mar 2022
avatar HLeithner HLeithner - change - 12 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-12 14:13:02
Closed_By HLeithner
Labels Added: ? Language Change ?
Removed: ? ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 12 Mar 2022
Category Administration com_config Libraries Unit Tests Administration com_config Language & Strings Libraries Unit Tests

Add a Comment

Login with GitHub to post a comment