Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-36279

[Spike] Investigate better load balancing for relations

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      During load testing of relations-api, increasing the number of connections to the service of 3 pods would not always distribute load. This would almost always leave at least 1 or sometimes 2 pods idle while 1 pod serves all traffic.

      This was not seen with the 1 connection from our relations-api service to spicedb, where all 3 spicedb pods would be receiving traffic and handling the load.

      • Adding more connections doesn't necessarily load balance much better (one trial had 3 connections still go to the same pod)

       

      Investigate how the spicedb client is handling this, and can we do the same? https://github.com/authzed/consistent 

       

      Possibly open a connection for every request? 

              Unassigned Unassigned
              rh-ee-jmarcant Jonathan Marcantonio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: