This is a packet that broadcasts redis multiple queues
Project description
Recently, I’m going to do something like chat software. After a lot of testing, I’ve done this thing.
Performance is 13 times faster than py direct circular transmission
install
pip install redisGroupMsg
push msg
python
from redisGroupMsg import redisMessage
r = redisMessage()
if __name__ == '__main__':
for a in range(1,10):
e = "id:"+str(a)
# add queue of group
# r.addGroup("test",e)
# send message in group queue
# r.sendGroup("test",e)
# remove queue on group
r.removeGroup("test",e)
pop msg
python
from redisGroupMsg import redisMessage
r = redisMessage()
if __name__ == '__main__':
conn = r.conn
msg = conn.rpop("id:1")
print(msg)
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
redisGroupMsg-0.0.5.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redisGroupMsg-0.0.5.tar.gz.
File metadata
- Download URL: redisGroupMsg-0.0.5.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2801751aa08812ee76c0c891775ddb12ac5c77f3ac12295cd6ace70332a85903
|
|
| MD5 |
75a2685685c44d1010e32bb312a81be5
|
|
| BLAKE2b-256 |
8a65a1c9aa7aa7d911229267f1182b4ca06f294dc50a468abb04b91c30b32812
|
File details
Details for the file redisGroupMsg-0.0.5-py3-none-any.whl.
File metadata
- Download URL: redisGroupMsg-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57ee64bc32d5831762468e434627b135b1789dfdef4d9d78737bd82b5f474208
|
|
| MD5 |
4ffd20e52cd3c2e3d257d6dbb052fd86
|
|
| BLAKE2b-256 |
2bf5de023fb6938337af0758c1655664026730f1e10fdbb47538ed7c2a9d57b3
|