Replies

Jun 21, 2020 5 years ago Official
Keith
is sweet
User Avatar
Eradication

We just made a change to our caching service to increase the speed on the site. We use a caching database called Redis to handle our caching needs (for example if you go to your inventory we make a saved version of that in our cache DB, so that when you come back it doesn't have to do a full lookup again).

By default redis has a policy to not remove items from the cache until they are expired which is a great default for either a very small site, or a huge site that can afford to continue adding redis nodes. There is some complicated math here, but each node you add adds ~20% more capacity (because they have knowledge of each other, and the cache in each spread out) and isn't a great solution for us.

Today we set the expiration to allkeys-lru, which means when it hits the limit it will start removing old cache keys that haven't expired yet (example: we cache your wardrobe for 3 days) to make space.

Why did this just become an issue

When we mad our final server move a few months ago, we made choices preparing for the future. Our redis instance just hit its maximum (many, many GB) last night and was attempting to continue adding to the cache. It took us months to hit our limit, and by removing older keys we've added about 50% more overhead.

More importantly we've been investing in our monitoring and reporting, so now have monitoring set up for this particular failure mode and and I will get alerts via email and slack if we start to approach this boundary again.

TLDR Our cache filled up and didn't know how to get itself out of the situation, and it took manual intervention. We have changed the expiration policy, and have monitoring for this case going forward.

💖 ✨ 🤗

Jun 21, 2020 5 years ago
Fairy Catcher
Beowulf
User Avatar

Thank you for the update!

Jun 21, 2020 5 years ago
Damon
is a demon
User Avatar
Evee

Thanks for the details and fixes.

Jun 21, 2020 5 years ago
MatrixedAgain
is never gunna give you up
User Avatar

Thank you for the update!

Jun 21, 2020 5 years ago
Star Captain
Anrivef
User Avatar

Thanks for the technical details!

Jun 21, 2020 5 years ago
Trickster
is booty-ful
User Avatar

Thanks for the update ♥

[box=#D1959B] [Center] Into the one eared hare's bag (Just another CW shop) Oskar's sprite by
[/center][/box]

Jun 21, 2020 5 years ago
Nobody puts
amethyst227
in a corner
User Avatar
AmethSong

Thank you for all you do! :)

Jun 21, 2020 5 years ago
pink_dolphin
is a billionaire
User Avatar

Thanks for the update.

[kiss=pink_dolphin or harvest pink_dolphin]

Jun 21, 2020 5 years ago
The Plushie Collector
Marttie
User Avatar
Pauley

Thanks for the update!

to whoever sent me 1 week gold, I owe you my life.

[tp=Marttie] [egg=Marttie] [tot=Marttie]

Jun 21, 2020 5 years ago
Targaryen
has a dragon
User Avatar
Dreamfyre

Thanks for the update!

Jun 21, 2020 5 years ago
Rumi
has ALL of the stickers!
User Avatar
Kadomar

Thank you for fixing things on a Sunday <3

🌻CWs 4 sale & CS CWs🌻

Jun 21, 2020 5 years ago
Amaranth
is a mirage
User Avatar

Thank you very much for the update and clarification on what was occurring behind the scenes. c:

Jun 21, 2020 5 years ago
NEVER feed
BoaConstrictor
after midnight!!
User Avatar
SapphireSeasGoddess

So, is this connected to all the other issues that have popped up over the past few days?

Jun 22, 2020 5 years ago
Oasis
parties with the undead
User Avatar
Percrucior

Thanks for the updates and fixes!

Like a good neighbor, stay over there!

Jun 22, 2020 5 years ago
gatorgirl
thinks every day is taco tuesday
User Avatar
Kikstar

Thanks for the information. It's always appreciated.

Jun 22, 2020 5 years ago
Adventure Captain
Petcollector
User Avatar
My_Sammy

I'm a tad confused about what this means, but thanks for the update.

Formerly known as its_just_me
(I started in March)

Wine is the answer
What was the question?

Jun 22, 2020 5 years ago
yellowdream
User Avatar
Jake_

Thank you,xx

[tot=yellowdream]

Jun 22, 2020 5 years ago
Chrysariel
is magical
User Avatar
Khan

Appreciate the info and update! :)

[Kiss=Chrysariel] Wishlist Come check out my shop! =<^.^>= Always willing to haggle if the price is right. : Looking for and

Jun 22, 2020 5 years ago
chookie
has a dragon
User Avatar

thanks for the update and the hard work ❤

lovely art by "grey would be the colour if i had a heart" ~nin ❤️ my stylefile

Jun 22, 2020 5 years ago
Jules
is ZOMBIE LONG TIME
User Avatar
Sapherea

Thank you!

Please log in to reply to this topic.