Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15220

Reduce segment size on RESP cache

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • 15.0.0.Final
    • RESP
    • None

      Currently, to mimic the clustered behavior of Redis, we utilize 2**14 segments. 
      See [1]. This causes too much allocation during the startup, check [2].
       
      We can create some "wrap around" our segments with a modulo operation to handle all 16K slots that Redis uses. This is necessary for clients to properly identify to which server to send a request.
       
       
      [1]: https://redis.io/docs/reference/cluster-spec/#key-distribution-model
      [2]: https://infinispan.zulipchat.com/#narrow/stream/118645-infinispan/topic/footprint/near/395264271

            rh-ee-jbolina Jose Bolina
            rh-ee-jbolina Jose Bolina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: