Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
interns2022
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jhenkar.hg
interns2022
Commits
42082b91
Commit
42082b91
authored
Apr 04, 2022
by
Irfanuddin
🚴🏽
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab-pm.knowledgelens.com/iudeen/interns2022
parents
0e0d1cd6
e25cebc1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
assignments/Web-UI Assignments/.gitkeep
assignments/Web-UI Assignments/.gitkeep
+0
-0
assignments/assignment1.md
assignments/assignment1.md
+39
-0
No files found.
assignments/Web-UI Assignments/.gitkeep
0 → 100644
View file @
42082b91
assignments/assignment1.md
View file @
42082b91
...
@@ -77,9 +77,48 @@ Sample Document:
...
@@ -77,9 +77,48 @@ Sample Document:
### Tools to use:
### Tools to use:
1.
Pycharm / VSCode
1.
Pycharm / VSCode
2.
Pandas
2.
Pandas
3.
Kairos
### Reference:
### Reference:
https://kairosdb.github.io/docs/restapi/QueryMetrics.html
https://kairosdb.github.io/docs/restapi/QueryMetrics.html
https://pypi.org/project/kairosdb-python/
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/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment