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

Implement REPLICATED mode as a degenerated DISTRIBUTED mode (nowOwners>=clusterSize)


    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Critical Critical
    • 5.3.0.CR1, 5.3.0.Final
    • 5.2.0.Final
    • None
    • None

      This has already been done in the case of state transfer, where the distribution state transfer code is reused for replicated caches as well.

      The main reason behind this improvement is to simplify/reduce the code. Also there will be some additional benefits:

      • ATM in replicated mode, the JGroups coordinator always plays the role of main lock owner. The coordinator might get overwhelmed as it has to process the additional TxCompletionNotificationCommand on every transaction (direct consequence of being main lock owner). OTOH in distributed mode, the lock owner is spread between the cluster members.

      As an optimisation, on REPL mode, we can use multicasting (when on UDP) for message sending.

            anistor Adrian Nistor (Inactive)
            mircea.markus Mircea Markus (Inactive)
            0 Vote for this issue
            6 Start watching this issue