I have multiple redis (A1-A5) instances and want one central redis instance (C) subscribe to selected topics of the distributed redis instances. Should I write a simple client program to subscribe to topics on the different A1-A5 instances and then push updates to C1, or is replication of specific topics the way to go?
to add to this, C is a read only instance for data originally pushed to A1-A5 as clients will only read the data
(clients of C)
@badboy_, https://pastebin.com/y2VMi8H3 - also, I am not running sentinel.
and a snippet of the log file: https://pastebin.com/AJ1j7biA
damnski: oh, don't put the slaveof no one line in your configuration
(that should probably be fixed to actually be allowed there...)
Hi there, I need help please
I want to use redis for php and I installed it for both windows and linux and tested the cli it works, but I have a problem to connect to it from php error message >> (Fatal error: Uncaught Error: Class 'Redis' not found in) I am tring this solution (http://stackoverflow.com/questions/25230399/fatal-error-class-redis-not-found) but when I write "phpize" I got an error as command not found "phpize : The term 'phpize' is not recognized
st0rm, probably the linux distro you are using provides the redis extension (php-pecl-redis on RPM distro, php-redis for .deb)
(else, if you really want to build from sources and from a git snapshot, instead of using a stable release, you need the "devel" package, e.g. php-devel on rpm distro)
I have the same problem for windows
Sorry, don't know what Windows is ;)
https://pecl.php.net/package/redis => you have link to download the needed .dll
@badboy_, that worked. I owe you a beer or a handle rolled tobacco treat.
I take the beer :)