Skip to main content

本地队列模块

Project description

相对别的队列模块提高了执行速度并且减少了资源开销
Home-page: https://pypi.org/
Author: zlyuan
Author-email: 1277260932@qq.com
License: GNU GENERAL PUBLIC LICENSE
Description: 本地队列模块

为什么要做这个:
1.目前的队列模块在进行数据put时会将对象进行序列化为bytes数据, 然后通过socket发送给调用get
的进程, 然后再将bytes数据转化为原始对象, 中间会产生大量机器资源消耗, 并且费时间
2.别的队列模块在使用的时候, 如果put的对象被装饰器装饰过, 调用get的进程在对bytes数据转化的
时候会报错
本地队列作用:
1.使用方法类似于multiprocessing.Queue模块, 但是数据不会进行转换而是直接保存到一个列表中, 减少
了资源消耗, 并且提高执行速度
2.允许传入被装饰器装饰过的对象
缺点:
此队列的数据交换仅用于单个进程, 也就是说无法将数据共享到多进程或远程机器, 但是可以用于多线程

Platform: all
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

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

zqueue-1.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zqueue-1.2.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file zqueue-1.2.0.tar.gz.

File metadata

  • Download URL: zqueue-1.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for zqueue-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f45d0ab75b5163faf6f947ecf624476d4dcbf1603eff2de9d5f0a2e5da62d06a
MD5 f43f93defcdbd6f726c780ae549a98f7
BLAKE2b-256 4f96f2de25cfda54f16d30d5cd96f4e7b5548491b75afdcc0501f8962f4c634f

See more details on using hashes here.

File details

Details for the file zqueue-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: zqueue-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for zqueue-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 778e8eded4416d399a5df0cbe840813975b4b0da10036e55f7b97b27a34db49f
MD5 5f265015904ec81abacddc2dd11b0a38
BLAKE2b-256 81cafdb082daecda86361a36f3314986bacebba213ab2ee75f1e65d010d485bd

See more details on using hashes here.

Supported by

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