Thursday, 2016-02-04

*** amitgandhinz has joined #openstack-zaqar00:00
*** amitgandhinz has quit IRC00:07
*** achanda has joined #openstack-zaqar00:27
*** malini has joined #openstack-zaqar01:39
*** malini has quit IRC02:13
*** eliqiao_ has joined #openstack-zaqar02:51
*** eliqiao has quit IRC02:54
*** eliqiao has joined #openstack-zaqar03:33
*** eliqiao_ has quit IRC03:35
*** wxy_ has quit IRC04:06
*** wxy__ has joined #openstack-zaqar04:07
*** ryansb has quit IRC04:11
*** ryansb has joined #openstack-zaqar04:11
*** ryansb has quit IRC04:11
*** ryansb has joined #openstack-zaqar04:11
*** boris-42 has quit IRC04:11
*** ksheedlo has quit IRC04:11
*** ksheedlo-rax has joined #openstack-zaqar04:12
*** boris-42 has joined #openstack-zaqar04:18
*** cpallares has quit IRC04:19
*** bradjones has quit IRC04:19
*** cpallares has joined #openstack-zaqar04:19
*** cpallares has quit IRC04:19
*** cpallares has joined #openstack-zaqar04:19
*** bradjones has joined #openstack-zaqar04:21
*** bradjones has joined #openstack-zaqar04:21
*** jtomasek_ has joined #openstack-zaqar05:02
*** eliqiao_ has joined #openstack-zaqar05:05
*** eliqiao has quit IRC05:08
*** boris-42 has quit IRC05:13
*** csoukup_ has quit IRC05:31
*** csoukup_ has joined #openstack-zaqar05:32
*** exploreshaifali has joined #openstack-zaqar06:14
*** kgriffs is now known as kgriffs|afk06:25
*** kgriffs|afk is now known as kgriffs06:25
*** jtomasek_ has quit IRC06:40
*** kgriffs is now known as kgriffs|afk07:26
*** eliqiao_ is now known as eliqiao07:49
*** exploreshaifali has quit IRC07:57
*** achanda has quit IRC08:45
*** achanda has joined #openstack-zaqar08:48
*** openstackgerrit has quit IRC09:17
*** openstackgerrit has joined #openstack-zaqar09:17
*** achanda has quit IRC09:33
openstackgerritvenkatamahesh proposed openstack/zaqar: Use uppercase 'S' in word "OpenStack"  https://review.openstack.org/27612910:16
therveSeriously?10:25
*** mdnadeem has quit IRC12:53
*** mdnadeem has joined #openstack-zaqar12:54
*** flwang1 has joined #openstack-zaqar13:29
flwang1vkmc: ping13:30
*** david-lyle has quit IRC13:38
*** pradk has joined #openstack-zaqar13:42
*** barra204 has quit IRC14:04
*** shakamunyi has joined #openstack-zaqar14:06
*** sriram has joined #openstack-zaqar14:47
*** pradk has quit IRC14:56
*** pradk has joined #openstack-zaqar14:56
*** kgriffs|afk is now known as kgriffs15:00
*** ametts has joined #openstack-zaqar15:04
*** amitgandhinz has joined #openstack-zaqar15:04
*** achanda has joined #openstack-zaqar15:30
flwang1vkmc: pls ping me when you're available15:42
*** achanda has quit IRC15:42
*** malini has joined #openstack-zaqar15:50
*** csoukup_ has quit IRC16:04
*** david-lyle has joined #openstack-zaqar16:24
*** malini has quit IRC16:30
*** dynarro has joined #openstack-zaqar16:37
flwang1jasondotstar: ping17:35
jasondotstarpong17:35
*** flwang1 has quit IRC17:48
*** dynarro has quit IRC18:11
vkmcflwang, hey18:34
*** kgriffs is now known as kgriffs|afk18:57
*** david-lyle has quit IRC19:11
*** mpanetta has joined #openstack-zaqar19:18
*** csoukup has joined #openstack-zaqar19:18
*** kgriffs|afk is now known as kgriffs19:18
*** amitgandhinz has quit IRC19:25
*** amitgandhinz has joined #openstack-zaqar19:26
flwangvkmc:20:05
flwangany lucky you still around?20:05
vkmcflwang, HERE20:07
vkmc:D20:07
flwangvkmc: before you run away, pls review https://review.openstack.org/253731 and https://review.openstack.org/26566320:07
vkmcsure20:07
flwangand some other patches of zaqar client since I would like to cut a release20:08
flwangheat is keen to use the pre-signed url feature20:08
ryansbindeed we are :)20:09
vkmcallright!20:09
*** mpanetta has quit IRC20:21
*** amitgandhinz has quit IRC20:39
*** mpanetta has joined #openstack-zaqar20:40
*** malini has joined #openstack-zaqar20:41
flwangkgriffs: any lucky you around?20:53
*** malini has quit IRC20:56
kgriffswhat's up?21:05
flwangkgriffs: firstly, thanks for your answers for my questions. I'm still thinking how to reply it with more questions :)21:06
flwang2. i have several questions about the redis driver21:07
kgriffsheh. Well, I've been out of the loop for a while, so some of it may not make sense. :p21:07
flwangkgriffs: it's really helpful. and it's triggering me more thoughts.21:07
*** flwang1 has joined #openstack-zaqar21:08
flwangwe're using the gc command to collect some expired messages which should be removed automatically, right?21:08
flwangkgriffs: but seems we're not using the setex of redis to automatically expire a key21:09
flwangkgriffs: so my question is why do we need the gc for redis?21:11
kgriffsif I recall correctly, there was some edge case where not everything would be cleaned up. I don't know if it was performance-related or just for the data schema. There was a good reason, though. Maybe a limitation of an older version of Redis, but I can't remember for sure. I'd just be cautious in getting rid of it unless you are absolutely sure.21:11
flwangkgriffs: i'm not going to remove it. i just wondering how should i expire a key in redis. since now i'm working on the TTL issue of subscription21:14
flwangbut i haven't work out a way to do that21:14
flwangi prefer to use setex21:14
flwangbut seems messages are not using it, and it's has the gc(), so i'm a little bit confused what should i use for subscription TTL21:15
kgriffsI'd have to go back and look at the code to refresh my memory, but I want to say it had something to do with having a set of message IDs that needed to be cleaned up at the same time as the actual messages21:17
flwangkgriffs: https://github.com/openstack/zaqar/blob/master/zaqar/storage/redis/messages.py21:23
flwangkgriffs: it would be nice if you can take a quick a look21:24
kgriffsOK, it seems the issue is that the message ID list can not be expired as a whole, so we need to go through and manually check which ones correspond to expired messages, and remove them21:36
kgriffs(since Redis TTLs are key-based, and there is a list of IDs under a single key, some still viable, some not)21:36
*** pradk has left #openstack-zaqar21:38
flwangkragniz: that makes more sense. so when user post 10 msgs, zaqar will generate the auot-increament id for each msg and use one key to 'mange' them, is it?21:40
flwangkgriffs: ^21:40
flwangkgriffs: so does that mean for the subscription case, if one key maps to one subscription, then we should be able to use setex() to auto expire subscription?21:41
kgriffsright, that should work21:42
flwangawesome, i was hesitating to do that since i would like to know the background of messages, thanks for the clarification21:43
flwangit makes more sense now21:43
kgriffscool21:44
openstackgerritMerged openstack/python-zaqarclient: Add CLI support for signed URLs  https://review.openstack.org/25373121:53
*** amitgandhinz has joined #openstack-zaqar22:12
*** sriram has quit IRC22:39
*** david-lyle has joined #openstack-zaqar22:48
*** david-lyle has quit IRC22:52
*** amitgandhinz has quit IRC23:00
*** ametts has quit IRC23:22
*** csoukup has quit IRC23:33
*** mpanetta has quit IRC23:59

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!