I am working on a community portal that may in future cater to extremely large user base. All users have about 50 settings that needs to be stored to the user meta. These settings would be frequently accessed and overwritten with new values when the user saves changes to their profile.
This would lead to extremely large number of calls to update_user_meta courtesy: large user base and large number of settings per user.
Would these high number of calls to update_user_meta cause any performance degradation?
An alternative that I see, would be to write the user settings to an array and subsequently store the array to user meta using a single call to update_user_meta.
Which of the two appears to be a better solution?