Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Goals Prerequisites Steps 1. Bootstrap the tutorial environment using Docker Compose. 2. Load a policy into OPA. 3. Check that alice can see her own salary. 4. Check that bob...
Goals Prerequisites Steps 1. Create a policy bundle. 2. Bootstrap the tutorial environment using Docker Compose. 3. Check that alice can see her own salary. 4. Check that bob...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Goals Prerequisites Steps 1. Create a policy bundle. 2. Bootstrap the tutorial environment using Docker Compose. 3. Check that alice can see her own salary. 4. Check that bob...
TTL Indexes Introduction to TTL (time-to-live) Indexes Removing documents at a fixed period after creation / update Removing documents at certain points in time Format of date/ti...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...
Performance Premature optimization Avoiding memory allocations Don’t create intermediate strings when writing to an IO Use string interpolation instead of concatenation Avoid IO...