Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-15615

Investigate Increasing Load And Scaling Solutions for Cedar

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: current_quarter
    • Component/s: plt
    • Labels:
      None

      Description

      Before expanding Cedar's participation in data collection for Evergreen, we should fully understand the consequences of increased load—the "where" and "why" of issues that arise. The current process of enabling Cedar features in different Evergreen or Evergreen-related subsystems and reverting as problems arise has been painstakingly slow and disruptive. Before enabling Cedar services in production, we should be as sure as we can possibly be that these services will work as expected and continue to do so under increased load.

       

      The main objectives of this investigation are to (1) fully understand the impact of increasing specific types of load (such as logging versus test results) and (2) figure out the next steps (for example, if this an architectural issue, maybe the data storage format is just not feasible and we will need to revisit its design entirely). 

       

      Next steps (in increasing order of difficulty):

      (1) Reduce database connections by caching application-wide, or "environment", values such as the application configuration and service's user username and apikey. (EVG-15550)

      (2) Investigate any other areas where we can reduce database connections. (EVG-15611)

      (3) Consider adding more service flags to quickly disable Cedar when something goes wrong in prod (this is mostly for resmoke where disabling requires a code change in the evergreen.yml). (EVG-15616)

      (3) Investigate the driver configuration. Are we do anything silly here, like unnecessarily limiting the max number of connections? (EVG-15612)

      (4) Investigate potential DB bottlenecks. (PRODTRIAGE-2133)

      (5) Stress testing in staging. While this will be the most time-consuming, it is arguably the most important since it will enable us to iterate quickly and give us the proper resources to analyze and understand real-life load impacts. (EVG-15614)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julian.edwards Julian Edwards
              Reporter:
              julian.edwards Julian Edwards
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: