F
F
Fastto2011-11-01 20:32:35
NoSQL
Fastto, 2011-11-01 20:32:35

Problem with Redis

We use radish, we noticed a terrible thing - it takes ~ 20ms to connect

We try phpRedis - 23ms
predis - 20ms

How to reduce the connection time to almost zero?

At the same time - if '127.0.0.1' is specified in the settings, the time is ~ 50ms, if 'localhost' or the real ip of the network interface, then ~ 20ms

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
winnie, 2011-11-02
@winnie

Install current stable 2.4.2 and connect to radish via unix socket (unixsocket directive in radish config), versions from repositories are usually old, both in ubuntu and debian, so it's better to build. It should be a little faster if there is only one car.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question