OPA Performance
In this course, learn to write high-performance Rego policy for OPA and choose the right OPA deployment model for your use case. Topics include indexing, iteration, system performance, and integration overhead.
Agenda
Tips for using this course
Moderate-latency use cases
Check your learning: use cases
Number of rules to evaluate
Check your learning: evaluation
Complexity of each rule
Check your learning: complexity
Monitoring, profiling, and benchmarking
Check your learning: tools
References and resources
Lab set-up
Guided optimization
Further optimization
Integration architectures and overhead
Check your learning: system performance
Summary and next steps
More resources for you
Help us improve!
There can be quite a lot of depth to this topic, but this course is a concise and easy to follow overview of the most important concepts and techniques neede...
Read MoreThere can be quite a lot of depth to this topic, but this course is a concise and easy to follow overview of the most important concepts and techniques needed to get started optimizing the performance of OPA policies. It might be constructive to more explicitly discuss memoization, since most of the performance optimizations that you can make in OPA involve either explicitly memoizing the problem, or modifying your code so that the compiler can do so automatically. These techniques are covered, but aren't frame in the context of memoization. This could help people to gain a better theoretical understanding on what types of problems are going to be possible to optimize in Rego which are not, and why.
Read LessClear presentations of concepts, and helpful quizzes. (Is there a separate site with more quizzes like these, for additional study?) [Styra comment: Thank...
Read MoreClear presentations of concepts, and helpful quizzes. (Is there a separate site with more quizzes like these, for additional study?) [Styra comment: Thank you for the review and feedback, Lincoln! We will look into creating additional quizzes like these.]
Read Less