The current JSON-RPC query result cache doesn't have any eviction mechanism and wasn't designed with high current load in mind. This adds a more sophisticated caching library, changes caching logic to do retrieval in one go instead of separate retrieve + save and adds protection against cache stampede.
The current JSON-RPC query result cache doesn't have any eviction mechanism and wasn't designed with high current load in mind. This adds a more sophisticated caching library, changes caching logic to do retrieval in one go instead of separate retrieve + save and adds protection against cache stampede.
Closes #394.