Commit 42082b91 authored by Irfanuddin's avatar Irfanuddin 🚴🏽
parents 0e0d1cd6 e25cebc1
......@@ -77,9 +77,48 @@ Sample Document:
### Tools to use:
1. Pycharm / VSCode
2. Pandas
3. Kairos
### Reference:
https://kairosdb.github.io/docs/restapi/QueryMetrics.html
https://pypi.org/project/kairosdb-python/
------------------------------------------------------
## Task 3: Working with MQTT & REDIS
# Description
Hospital with 'N' doctor's on duty,
Receptionist need's to assign new patient's in round robin order.
Patient treated by a doctor should be sent to same doctor in his next visit.
Consider N doctors as N Mqtt Topics,
Patient details sample format:
```json
{
"patient_id" : "patient_1",
"description" : "Fever",
"age" : 22,
"name": "Raju"
}
```
Use Redis for caching information
create a snippet which produces patient information to MQTT
create consumer's which consumes data from these topics and store to a redis db
### Tools to use:
1. Pycharm / VSCode
2. MQTT - (paho-mqtt)
3. REDIS - (redis)
### Reference:
https://www.emqx.com/en/blog/how-to-use-mqtt-in-python
https://docs.redis.com/latest/rs/references/client_references/client_python/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment