redisGroupMsg redis Queue multicast broadcast
redis Broadcasting to multiple queues
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)
Metadata
Release files for redisGroupMsg 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| redisGroupMsg-0.0.5.tar.gz | 2.3 kB | Without provenance | Details for redisGroupMsg-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redisGroupMsg-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for redisGroupMsg-0.0.5-py3-none-any.whl |
Total release size: 5.0 kB
Release files / redisGroupMsg-0.0.5.tar.gz
| Download URL | redisGroupMsg-0.0.5.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2801751aa08812ee76c0c891775ddb12ac5c77f3ac12295cd6ace70332a85903
|
|
BLAKE2b-256 checksum How to use checksums |
8a65a1c9aa7aa7d911229267f1182b4ca06f294dc50a468abb04b91c30b32812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / redisGroupMsg-0.0.5-py3-none-any.whl
| Download URL | redisGroupMsg-0.0.5-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57ee64bc32d5831762468e434627b135b1789dfdef4d9d78737bd82b5f474208
|
|
BLAKE2b-256 checksum How to use checksums |
2bf5de023fb6938337af0758c1655664026730f1e10fdbb47538ed7c2a9d57b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for redisGroupMsg 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.