首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Simple Python Queue Daemon

Simple Python Queue Daemon

  • 资源大小:1.56 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python queue distributeprogramming

资 源 简 介

Just a Simple Python Queue Daemon. The aim is to act as a server for a remote queuing system that supports multiple concurrent clients. The current version is based on a queue server that instantiates a dictionary of queues. The communication is XML-RPC based. Multiple clients can connect to the server and interact with the server creating/destroying/listing queues and pushing/popping items in the queues. The original Queue API has been reproduced, so the name of the methods, their parameters and the syntax is the same. Limitations: - the XML-RPC server accepts only one connection at a time - the methods are not handling errors yet (deletion of a queue that doesn"t exist etc.) - actually no errors handling at all Some ideas: - if the server is shut down, it should persist to filesystem (so implement recovery at the startup) - decouple from SimpleXMLRPCServer - allow multiple way to access (XML-RPC, REST) - pluggable backends (local Queue, Memcached,

文 件 列 表

spqd-0.1
client.py
README
server.py
TODO
VIP VIP
0.211042s