meshery/meshery
[Server] Multi-threading: Enhance use of Open Policy Agent library beyond single thread
Aperta
#12.831 aperta il 3 dic 2024
area/performancehelp wantedissue/design requiredissue/willfixkind/enhancementlanguage/goopa
Metriche repository
- Star
- (10.013 stelle)
- Metriche merge PR
- (Merge medio 22g 16h) (332 PR mergiate in 30 g)
Descrizione
Current Behavior
Meshery embeds OPA as a library. This library is used in execution of Meshery policies and evaluation of Meshery entity relationships.
Desired Behavior
Improve relationship evaluation performance by way of multi-threading/multi-core.
Implementation
- Dispatch concurrent evaluation queries to different Goroutines/threads.
Refer to OPA performance documentation - https://www.openpolicyagent.org/docs/latest/policy-performance/#resource-utilization
Acceptance Tests
- Meshery Server evaluates multiple policies simultaneously in separate Goroutines/threads.
Contributor Guides and Handbook
- 🛠 Meshery Build & Release Strategy
- 📚 Instructions for contributing to documentation
- 🎨 Wireframes and designs for Meshery UI in Figma
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack