1 Answer
- Newest
- Most votes
- Most comments
0
Save the FaceIDs that you already created in a DynamoDB table. When you need to create a user, try creating it first in DDB using conditional writes. If it succeeded, you will call CreateUser. If you fail, you will try to associate the face with the user. If it fails because the user is not yet created, wait a few seconds, and try again. This way only one instance will create the user.
Relevant content
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
@uri
So, you're asking to
Is this the correct flow you're suggesting?