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, Dbux encoding/decoding is its biggest performance bottleneck.
Change to custom encoding/decoding → use type information to replace current array-of-dictionary approach
→ Should give many X of speed-up.
NOTE currently, all data is encoded as dictionaries, of which we can end up having millions and even more.
Currently: an array-of-object is actually stored as an array-of-dictionary, such as [{ veryLongProp1: 1, anotherPropHere: 2 }, { veryLongProp1: 3, anotherPropHere: 4 }, ...]
It should become something like { props: [ 'veryLongProp, anotherPropHere' ], data: [1, 2, 3, 4, ...] }
Profile the entire data transmission stack: which part takes how long?
Currently, Dbux encoding/decoding is its biggest performance bottleneck.
array-of-dictionary
approacharray-of-dictionary
, such as[{ veryLongProp1: 1, anotherPropHere: 2 }, { veryLongProp1: 3, anotherPropHere: 4 }, ...]
{ props: [ 'veryLongProp, anotherPropHere' ], data: [1, 2, 3, 4, ...] }
waitForAck
on clientSome More Notes
The text was updated successfully, but these errors were encountered: