mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

Possibility to store the statistics API in Redis upstash #127

Open mazipan opened 11 months ago

mazipan commented 11 months ago

Is your feature request related to a problem? Please describe. We already use upstash, but for rate-limiter only.

Check if it's possible for us to store another data as a cache layer.

For instance, store the result of statistic API.

Describe the solution you'd like

https://upstash.com/docs/redis/howto/connectwithupstashredis

Since we mark the upstash installation as optional, make sure to by pass the process if the env is not present.