You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if there has been discussion about using a faster json serialization library such as ujson (or rapidjson but it's not very backward compatible). It could speed up some APIs such as bulk indexing considerably. I haven't benchmarked it yet but just want to see if you are keen.
The text was updated successfully, but these errors were encountered:
Hi @limdauto, unfortunately not many of these json implementations are very stable in terms of error handling and other very important feature - ujson for example serializes object() as {} which can lead to very hard to find errors, rapidjson then throws a RuntimeError which could be very dangerous to try and catch.
For those reasons I don't see them as being implemented as part of the library any time soon. Especially since there is nothing stopping users from implementing the alternative serializers themselves:
Hi, I was wondering if there has been discussion about using a faster json serialization library such as ujson (or rapidjson but it's not very backward compatible). It could speed up some APIs such as bulk indexing considerably. I haven't benchmarked it yet but just want to see if you are keen.
The text was updated successfully, but these errors were encountered: