-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Server-assisted Client-side Caching #3757
Commits on Dec 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for da9c463 - Browse repository at this point
Copy the full SHA da9c463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca0dd1 - Browse repository at this point
Copy the full SHA 0ca0dd1View commit details
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5fa2c80 - Browse repository at this point
Copy the full SHA 5fa2c80View commit details
Commits on Jan 8, 2024
-
Support for client-side caching - phase 2 (#3673)
* Code re-use? * Stop forcing to read push notifications before checking cache and remove BCAST * Rename variable * Remove ensureFillSafe() * Refactor peeking and reading push notifications * Cleanup comments
Configuration menu - View commit details
-
Copy full SHA for 89617c9 - Browse repository at this point
Copy the full SHA 89617c9View commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d4930f - Browse repository at this point
Copy the full SHA 6d4930fView commit details
Commits on Jan 11, 2024
-
Fix transaction failure tests using mock (#3683)
Now we have to mock Protocol#read(RedisInputStream, ClientSideCache) instead of Protocol#read(RedisInputStream).
Configuration menu - View commit details
-
Copy full SHA for fca975f - Browse repository at this point
Copy the full SHA fca975fView commit details
Commits on Jan 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d87fc6e - Browse repository at this point
Copy the full SHA d87fc6eView commit details -
Support client-side caching from UnifiedJedis (#3691)
* Support client side caching from UnifiedJedis * Support client side caching as a separate parameter * format imports * Support CSC in sentinel mode * undo change
Configuration menu - View commit details
-
Copy full SHA for 3ab6bdc - Browse repository at this point
Copy the full SHA 3ab6bdcView commit details
Commits on Feb 15, 2024
-
Client-side caching by hashing command arguments (#3700)
* Support TTL in client side caching (using Caffeine library) * Also Guava cache * format pom.xml * Client-side caching by command arguments TODO: Compute hash code. * send keys * todo comment for clean-up * rename method to invalidate * Client-side caching by hashing command arguments * Hash command arguments for CaffeineCSC using OpenHFT hashing * Clean-up keyHashes map * added javadoc * rename method * remove lock * descriptive name * descriptive names and fix * common default values in base class
Configuration menu - View commit details
-
Copy full SHA for 5f1d8c6 - Browse repository at this point
Copy the full SHA 5f1d8c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cada22 - Browse repository at this point
Copy the full SHA 4cada22View commit details -
Support Client-side caching through URI/URL (#3703)
* Support Client-side caching through URI/URL * check idx of '=' sign * nicer exception * edit/fix condition * rename param * Throw IllegalArgumentException at all such cases
Configuration menu - View commit details
-
Copy full SHA for 2480b02 - Browse repository at this point
Copy the full SHA 2480b02View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 26606b9 - Browse repository at this point
Copy the full SHA 26606b9View commit details
Commits on Mar 6, 2024
-
Support white-list and black-list commands and keys (#3755)
* Create csc package * Create csc.util package * Create a config interface for client-side caching * Default isCacheable * Config to WhiteList/BlackList commands and String keys * Create csc test package(s) * Test white-list/black-list commands and keys * Merge fix * Remove csc.util package * Fix javadoc links * Added ClientSideCacheable interface and removed ClientSideCacheConfig interface * Format imports * Re-create csc.util package * Rename to allow/deny instead of white/black
Configuration menu - View commit details
-
Copy full SHA for 333dcd7 - Browse repository at this point
Copy the full SHA 333dcd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e66f498 - Browse repository at this point
Copy the full SHA e66f498View commit details -
Configuration menu - View commit details
-
Copy full SHA for c02e5be - Browse repository at this point
Copy the full SHA c02e5beView commit details
Commits on Mar 10, 2024
-
Client-side cache related naming changes (#3758)
Changes: 1. CommandLongHashing is renamed to CommandLongHasher. 2. Expanded the names of GuavaCSC (GuavaClientSideCache) and CaffeineCSC (CaffeineClientSideCache).
Configuration menu - View commit details
-
Copy full SHA for 1651b26 - Browse repository at this point
Copy the full SHA 1651b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b897094 - Browse repository at this point
Copy the full SHA b897094View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc35d45 - Browse repository at this point
Copy the full SHA dc35d45View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a2f5d16 - Browse repository at this point
Copy the full SHA a2f5d16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fc618 - Browse repository at this point
Copy the full SHA 39fc618View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a488b6 - Browse repository at this point
Copy the full SHA 6a488b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4737e0 - Browse repository at this point
Copy the full SHA a4737e0View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7881ac - Browse repository at this point
Copy the full SHA b7881acView commit details
Commits on Apr 4, 2024
-
Fix client side cache tests (#3799)
Due to redis/redis#13167 * Fix JedisClusterClientSideCacheTest * Fix JedisSentineledClientSideCacheTest
Configuration menu - View commit details
-
Copy full SHA for 767fc01 - Browse repository at this point
Copy the full SHA 767fc01View commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3bd45a4 - Browse repository at this point
Copy the full SHA 3bd45a4View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb99c16 - Browse repository at this point
Copy the full SHA bb99c16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c0226 - Browse repository at this point
Copy the full SHA 82c0226View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a1dfc8 - Browse repository at this point
Copy the full SHA 6a1dfc8View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 27e1553 - Browse repository at this point
Copy the full SHA 27e1553View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e45e4a7 - Browse repository at this point
Copy the full SHA e45e4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 103575d - Browse repository at this point
Copy the full SHA 103575dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a347d7c - Browse repository at this point
Copy the full SHA a347d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11ce88e - Browse repository at this point
Copy the full SHA 11ce88eView commit details -
Fix incompatibilities with the latest RedisStack (#3855)
* Fix tests - Skip Graph tests - Fix JSON RESP3 test * JSON.GET behaves identically on RESP2 and RESP3
Configuration menu - View commit details
-
Copy full SHA for 6b9d338 - Browse repository at this point
Copy the full SHA 6b9d338View commit details
Commits on Jun 7, 2024
-
Revert "Fix incompatibilities with the latest RedisStack (#3855)"
This reverts commit 6b9d338.
Configuration menu - View commit details
-
Copy full SHA for a0b0c59 - Browse repository at this point
Copy the full SHA a0b0c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8310408 - Browse repository at this point
Copy the full SHA 8310408View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dbc6e4f - Browse repository at this point
Copy the full SHA dbc6e4fView commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92c09f3 - Browse repository at this point
Copy the full SHA 92c09f3View commit details -
Support RediSearch DIALECT 5 (#3831)
- [x] Avoid escaping at query time - [ ] Alias for tag fields (EXACT) - [x] Avoid repeating for numeral equality - [x] New dialect (5)
Configuration menu - View commit details
-
Copy full SHA for 33d4771 - Browse repository at this point
Copy the full SHA 33d4771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c898b8 - Browse repository at this point
Copy the full SHA 7c898b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef79d54 - Browse repository at this point
Copy the full SHA ef79d54View commit details
Commits on Jun 14, 2024
-
Support IGNORE and other optional arguments for timeseries commands (#…
…3860) * Re-implement TS.ADD command with optional arguments * Implement TS.INCRBY and TS.DECRBY commands with optional arguments * Support IGNORE argument for TS.[ CREATE | ALTER | ADD | INCRBY | DECRBY] commands --- * Cover optional arguments for timeseries commands - Re-implement TS.ADD command with optional arguments - Implement TS.INCRBY and TS.DECRBY commands with optional arguments * Introduce EncodingFormat enum for <COMPRESSED|UNCOMPRESSED> * Support IGNORE option and rename to TSIncrOrDecrByParams
Configuration menu - View commit details
-
Copy full SHA for ac18fd0 - Browse repository at this point
Copy the full SHA ac18fd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cba18c - Browse repository at this point
Copy the full SHA 5cba18cView commit details
Commits on Jun 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f136c6f - Browse repository at this point
Copy the full SHA f136c6fView commit details
Commits on Jun 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3534996 - Browse repository at this point
Copy the full SHA 3534996View commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 819447c - Browse repository at this point
Copy the full SHA 819447cView commit details -
Use CommandObject(s) as cache-key (#3875)
and remove hashing of CommandObject(s).
Configuration menu - View commit details
-
Copy full SHA for a89b2a9 - Browse repository at this point
Copy the full SHA a89b2a9View commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb75443 - Browse repository at this point
Copy the full SHA fb75443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d9c09e - Browse repository at this point
Copy the full SHA 3d9c09eView commit details -
Revert "[TEMPORARY] [TEST] Use redis-stack-server:7.4.0-rc1 image for…
… testing" This reverts commit 92c09f3.
Configuration menu - View commit details
-
Copy full SHA for 1c12fdd - Browse repository at this point
Copy the full SHA 1c12fddView commit details -
More tweak maximumSize test in CaffeineClientSideCacheTest
This reverts and modifies commit 3534996.
Configuration menu - View commit details
-
Copy full SHA for fed9aaf - Browse repository at this point
Copy the full SHA fed9aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94a2523 - Browse repository at this point
Copy the full SHA 94a2523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25ca055 - Browse repository at this point
Copy the full SHA 25ca055View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 148d4bb - Browse repository at this point
Copy the full SHA 148d4bbView commit details
Commits on Jul 25, 2024
-
Prepare client side caching - design 2 (#3889)
* Separate CacheConnection * Introduce CacheKey and CacheEntry * Little tweak maximumSize test in CaffeineClientSideCacheTest * Remove resetting timeout; we'll PING instead
Configuration menu - View commit details
-
Copy full SHA for 8b83218 - Browse repository at this point
Copy the full SHA 8b83218View commit details
Commits on Aug 13, 2024
-
Refactor Client-Side Caching implementation (#3900)
* adding a DataProvider to access connection from cache * resolve keys from commandarguments * clean up in unifiiedjedis and add csc test with ssl * - fix readtimeout exception with sockets for consuming invalidations pending in buffer - apply a default list of cacheable commands to DefaultClientSideCacheable - fix failing unit tests with cacheable / non-cacheable keys - remove formatting changes * - add serialization for cache instances - add unit test with UnifiedJedis - add benchmark for CSC execution - clean unused imports * - added 'Cache' interface and 'DefaultCache' implementation in regard to design doc - added 'EvictionPolicy' interface and LRU implementation - move cache object validation and cache control stuf from 'ClientSideCache' into 'CacheConnection' - make guava and caffeine caches experimental * - added SSLSocketWrapper and plug it to use 'available' - handle exceptions properly - fix some issues with unit tests * implementing thread safety * - fix eviction issue and add related test - fix consuming invalidation messages on a response read - introduce cachestats - fix potential issue with cacheKeysRelatedtoRedisKey cleanup - tests for sequential access, concurrent acces and maxsize * - renmae abstract cache class - add test case for returning new instance of cache object * - change order of execution in sequential acces test * - flush the cache on any disconnect - replace LRU policy references with EvictionPolicy interface - add some constructor overloads to enable custom eviction policies on cache * fix testcache * fix javadoc issue * - fix multithreaded eviction policy issue - update guava and caffeine implementations according to abstract cache
Configuration menu - View commit details
-
Copy full SHA for 229399f - Browse repository at this point
Copy the full SHA 229399fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f78fc08 - Browse repository at this point
Copy the full SHA f78fc08View commit details
Commits on Aug 15, 2024
-
Jedis test plan coverage for CSC (#3918)
* initial changes * cover tests for JedisPooled and functionality * fix javadoc * cover new tests for JedisCluster and JedisSentineled * Fix CSC allow-and-deny-list and rename Cacheable interface * Tag CommandArguments#getKeys() as Internal * cover lruEvictionTest * Address code reviews and more updates * fix format and more minor changes * format Connection * modify WeakReference usage
Configuration menu - View commit details
-
Copy full SHA for 9bddabd - Browse repository at this point
Copy the full SHA 9bddabdView commit details -
Use ExecutorService.shutdownNow() in tests (#3922)
* Use ExecutorService.shutdownNow() * More ExecutorService.shutdownNow() and other changes
Configuration menu - View commit details
-
Copy full SHA for 6707327 - Browse repository at this point
Copy the full SHA 6707327View commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ffdcba - Browse repository at this point
Copy the full SHA 6ffdcbaView commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb7e9fe - Browse repository at this point
Copy the full SHA eb7e9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 747e391 - Browse repository at this point
Copy the full SHA 747e391View commit details
Commits on Aug 28, 2024
-
Support caching null values (#3939)
* caching null results * add more assertion
Configuration menu - View commit details
-
Copy full SHA for e96e2e3 - Browse repository at this point
Copy the full SHA e96e2e3View commit details -
* add cacheconfig * remove empty file * -modify constructors with cache as public - trim guava caffeine * remove cachetype * - add getCache to UnifiedJedis - add builder method to CacheConfig * add evictionpolicy to cacheconfig * - unifiedjedis constructor with cacheconfig - wrap IOException on protocol read error * fix merge issue --------- Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 88cf9bc - Browse repository at this point
Copy the full SHA 88cf9bcView commit details -
Polish #3919 - address some pending change requests - Swap contructor placements - Fix grammar in exception message
Configuration menu - View commit details
-
Copy full SHA for 1d213bb - Browse repository at this point
Copy the full SHA 1d213bbView commit details
Commits on Aug 29, 2024
-
Adding Cache class to CacheConfig (#3942)
* adding cacheclass to cacheconfig * - add cachefactory test * - revert connection ctors to public - udpate some tests with UnifiedJedis.getCache - add ping to flaky tests * remove unnecessary anonymous types * change ctor access modifiers * fix test name * make cachefactory methods static * removing pings due to still flaky with inv messages * - drop CustomCache in tests and use TestCache - check null cacheable issue with defaultcache - support both ctors in custom cache classes regarding to value of cacheconfig.cacheable * remove unncessary maxsize * - remove inline anonymious
Configuration menu - View commit details
-
Copy full SHA for ce210ea - Browse repository at this point
Copy the full SHA ce210eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d369cf6 - Browse repository at this point
Copy the full SHA d369cf6View commit details
Commits on Sep 18, 2024
-
Server version check for CSC activation (#3954)
* checking server version for CSC * fix format change * fix noauth hello exception in integration tests * fix version check * remove redundant check * remove unused imports * 'toString' for Version * rename to RedisVersion * moving RedisVersion package
Configuration menu - View commit details
-
Copy full SHA for b94fdf2 - Browse repository at this point
Copy the full SHA b94fdf2View commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da236cf - Browse repository at this point
Copy the full SHA da236cfView commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fcde2ff - Browse repository at this point
Copy the full SHA fcde2ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec6ca7b - Browse repository at this point
Copy the full SHA ec6ca7bView commit details