harshraj22 / harshraj22/Dis-Sim
Optimize data population service
Open
enhancement
- Dominant language
- Python
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/harshraj22/Dis-Sim/blob/f6e283c753a1b1188798a27c480704add5a166b0/src/data_population/populate.py#L26
Currently data population service creates a new connection to db each time a user registers. It needs to fetch the details to update the redis. Creating and destroying db connections is costly. Optimize this step, maybe using db triggers, or using connections that are able to read changes made in databases.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.