[Bug 1737989] Re: [MIR] ujson?

gordon chung gord at live.ca
Thu Dec 14 16:48:17 UTC 2017


when we originally switched to it in gnocchi[1], a former colleague and
i were benchmarking its performance but i seemed to have removed my
benchmarks when i updated my computer. i would say
http://artem.krylysov.com/blog/2015/09/29/benchmark-python-json-
libraries/ is an accurate representation. for our use case, we got more
than than the 2x-10x improvement.

i would argue we probably don't need ujson in aodh (we merged it
recently so i imagine we could just revert that if required).

for ceilometer, we use it for gnocchi publisher and http publisher.
- the gnocchi publisher we arguably don't need it as it's only used in the event workflow (which is less frequent).
- the http publisher, well it's used for everything. so basically it's a matter of do we care to slow down http publisher that in theory isn't broken. i don't use the http publisher so i'm indifferent and i don't know how much of the workflow is serialisation time.

tl;dr if there is a patch to remove ujson from aodh, i'll +A. for
ceilometer, i'm indifferent and will +A depending on feedback.

[1]
https://github.com/gnocchixyz/gnocchi/commit/e7d8fafa77b0cef20b653020425c15be76e389b5

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ujson in Ubuntu.
https://bugs.launchpad.net/bugs/1737989

Title:
  [MIR] ujson?

Status in Aodh:
  New
Status in Ceilometer:
  New
Status in ujson package in Ubuntu:
  Incomplete

Bug description:
  [Availability]
  In universe

  [Rationale]
  New dependency for ceilometer (and aodh)

  [Security]
  No security history.

  [Quality assurance]
  py3: OK
  unit tests during build: OK

  [Dependencies]
  All in main

  [Standards compliance]
  OK; debhelper9, python2&3

  [Maintenance]
  ubuntu-openstack

  [Background information]
  High performance json parser; important for in-data-band processing of events for telemetry.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1737989/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list