You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, decision log events are serialized to JSON before being buffered. This introduces significant overhead and reduces the number of events that can be buffered. We should investigate an alternative in-memory representation for decision log events that increases the number of events that can be buffered.
revision and path are likely the same across many events
decision_id is globally unique
timestamp is unique but may be relative to previous decision
input and result may be same across events but structure is not easily known to OPA
One alternative would be to compress the events before buffering them. If there's a streaming compressor that supports memory limits that would be easy enough to integrate.
The text was updated successfully, but these errors were encountered:
Currently, decision log events are serialized to JSON before being buffered. This introduces significant overhead and reduces the number of events that can be buffered. We should investigate an alternative in-memory representation for decision log events that increases the number of events that can be buffered.
Example scenario:
Sample decision log event:
Some notes about the event structure:
labels
do not changerevision
andpath
are likely the same across many eventsdecision_id
is globally uniquetimestamp
is unique but may be relative to previous decisioninput
andresult
may be same across events but structure is not easily known to OPAOne alternative would be to compress the events before buffering them. If there's a streaming compressor that supports memory limits that would be easy enough to integrate.
The text was updated successfully, but these errors were encountered: