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
Looks like last stage when we pick up campaigns from the cache the complexity is O(N LogN) , for every matched campaign id N we use LogN complexity lookup in the last cached table ~ O(N LogN) .
Matching 20-30 campaign per request is within our benchmark goals however going above this number degrades performance.
Use relational cache entries to solve the issue , we should avoid last stage campaign lookup , rather have pointers saved in the preceding matcher cache and use those pointers to retrieve campaigns directly instead of performing O(LogN) lookup.
The text was updated successfully, but these errors were encountered:
venediktov
changed the title
O(logN) complexity needed when picking up matching campaigns
O(logN) complexity desired instead of O(N logN) when picking up multiple matching campaigns N>1
Mar 5, 2018
venediktov
changed the title
O(logN) complexity desired instead of O(N logN) when picking up multiple matching campaigns N>1
O(logN) complexity needed instead of O(N logN) when picking up multiple matching campaigns N>1
Mar 5, 2018
Looks like last stage when we pick up campaigns from the cache the complexity is O(N LogN) , for every matched campaign id N we use LogN complexity lookup in the last cached table ~ O(N LogN) .
Matching 20-30 campaign per request is within our benchmark goals however going above this number degrades performance.
The text was updated successfully, but these errors were encountered: