Antonin GAVREL
Antonin GAVREL

Reputation: 11259

Implementing a Chat backend, what would be the best way to generate and retrieve room ids?

I wonder what are the pros and cons of the two approachs I am thinking about.

I think the second approach (using sequential IDs) make more sense as it takes less space into the database than by using the UUID.

Still I think there should be a better way than the two solutions I have envisioned, so I am looking for advice from engineers who have implemented or tinkered with such backend.

Upvotes: 0

Views: 56

Answers (0)

Related Questions