It wasn't me but the initial contributor. Roughly it was up to 20 times faster. I'll try to find and post them tomorrow.
On Wed, Jan 19, 2011 at 10:55 PM, Naveen Koorakula <[email protected]>wrote: > Hi Stanislav, > > I remember you'd posted some numbers about the performance gains you were > getting using the python bindings over the thrift api, but can't find them. > If you have them handy, would be great to get a sense for how much > performance gain you're seeing. > > Best, > --Naveen > founder & ceo, campfire labs. 415 425 5412. We're hiring! > http://www.campfirelabs.com/jobs > > > On Wed, Jan 19, 2011 at 4:58 AM, Stanislav Yudin <[email protected]> wrote: > >> Hello everyone. >> I've noticed that python bindings in contrib were never updated to work >> with HT >0.9.3.X. This is quite strange, since they yield huge performance >> gain over thrift. In our project we're using this binding a lot, so I took >> liberty to update them. My >> changes<http://github.com/AwesomeStanly/hypertable/tree/v0.9.4.3-cyclozzo>are >> based on doug's 0.9.4 tree (even 0.9.5 has no changes to contrib/cc >> since nov 13th 2008). >> Usage of binding had changed a bit, since the new class Namespace was >> introduced. >> >> client = ht.Client("/opt/hypertable/0.9.4.3/conf/hypertable.cfg") >> rootns = client.open_namespace('/') >> ns_list = rootns.get_namespaces() >> client.create_namespace('testspace', True) >> ns = client.open_namespace('testspace') >> tbl_list = ns.get_tables() >> ns.create_table('mytable', schema) >> table = ns.open_table('mytable') >> mutator = table.create_mutator() >> #do something... >> mutator.flush() >> >> So, python version follows C++ api, except of Namespace::get_listing. In >> python I've splited it into two separate methods: get_tables and >> get_namespaces. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Hypertable Development" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<hypertable-dev%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/hypertable-dev?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Hypertable Development" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hypertable-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hypertable-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hypertable-dev?hl=en.
