Skip to content

Context & Device Performance Enhancements

Lluis Gifre Renom requested to merge feat/context-performance-scalability into develop

Manifests:

  • Updated CockroachDB manifests to always pull last 22.2.x version
  • Increased resources requested and limits for Device, Service and Slice components

Deploy scripts:

  • Minor cosmetic changes

Grafana Dashboards:

  • Added Grafana dashboard to plot time consumed by ConfigureDevice

Common - Method Wrappers:

  • Updated default histogram buckets for monitoring component's performance

Common - Tools - Context Queries:

  • Added generic queries for Connection
  • Extended generic queries for Device and migrated to new SelectDevice method
  • Extended generic queries for Service and migrated to new SelectService method
  • Extended generic queries for Slice and migrated to new SelectSlice method

Compute component:

  • Updated to use new generic context queries

Context component:

  • Separated ConfigRuleModel into Device/Service/Slice-ConfigRuleModel to reduce transaction contention
  • Separated ConstraintModel into Service/Slice-ConstraintModel to reduce transaction contention
  • Removed redundant indexes in *ConfigRuleModel and *ConstraintModel
  • Activated component placeholders in DeviceModel
  • Updated performance enhancements for CockroachDB
  • Updated and generalized helper methods for ConfigRule and Constraint
  • Implemented UnsetService gRPC method and backend logic
  • Corrected name of gRPC method handler "SelectDevices" to "SelectDevice"

Device component:

  • Removed unused customized histogram buckets per device driver
  • Added metric to plot performance of ConfigureDevice method and export results to Prometheus
  • Updated to use new generic context queries

Service component:

  • Removed unused customized histogram buckets per service handler
  • Corrected handler name in performance metric for L2NM IETF L2VPN service handler
  • Removed unneeded deconfig rules in L2NM OpenConfig service handler
  • Updated to use new generic context queries

Slice component:

  • Updated to use new generic context queries

WebUI component:

  • Updated to use new generic context queries
Edited by Lluis Gifre Renom

Merge request reports