Skip to content

ARD ID in DB

Patricia García edited this page Apr 29, 2023 · 1 revision

Storing user's ID in DB

Problem

For performance reasons, there are some data that should be stored in a centralized way, in other words, using our data base. For now, we have decided to store the user IDs this way.

Advantages

Storing this piece of information in this way, we can save the application some time wasting operations, such as having to scan all the users pods in order to retrieve the wanted ID. This ID will be used, for example, in friend requests.

Alternatives

We considered the option of storing the user ID in the user pod, but for performance reasons, this was discarded.