On Tue, Mar 29, 2016 at 6:32 PM, Davide Setti <[email protected]>
wrote:

> On Tue, Mar 29, 2016 at 5:45 PM, Riccardo Magliocchetti <
> [email protected]> wrote:
>
>> One possible solution would be to write the JSON parsing in C, but I
>> can't write
>>
>>> proper C code anymore... :(
>>>
>>
>> Have you tried ujson? maybe it's fast enough and does not consume too
>> much memory
>>
>
> The problem is not the JSON decoder itself I guess, but keeping the whole
> structure in memory. It's a few millions dicts, and dicts are heavy...
> But I may be wrong, I've no numbers
>

Ok, looks like I was wrong:
https://blog.ionelmc.ro/2015/11/22/memory-use-and-speed-of-json-parsers/

-- 

Davide Setti
code: http://github.com/vad
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to