Skip to content

OPT_ALLOW_PATTERNS not impacting CLIENT TRACKING? #144

Closed Answered by michael-grunder
dorrogeray asked this question in Support

You must be logged in to vote

So does this mean that if I have pool with 40 static php-fpm workers, and each of them connects to 3 master nodes of redis cluster and I set relay.max_endpoint_dbs=1, I will get a total of 1 connection with CLIENT TRACKING ON out of the total of 120 connections (40 x 3)?

yes, one in total which is probably not what you would want for cluster. We'd need to add some logic to allow the semantics of caching to one specific "cluster".

Could syscall pidfd_getfd also work for cli processes (ie cli workers consuming jobs from SQS)?

Yes you can grab an fd from any arbitrary process on the same machine. To share between arbitrary cli connections would require some mechanism in Relay to let it k…

Replies: 1 comment 6 replies

You must be logged in to vote
6 replies
@dorrogeray

@michael-grunder

@dorrogeray

@michael-grunder

Answer selected by dorrogeray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants