Commit Graph

4 Commits

Author SHA1 Message Date
Aravinth Manivannan b7e3f7348c
create tmp cache directory if one is not specified 2021-11-02 16:03:10 +05:30
Aravinth Manivannan 817c997d4a
read cache path from config file 2021-11-02 15:47:55 +05:30
Aravinth Manivannan af3c43dbf5
Cache post data using sled
Each post fetch was taking 800ms TAT, so I'm using sled to fetch and
cache post data. This reduced TAT down to 2ms.

However, this could cause storage issues. I must design some sort of
resource manager to clean up cache.
2021-11-02 15:30:25 +05:30
Aravinth Manivannan 63bd10688c
reuse client object 2021-10-31 22:26:22 +05:30