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
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
Current implementaiton of SQL filter for the transport have a needless complicated filter structure that could be simplified. This complex filtering has a heavy performance impact on the broker as all conditions of the rules are evaluated and no short circuiting is taking place.
Current SQL filter:
[{0}] LIKE '{1}%' OR [{0}] LIKE '%{1}%' OR [{0}] LIKE '%{1}' OR [{0}] = '{1}'"
Suggested simpler version:
[{0}] LIKE '%{1}%'"
The simpler version is logically equivalent to the original and covers all the cases.
The text was updated successfully, but these errors were encountered:
SeanFeldman
changed the title
Subscription rules are over-complicated and have a heafty performance impact on the broker
Subscription rules are over-complicated and have a hefty performance impact on the broker
Sep 27, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current implementaiton of SQL filter for the transport have a needless complicated filter structure that could be simplified. This complex filtering has a heavy performance impact on the broker as all conditions of the rules are evaluated and no short circuiting is taking place.
Current SQL filter:
Suggested simpler version:
The simpler version is logically equivalent to the original and covers all the cases.
The text was updated successfully, but these errors were encountered: