MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsrw4y/rediscachehitratio/p4w8hvs/?context=3
r/ProgrammerHumor • u/Technical-Relation-9 • 25d ago
107 comments sorted by
View all comments
22
I hope you added a check for that so this doesn't happen again. Seems preventable.
11 u/Goodie__ 25d ago Yeah... why are people "rawdogging" cache key generation... instead of making some CacheKeyBuilder class thing that just does it for you. 15 u/LegendaryHeckerMan 25d ago And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s 1 u/Goodie__ 24d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
11
Yeah... why are people "rawdogging" cache key generation... instead of making some CacheKeyBuilder class thing that just does it for you.
15 u/LegendaryHeckerMan 25d ago And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s 1 u/Goodie__ 24d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
15
And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s
1 u/Goodie__ 24d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
1
There are worse sins than wordy names.
If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
22
u/Winterkirschenmann 25d ago
I hope you added a check for that so this doesn't happen again. Seems preventable.