Wednesday, 2014-12-10

*** amitgandhinz has joined #openstack-zaqar00:37
*** amitgandhinz has quit IRC01:31
*** amalagon has quit IRC02:12
*** amitgandhinz has joined #openstack-zaqar02:34
*** amitgandhinz has quit IRC02:52
*** jeffrey4l has joined #openstack-zaqar03:16
*** kgriffs|afk is now known as kgriffs03:21
*** jeffrey4l has quit IRC04:32
*** achanda has joined #openstack-zaqar04:35
*** flwang1 has joined #openstack-zaqar04:36
*** jeffrey4l has joined #openstack-zaqar04:44
*** kgriffs is now known as kgriffs|afk04:52
*** jeffrey4l has quit IRC04:56
*** flwang1 has quit IRC04:57
*** achanda has quit IRC04:59
*** achanda has joined #openstack-zaqar05:01
*** achanda has quit IRC05:05
*** vkmc has quit IRC05:13
*** flwang1 has joined #openstack-zaqar05:14
*** jeffrey4l has joined #openstack-zaqar05:18
*** achanda has joined #openstack-zaqar05:19
*** flwang1 has quit IRC05:21
*** flwang1 has joined #openstack-zaqar05:25
*** achanda has quit IRC05:26
*** sgotliv_ has joined #openstack-zaqar05:26
*** sgotliv_ has quit IRC05:33
*** achanda has joined #openstack-zaqar05:52
*** achanda has quit IRC05:55
*** achanda has joined #openstack-zaqar05:56
*** flwang1 has quit IRC05:56
*** flwang1 has joined #openstack-zaqar05:59
*** sgotliv_ has joined #openstack-zaqar05:59
*** achanda has quit IRC06:00
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar: Imported Translations from Transifex  https://review.openstack.org/14024006:06
*** reed has quit IRC06:41
*** flwang1 has quit IRC06:59
*** sgotliv_ has quit IRC07:14
*** X019 has joined #openstack-zaqar07:58
*** sgotliv has joined #openstack-zaqar08:32
*** sgotliv has quit IRC09:02
*** flwang1 has joined #openstack-zaqar09:20
flwang1flaper87: ping09:21
flaper87flwang1: pong09:22
flwang1flaper87: how you doing?09:22
flaper87flwang1: doing great, you?09:22
flwang1flaper87: do you have a few minutes to have a quick look for https://review.openstack.org/#/c/139792/ ?09:22
flaper87sure, lemme check that09:23
flwang1not bad, working on the mongodb driver for notifications09:23
*** sgotliv has joined #openstack-zaqar09:23
flaper87flwang1: that looks good, it'd be good if you could put the base class and mongodb's one on the same patch09:24
flaper87it'd make it easier to review and find corner cases09:24
flaper87although, it looks good so far09:24
flwang1flaper87: ok, I just want to raise the code asap to get some feedback09:25
flwang1but i'm ok to submit them in a same patch09:26
flaper87flwang1: absolutely, thanks a lot for that09:26
flwang1flaper87: sure, thanks for review09:26
*** sgotliv has quit IRC09:53
*** sgotliv has joined #openstack-zaqar09:59
*** sgotliv has quit IRC10:16
*** sgotliv has joined #openstack-zaqar10:28
*** sgotliv has quit IRC10:31
*** sgotliv has joined #openstack-zaqar10:32
*** amalagon has joined #openstack-zaqar10:43
*** jeffrey4l has quit IRC11:27
*** jeffrey4l has joined #openstack-zaqar11:28
*** achanda has joined #openstack-zaqar11:59
*** malini has joined #openstack-zaqar12:02
*** malini has quit IRC12:03
*** bradjones has joined #openstack-zaqar12:03
*** malini has joined #openstack-zaqar12:05
openstackgerritMerged openstack/zaqar-specs: Workflow documentation is now in infra-manual  https://review.openstack.org/13940512:18
*** dynarro has joined #openstack-zaqar12:25
*** dynarro_ has joined #openstack-zaqar12:25
*** vkmc has joined #openstack-zaqar12:32
*** dynarro_ has left #openstack-zaqar12:32
vkmcgood morning :)12:33
flaper87vkmc: goooooooooooood morning12:33
vkmcflaper87, hiiiiiii o/12:37
dynarrogood morning ;)12:37
vkmcdynarro, hey there o/12:39
vkmcflaper87, if you have a moment later, wanted to discuss something about the protocol for websockets12:40
vkmcyes... I just joined and I'm already bothering you :D12:41
flaper87vkmc: yo yo yo yo yo!12:41
flaper87shoot12:41
* flaper87 can't believe how annoying this girl is12:41
flaper87:P12:41
vkmcwell, question is, do you think we have to add further control to the flow control?12:43
vkmcthat is12:43
* flaper87 sits tight12:43
vkmcimplement a buffer, have messages to control when a connection opens, control the time packages arrive the server, etc?12:43
vkmcwe obviously need some time to process the request12:44
vkmcin the poc jim came with a quite complex algorithm to do this12:44
vkmcand I was thinking... this should be part of the wire protocol spec12:45
flaper87what do you mean with "we obviously need some time to process the request" ?12:46
flaper87w.r.t the buffer thing, I think we'll have to implement something that'll allow us to "stream" message to the client but that could probably come later12:47
vkmce.g. when a message is received... inspect the headers to know what the client wants (send a message to the client), create the request instance, send it to the API, validate, send it to the storage backend, create a response, send the response12:47
vkmcthat requires time12:47
vkmcoh and I didn't add serialize and deserialize12:48
*** malini has quit IRC12:48
vkmcwith buffer I meant, incoming buffer12:50
vkmcʕ •ᴥ•ʔ12:58
vkmchmm the emoji didn't bring back flaper87 attention13:00
* flaper87 back13:00
flaper87ok13:01
flaper87there are definitely some things that must happen when the server gets a message13:01
* flaper87 thinking13:02
flaper87I'm not sure how that is relevant to what you're doing now13:02
flaper87I mean, the message headers are *in* the message dict13:02
vkmcthat's right13:03
flaper87(which is different from http)13:03
vkmcbut shouldn't we add control frames?13:04
vkmcwith low loads it doesn't matter13:04
flaper87I don't think so since messages are stateless anyway13:04
* flaper87 goes and reads jim's POC13:05
flaper87are messages stateful there?13:05
vkmcbut with high loads... there is a risk that one message takes a little longer or for some reason one message cannot be parsed and you may end up losing messages13:05
vkmcthe server has states in his poc, not the messages13:06
vkmcbut yeah, he carry those in the messages13:07
flaper87server side, it may not be necessary but probably client side, it is13:07
flaper87but again, we can identify message by having a msg-id or something13:07
* flaper87 digs into that13:07
vkmck, I'll try to do it without all that and run a rally benchmark on it13:08
vkmcsee what happens13:08
vkmcjust opening the connection and letting the client send messages13:09
flaper87ok13:10
* flaper87 reads the POC13:12
vkmcthe docs are a pseudocode, they are useful as well13:13
vkmc(btw, K1 is in one week)13:13
flaper87yeah13:13
flaper87:/13:13
vkmc:')13:13
*** achanda has quit IRC13:17
flaper87considering K-1 is next week, this looks really bad: https://launchpad.net/zaqar/+milestone/kilo-113:29
flaper87we seriously need to do more reviews13:30
vkmcagree13:30
vkmcbut we need to move forward with the implementations as well13:31
flaper87right but if we don't review, those implementations won't land :P13:32
flaper87https://review.openstack.org/#/q/status:open+project:openstack/zaqar,n,z13:32
vkmcyeah13:32
* flaper87 starts reviewing13:32
* vkmc does the same13:32
flaper87vkmc: reviewed your ws patch13:47
flaper87great start13:47
* flaper87 is so jealous, vkmc is having fun13:47
vkmclool13:47
vkmcthx flaper87 :)13:48
*** kgriffs|afk is now known as kgriffs14:00
*** jchai has joined #openstack-zaqar14:00
openstackgerritMerged openstack/zaqar: Imported Translations from Transifex  https://review.openstack.org/14024014:04
openstackgerritMerged openstack/zaqar: Removes ZMQ directory  https://review.openstack.org/14035914:04
vkmcflaper87, what's the difference of having a decorator to declare the abstract method and having abc with a dummy body? https://review.openstack.org/#/c/139073/4/zaqar/storage/base.py14:15
flaper87vkmc: abc is.... stupid14:19
flaper87Basically, if you decorate the method, it'll set a __abstractmethod__ attribute (or something like that) on the method14:20
flaper87which means doing something like: _list = my_decorated_method will make _list an abstractmethod as well14:20
flaper87:(14:20
flaper87I tried several different combinations and that one seemed to be the most readable and simple one14:20
vkmcI still don't understand :D hahaha14:22
vkmcwhat do you achieve by changing it that way?14:22
flaper87ah, you're asking why I went with duplicating those methods?14:24
vkmcyes14:24
vkmcthe outcome is the same AFAIU14:24
flaper87In that patch, it is14:25
flaper87The reason I did that is because for some methods we need to do some validations in the storage layer *before* we call the actual storage method14:25
flaper87for example14:25
vkmcohh... so the purpose will be seen in following patches14:25
flaper87yup14:25
flaper87:P14:25
flaper87"This is the first patch of a series of patches that will update all the storage controllers." <- I didn't write this for fun14:25
flaper87:P14:25
vkmckeep going though, I don't mind having some spoilers14:26
* flaper87 gives vkmc a cookie14:26
vkmcI know, I read it14:26
* vkmc takes the cookie and gives back a coffee14:26
flaper87I was going to say, one use case for it is having better support for pools/flavors and be able to switch storage's depending on their configs14:27
* flaper87 swears he had another use case in mind14:27
flaper87I just lost it14:27
vkmcso... for doing validations in the storage layer before calling the actual method14:29
vkmcyou override _method?14:29
vkmc(that's the bit I'm missing)14:29
*** amitgandhinz has joined #openstack-zaqar14:33
*** sriram has joined #openstack-zaqar14:36
vkmcflaper87, ^14:39
* flaper87 reads14:49
flaper87nope, storages now override `_method` instead of `method`14:49
flaper87and `method` will remain always the same, documented and used as reference.14:50
flaper87the use of `method` will be internal only14:50
vkmcmethod calls _method14:50
*** sgotliv has quit IRC14:53
*** malini has joined #openstack-zaqar15:06
*** achanda has joined #openstack-zaqar15:07
*** sgotliv has joined #openstack-zaqar15:10
*** kgriffs is now known as kgriffs|afk15:20
*** ametts has joined #openstack-zaqar15:32
*** achanda has quit IRC15:44
*** kgriffs|afk is now known as kgriffs15:51
*** achanda has joined #openstack-zaqar15:55
vkmcflaper87, so in which part of the flow you do the controls before calling the _method?15:55
vkmcI'm still with that15:56
*** kgriffs is now known as kgriffs|afk15:56
flaper87vkmc: in method15:57
vkmcok... so you end up overriding the method as well15:58
*** kgriffs|afk is now known as kgriffs15:59
*** achanda has quit IRC16:02
vkmcI assume that is how are tackling it16:09
*** achanda_ has joined #openstack-zaqar16:13
* flaper87 back16:17
flaper87vkmc: so, lemme start over with that16:17
flaper87drivers implementation will override the private methods16:18
flaper87driver implementations shouldn't override the public methods by any means16:18
flaper87the public methos belong to the base - or internal, if you will - implementation16:19
flaper87https://speakerdeck.com/flaper87/kilo-plans-for-openstack-messaging16:21
*** X019 has quit IRC16:24
vkmcthat is clear16:26
*** amalagon has quit IRC16:27
vkmcmy question was... how adding that wrapper changes the way you perform controls before calling the method16:27
flaper87it's not that patch that changes it, but it allows for changing it16:27
flaper872s16:27
vkmcsure16:28
vkmcI didn't want to review without understanding why that change was needed, but I trust your judgement16:28
vkmcgreat slides btw :) where are you presenting?16:29
flaper87already did, it's a on-line preso16:29
flaper87it'll be up in ~1h16:29
vkmcooooh :)16:30
vkmccool16:30
*** kgriffs is now known as kgriffs|afk16:31
flaper87http://paste.openstack.org/show/148785/16:31
flaper87vkmc: ^16:31
flaper87does that clear this out ?16:31
*** sgotliv has quit IRC16:32
vkmcthanks, it does16:32
vkmcmy concern is now that.. by doing that... you cannot perform controls for each driver differently16:33
vkmcbut probably that is what you are looking for16:33
flaper87what do you mean?16:33
flaper87you can do further checks in the `_list` method if you need16:34
*** kgriffs|afk is now known as kgriffs16:34
vkmcthat's ok16:34
vkmcno more concerns16:35
vkmcthanks16:35
*** X019 has joined #openstack-zaqar16:37
flaper87:P16:37
* vkmc STFU 16:37
vkmcits hard to follow what is in your mind16:38
*** jchai is now known as jchai_afk16:39
*** jchai_afk is now known as jchai16:40
*** mpanetta has joined #openstack-zaqar16:41
*** mpanetta has quit IRC16:41
*** dynarro has quit IRC16:44
*** sgotliv has joined #openstack-zaqar16:44
*** zhiyan has quit IRC16:46
*** kgriffs is now known as kgriffs|afk16:48
*** jchai is now known as jchai_afk16:50
*** amalagon has joined #openstack-zaqar16:53
*** mpanetta has joined #openstack-zaqar16:57
*** achanda_ has quit IRC16:58
*** achanda has joined #openstack-zaqar17:02
*** dynarro has joined #openstack-zaqar17:30
*** dynarro_ has joined #openstack-zaqar17:30
*** dynarro_ has quit IRC17:36
*** dynarro has quit IRC17:36
*** jchai_afk is now known as jchai17:50
flaper87https://twitter.com/flaper87/status/54273882293380710417:54
*** JAHoagie has joined #openstack-zaqar17:55
*** kgriffs|afk is now known as kgriffs18:02
*** zhiyan has joined #openstack-zaqar18:09
*** amitgandhinz has quit IRC18:15
*** flwang has quit IRC18:40
*** flwang has joined #openstack-zaqar18:52
*** amitgandhinz has joined #openstack-zaqar19:02
*** reed has joined #openstack-zaqar19:03
*** reed has quit IRC19:05
*** flwang1 has quit IRC19:09
* vkmc hears Zaqar's PTL talking about mythologies19:12
flaper87:P19:18
vkmcthat dud is crazy19:19
*** reed has joined #openstack-zaqar19:22
*** X019 has quit IRC19:25
flaper87LOL, isn't he ?19:27
vkmcjust finished listening to it, it was great19:28
vkmcI'm now scared about the [...]19:28
flaper87LOL19:28
flaper87Back to April 201519:28
vkmcENOUGH19:28
flaper87lmao19:28
vkmchahaha19:28
vkmcit would be really nice if we could make the integration with Horizon as well19:29
vkmcbut first things first... let's reach k-1 safe and sound19:29
*** kgriffs is now known as kgriffs|afk19:56
*** sgotliv has quit IRC20:00
*** flwang1 has joined #openstack-zaqar20:00
*** malini has quit IRC20:06
*** jchai is now known as jchai_afk20:08
*** echevemaster has joined #openstack-zaqar20:12
vkmcflaper87, I'm moving this to k-220:12
vkmchttps://blueprints.launchpad.net/zaqar/+spec/api-v1.1-user-guide20:12
vkmcwhen we start working on the apiv2, I'll wrap up docs for apiv1.120:13
flaper87vkmc: I moved it earlier today20:14
flaper87didn't I ?20:14
vkmcnope20:15
vkmcjust did20:20
vkmchttp://logs.openstack.org/22/136922/8/experimental/gate-rally-dsvm-zaqar-rally/d9fda1a/rally-plot/results.html.gz#/ZaqarBasic.producer_consumer/details20:22
flaper87omg, plots plots20:23
vkmcqueue creation produces the highest overhead20:23
vkmcwe have to get rid of queues dud20:23
* flaper87 should update that spec20:24
*** malini has joined #openstack-zaqar20:24
vkmcalso20:25
vkmcsomething interesting to know20:25
vkmcwith 1k ++ iterations20:25
vkmckeystone dies20:25
flwangvkmc: what did you mean 'queue creation produces the highest overhead'?20:28
flwangvkmc: I guess it's related to the record creating in database20:29
flwangis the rally test based on mongodb?20:29
vkmcflwang, the average time of queue creation is 0.45sec20:30
vkmcflwang, with peaks of 0.58sec20:30
vkmcflwang, while posting messages is 0.22sec20:30
flwangvkmc: yep, I saw it20:31
flwangit's interesting20:31
vkmcindeed20:31
vkmcits against mongo yeah :)20:31
vkmcit would be cool to try it with redis as well20:32
vkmcI'll do that in my local env and compare20:32
flwangvkmc: is it enabling pool?20:32
vkmcflwang, no20:32
flwangvkmc: ohhhhhhhhhhhhh20:32
flwangI was thinking the pool 'seeking' consumed some times20:33
flwangif we drop queues, then we may need rethink pool and a lot of stuff20:33
*** kgriffs|afk is now known as kgriffs20:34
vkmcyeah20:34
*** riveter has left #openstack-zaqar20:45
*** kgriffs is now known as kgriffs|afk20:48
*** kgriffs|afk is now known as kgriffs20:52
vkmcat first sight, this PS looks good https://review.openstack.org/#/c/132907/120:54
vkmcriveter has been waiting for a reply for too long :/ we should close that20:55
*** JAHoagie has quit IRC21:03
*** jchai_afk is now known as jchai21:04
*** malini has quit IRC21:08
*** achanda has quit IRC21:15
*** X019 has joined #openstack-zaqar21:23
*** kgriffs is now known as kgriffs|afk21:24
*** JAHoagie has joined #openstack-zaqar21:27
flaper87vkmc: why did she create a new review ?21:36
flaper87ah wait, this is something different21:36
flaper87nvm21:36
flaper87actually, it's not something different21:37
* flaper87 confused21:37
* flaper87 will review tomorrow21:37
vkmcflaper87, because kgriffs|afk asked to do the same with a different approach21:53
flaper87vkmc: yup, I remember asking the same21:57
flaper87but there was no need for a new review21:57
flaper87not a big deal21:57
flaper87I was just wondering if she knew it's possible to use the same change-id21:57
vkmcflaper87, probably she knew, but she wanted to create a different patch set just in case21:59
vkmcanyhow :)22:02
vkmcthanks for checking it out flaper8722:02
*** jchai has quit IRC22:05
*** JAHoagie has quit IRC22:31
*** sriram has quit IRC22:45
openstackgerritVictoria Martínez de la Cruz proposed openstack/zaqar: Adds websockets driver to Zaqar server  https://review.openstack.org/14015522:51
vkmcbbl22:53
vkmc\o)22:53
vkmc(o/22:54
*** JAHoagie has joined #openstack-zaqar23:13
*** amitgandhinz has quit IRC23:18
*** mpanetta has quit IRC23:53

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