WaiveCar / Waivecar

Waivecar
https://waivecar.com
0 stars 0 forks source link

Api: Cleanout redis and make it part of the backup #1481

Open kristopolous opened 5 years ago

kristopolous commented 5 years ago

If we are serious about doing #1480 right, which would likely be through redis (it could also be mysql), we need to make sure that the redis store is treated not as some thing we can just totally ignore the values of (which it somewhat currently is).

kristopolous commented 5 years ago

as of this writing there's 63,295 keys with the following distribution

  39232 waive-car:auth
  10715 waive-car:queue
  13028 waive-car:schedules
    259 waive-car:shop
     44 waive-car:verification

this is kinda bullshit

kristopolous commented 5 years ago

For the scheduler we have the following:

     20 booking-free-timer
     24 booking-extension-reminder
     25 booking-free-timer-expired
    465 booking-complete-check
   3674 booking-extension-offer
   8804 user-liability-release