Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-21657

Masakari Migration SPIKE 2 — Replacement of Eventlet Concurrency with Native Python Threading

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Normal Normal
    • 2026.1 (G)
    • None
    • masakari
    • None
    • Sprint 10
    • 1
    • Important

      Summary:
      Research and validate patterns to replace Eventlet's concurrency model with native Python threading, ensuring behavior consistency, context propagation, and proper resource management. 

      Goal:
      Success means identifying and validating threading patterns that can safely replace Eventlet greenthreads while supporting OpenStack context, logging, and stable thread lifecycle management.

      TimeBox:
      2 weeks (80 hours)

      Deliverables/Outcomes:

      • Documented threading patterns and recommended replacements for Eventlet primitives
      • Proof-of-concept implementation demonstrating migration feasibility on a selected Masakari component
      • Guidance for context propagation with threading aligned to OpenStack standards
      • Test patterns to ensure thread isolation and avoid leakage in unit/functional tests
      • Developer guidance on thread pool sizing and performance considerations

              hberaud Hervé Beraud
              hberaud Hervé Beraud
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: