6 ms·
We have below setup. There are Global, Org, Store, User level settings type of <string,any> each. User has the highest priority over others and values are read
by user7878 2y ago
We have below setup.
There are Global, Org, Store, User level settings type of <string,any> each. User has the highest priority over others and values are read of highest to least priority and one final set of flags are fetched. When page loads we fetch them from cache(Browser + Backend - Redis) OR DB.
This works well with two tables in DB, CRUD APIs, UI for settings on various level.