Data store looks to be mostly just a json no-sql database, which we should be able to do some fun stuff with to make very fast lookups (no db joins etc), but right now we have stuff like the UserStore iterating over all users to get the user, and we are going to introduce more of this O(N) code.
Let's figure out what we can do with the data store and be able to make O(1) lookups.
Data store looks to be mostly just a json no-sql database, which we should be able to do some fun stuff with to make very fast lookups (no db joins etc), but right now we have stuff like the UserStore iterating over all users to get the user, and we are going to introduce more of this O(N) code.
Let's figure out what we can do with the data store and be able to make O(1) lookups.