phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ash N <>
Subject Sequences vs UUID's
Date Tue, 02 May 2017 23:46:32 GMT

Distributed web application.  Millions of users connecting to the site.

we are receiving about 150,000 events/ sec through Kinesis Stream.
We need to store these events in a phoenix table identified by an ID the
primary for the table.

what is the best way to accomplish this?

Option 1
I played with sequences and they seem to work well.  Although with lot of
will the gaps be filled at all?  if not we will run out of IDs pretty soon.

Option 2

What is the best way to generate UUID's local or network?

How are folks typically handling this situation?

which route is recommended Sequences or UUIDs?


View raw message