stchang / redis

A redis client for Racket.
17 stars 4 forks source link

Feature request: allow UNIX sockets instead of TCP #14

Open weskerfoot opened 8 years ago

weskerfoot commented 8 years ago

Forgive me if this is already possible somehow (I didn't see anything but TCP in the source code). Would it be possible to add support for UNIX sockets, as per http://download.redis.io/redis-stable/redis.conf ? My use case is that I need to reduce latency as much as possible in my app, so I want to make use of UNIX sockets to avoid the overhead of a TCP connection.

I'd be willing to implement this and send a pull request if you don't have time to do it, since I think it's a very useful feature.

stchang commented 8 years ago

A pull request would be most welcome!