|
|
|
|
|
by Leftium
715 days ago
|
|
Sure, querying/storing the current logged in user is simple. Imagine rendering a single Reddit thread that contains comments by 100's of users from a set of millions of users. The problem is querying (and storing) the usernames, avatars, etc of other users to render the author info for all comments... and updating that information when any user updates their avatar, etc. That's what the user storage problem is. |
|
If you store claims when they login, and update when they update their profile you simply join users table to comments table.
That is no different than any other data in your system. You could have a view, or do the join in SQL to join Users + Comments when someone requests a page. Thats not really a problem is it?