Comments (4)
Predis v0.6.x does not offer the ability to use connections different from the standard TCP/IP based one. On the other hand, unix domain socket connections are already supported with v0.7.0-dev (the current master branch) but, as the version tag suggest, this version is actually far from being stable even if it passes the whole test suite, so I usually discourage to use it in production environments.
I might come up with something for the next patch release (v0.6.6) if it's not much work and, more importantly, if the needed changes do not lead to breaking changes of the public API with previous releases in the 0.6 series.
from predis.
Many thanks for your work! Please do work at your own pace - as you wish. I am convinced that the project is in safe hands:) I understand that you are aware of the problem and sooner or later everything will be implemented
from predis.
While working today on a complete overhaul of the network connection API for the next major version of Predis, I think I've come up with a decent way to provide Unix domain socket connection that should be compatible with the current implementation of the internals of v0.6.x. I'm not quite sure of it yet, I will test this later or tomorrow at worst.
from predis.
OK, I've added support for UNIX domain sockets in Predis v0.6 with this commit. This will be part of the next patch release (v0.6.6) but I don't know when I'll do the actual release. In the meanwhile I think you can use the library from the v0.6 branch (up to the above mentioned commit) since the changes are minimal and you shouldn't encounter any issue.
PS: I haven't aligned the php5.2_backport branch with these changes so let me know if you are using the backported version of Predis, I'll update that branch too.
from predis.
Related Issues (20)
- RESP3: Protocol parser: RESP2 and RESP3 reader integration tests
- RESP3: Commands integration tests
- RESP3: Setup clients to handle RESP3 responses
- Cannot use 'DEL' with redis-cluster. HOT 1
- RESP3: Sharded PubSub
- Key prefix is not used for GETDEL command
- RESP3: Push notifications
- count(): Argument #1 ($value) must be of type Countable|array, int given in HGETALL HOT 9
- Question
- Subscribe to a publoop with relay crashes HOT 2
- Tracking Issue: XGROUP container commands
- Add support for missing redis command XGROUP CREATE
- Add support for missing redis command XGROUP DELCONSUMER
- Add support for missing redis command XGROUP DESTROY
- Add support for missing redis command XGROUP SETID
- Add support for missing redis command XREADGROUP
- PHP 8.2 deprecation: Use of "static" in callables is deprecated HOT 2
- Use transaction to run multiple commands atomically, but one of the commands has not been executed HOT 3
- Clients should identify themselves on connect HOT 2
- JSONSET don't include PREFIX on key.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from predis.