Sneedforo

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
Time for a cold storage?

Could do something like a TTL on last read or something
If greater than 14 days, put in cold object store
One thing to remember when you do your own caching layer that can store days of content is: Don't update the last read tag on every single read as if it's a busy object it will swamp the hell out of storage just writing update times. Only update it if the last read marker is more than a day old.

Similarly on cleanup, don't bother ordering all the objects by their last used time, just lump them into 1 day or 1 hour buckets and do the math to see how many you need to keep. In my case we didn't have a fixed duration cache just the amount of high speed storage we wanted to use for 'fresh' data.
 
How will stuff like user wall posts, banners and trophies migrate over to sneedforo
 
Back