3 ms·
An extra network call may not be a problem. The question is your own application's performance and how and how often your feature flags are checked. You'll have
by WorldMaker 10y ago
An extra network call may not be a problem. The question is your own application's performance and how and how often your feature flags are checked. You'll have to try a spike and figure out what your own performance needs may be.
Optimizing that is like optimizing any other database/network calls: find a caching strategy that makes sense for your application; avoid checks where you already know the answer or the answer doesn't matter anymore; find ways to bulk retrieve/cache a bunch of checks at the same time instead of one-at-a-time; etc.