Skip to main content

Key-value-based, HMAC-signed, non-blocking sockets for Python

Project description

jsock

Key-value-based, HMAC-signed, non-blocking sockets for Python

Installation

Usage

Please check example.py.

Serializer/deserializer Benchmark

Check benchmark.py.

  • json:
    • send: 60005.29 op/s
    • recv: 79790.10 op/s
    • total time: 1.459s
  • simplejson:
    • send: 50552.37 op/s
    • recv: 83004.80 op/s
    • total time: 1.591s
  • msgpack:
    • send: 93561.46 op/s
    • recv: 145995.07 op/s
    • total time: 0.877s
  • pickle:
    • send: 87664.16 op/s
    • recv: 136931.65 op/s
    • total time: 0.935s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsock-0.1.0.linux-x86_64.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distributions

jsock-0.1.0-py3.8.egg (3.0 kB view hashes)

Uploaded Source

jsock-0.1.0-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page