Skip to content
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

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Support Server-assisted Client-side Caching #3757

wants to merge 33 commits into from

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    da9c463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ca0dd1 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Configuration menu
    Copy the full SHA
    5fa2c80 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. 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
    sazzad16 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    89617c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    6d4930f View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Fix transaction failure tests using mock (#3683)

    Now we have to mock Protocol#read(RedisInputStream, ClientSideCache) instead of Protocol#read(RedisInputStream).
    sazzad16 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fca975f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    d87fc6e View commit details
    Browse the repository at this point in the history
  2. 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
    sazzad16 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    3ab6bdc View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. 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
    sazzad16 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5f1d8c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cada22 View commit details
    Browse the repository at this point in the history
  3. 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
    sazzad16 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2480b02 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    26606b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. 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
    sazzad16 committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    333dcd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e66f498 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c02e5be View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Client-side cache related naming changes (#3758)

    Changes:
    1. CommandLongHashing is renamed to CommandLongHasher.
    2. Expanded the names of GuavaCSC (GuavaClientSideCache) and CaffeineCSC (CaffeineClientSideCache).
    sazzad16 committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1651b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b897094 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc35d45 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Format tabs in pom.xml

    sazzad16 committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    a2f5d16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39fc618 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    6a488b6 View commit details
    Browse the repository at this point in the history
  2. Use Experimental annotation

    sazzad16 committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    a4737e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    b7881ac View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Fix client side cache tests (#3799)

    Due to redis/redis#13167 
    
    * Fix JedisClusterClientSideCacheTest
    
    * Fix JedisSentineledClientSideCacheTest
    sazzad16 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    767fc01 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    3bd45a4 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    bb99c16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82c0226 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    6a1dfc8 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    27e1553 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    e45e4a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    103575d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a347d7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11ce88e View commit details
    Browse the repository at this point in the history