Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

learn more… | top users | synonyms

0
votes
0answers
8 views

Dropped Connections on Websocket Tests

I'm using CargoMedia's Websocket-Benchmark package that I've modified to simulate having thousands of concurrent connections to the server. However when I do these tests, and start up a benchmark of ...
0
votes
0answers
10 views

Redis subscribe throwing exception

Based on the Test example PubSubServerDemo.scala (https://github.com/debasishg/scala-redis) to subscribe to a keyword, we used it in Spark Streaming. When we subscribe as sub("UPDATED_KEYWORD"), we ...
0
votes
0answers
11 views

Instantaneously sync data between two or more redis servers

I am running multiple redis servers, but I want to sync the data between multiple redis server with very less lag or no lag. To make a point I am using this model in the production. I am not able to ...
0
votes
0answers
13 views

how to configure redis slave-slave configuration

I am new to redis , I configured redis master-slave configuration, but i want to configure slave-slave configuration so that data will be in sync with across all the slave systems. Any suggestions ...
1
vote
1answer
15 views

redis-py subscribe blocked when read message

Recentlly i use python and redis to build a smarl messge-driven project. i use one thread to subsribe to redis channel(called message thread here); a timer thread; and a worker thread; when message ...
0
votes
1answer
18 views

REDIS - How can I query keys and get their values in one query?

Using keys I can query the keys as you can see below: redis> set popo "pepe" OK redis> set coco "kansas" OK redis> set cool "rock" OK redis> set cool2 "punk" OK redis> keys *co* 1) ...
1
vote
0answers
17 views

Redis publish in rails 4 stops server thread

Sorry for english, i'm newbie. Trying to use redis.publish feature with rails 4 and redis gem to push messages with SSE. I have this block in my controller logger.info "test1" $redis.publish ...
0
votes
0answers
25 views

Disabling ServiceStack Redis error logging

I'm working on an api based on ServiceStack, and have noticed recently that the connections created whenever the library puts an error into Redis is bogging down my system when I hit a chunk of errors ...
0
votes
0answers
12 views

What REDIS dataStructure to USe

I need to store User connection in redis UserId - int UserConnection <can be more than one> IsConnected- bool UserConnection ConnectionId -string UserAgent -string ConnectedTime ...
1
vote
1answer
33 views

How to LRU-cache numerous objects made of C++ STL heavy structures?

I have big C++/STL data structures (myStructType) with imbricated lists and maps. I have many objects of this type I want to LRU-cache with a key. I can reload objects from disk when needed. Moreover, ...
1
vote
1answer
22 views

Reconnection to Redis after reboot

I've a bunch long running processes that connect to a Redis server (using Jedis). Everything works fine as long as I don't reboot the machine running Redis or restart the Redis server. As soon as I ...
0
votes
0answers
7 views

In Redis, When using SORT command on list, can I get dicts by result (the result is keys or ids of dicts)?

For example: First, I store a Post to a dict, hmset post:1 title "foo" content "blahblahblah..." hmset post:2 title "bar" content "blahblahblah..." hmset post:3 title "baz" content ...
2
votes
2answers
20 views

why the return value of function socket or accept can be used as the subscript for array in redis

I read redis source below: int aeCreateFileEvent(aeEventLoop *eventLoop, int fd, int mask, aeFileProc *proc, void *clientData) { if (fd >= eventLoop->setsize) { errno = ...
1
vote
1answer
21 views

why the memory fragmentation is less than 1 in Redis

Redis support 3 memory allocator: libc, jemalloc, tcmalloc. When i do memory usage test, i find that mem_fragmentation_ratio in INFO MEMORY could be less than 1 with libc allocator. With jemalloc or ...
0
votes
0answers
20 views

Unable to integrate Redis with Codeigniter

I am using codigniter-redis library to use redis inside the codeigniter framework. I've put Redis.php( library file ) in applications/library and redis.php( config file ) in applications/config Here ...

1 2 3 4 5 206
15 30 50 per page