09:29:36 GMT hi, can someone help me with just one or two newbie questions, please 09:30:45 GMT can I have within 1 instance implemented like 2 or 3 pubsub queues? and next to this... some sort of data type which would allow me to store AND APPEND JSON files? 09:31:52 GMT So I would like to store cca 1000 "buckets" each unique by some ID, and then I would like to have 2-3 pubsub queues? 09:32:05 GMT is this something that I can do with one redis setup? 09:44:14 GMT anybody? 10:49:53 GMT tomaz_b: you can have arbitrarily many pubsub channels 10:50:13 GMT and Redis doesn't care about what the data it is. It doesn't even know about json (for the most part) 10:50:21 GMT so you can store and append as you will 10:57:53 GMT @badboy_: thanks! 11:11:43 GMT pubsub channel exists if there is some client subscribed to it. BUT what if all clients are down... and I have publisher who publishes there ... all those messages are going to "/dev/null", right? Can I publish and before that do a check .. .if channel exists, otherwise create it? 11:32:19 GMT badboy_: which part of redis knows json? 11:33:20 GMT The lua interpreter has a json library included 11:33:41 GMT tomaz_b: yes, if no one is subscribed, messages are lost 11:34:00 GMT no, you can't "create" it other than having a client subscribed 12:12:51 GMT can I update a specific value inside of a set. My set would store/contain JSONs as string. Can I update 1 of those JSONs? 12:19:41 GMT elements in a set are unique 12:19:50 GMT updating means deleting the old one and adding a new one 12:57:31 GMT I'm curious how to deal with the situation, when I use Redis as a cache. I update database and then I update redis and it fails 12:58:02 GMT are there any patterns to cope with such a problem? 13:03:36 GMT I set few key:value pairs into HASH. I am trying to figure out how MATCH works, but without luck. I thought I would be able to "match" those values that contains . So like.... hscan 0 match "*" 13:03:43 GMT this doesn't work 13:04:06 GMT values are strings (basically JSONs) 13:04:44 GMT I have a key value in this string (JSON) ... on which I would like perform a match. 13:07:15 GMT vseslav: what fails? 13:08:11 GMT badboy_, for example I have a code. First I get data and second I should update cache in redis. And the second operation fails 13:08:36 GMT or I update data in db and then I should update cache in redis. 13:09:11 GMT tomaz_b: MATCH only works on the field 13:09:58 GMT vseslav: that depends on your needs a bit 13:10:46 GMT try again a number of times; don't care and wait for it to expire anyway; explicitely try to delete the cache and try again later 13:12:06 GMT badboy_, I've been thinking about it. To use a queue. 13:12:44 GMT but I want use it as simple as I can 13:13:48 GMT without third-party services, queues and so on. Didn't want to reinvent a bike 14:04:26 GMT badboy_, anyway, thanks for answer! 23:21:44 GMT I'm doing redisCommand("MGET %s", key); and the reply is an array object with one element which is a string "(null)"... However when I connect with redis_cli and type MGET I get the expected number. What could be the problem?