Python default json module is slow, there are faster third-party alternatives that follow the same interface as json.dumps/loads (sometimes 5x-10x faster).
It's common for JSON-intensive libraries to allow a user to specify a json module as argument (override the default json module.)
This would be very beneficial for socket apps that are parsing hundreds of requests per second.
Python default json module is slow, there are faster third-party alternatives that follow the same interface as json.dumps/loads (sometimes 5x-10x faster).
It's common for JSON-intensive libraries to allow a user to specify a json module as argument (override the default json module.)
This would be very beneficial for socket apps that are parsing hundreds of requests per second.