Correlation ID (TID)
1
@matterstech
@meetup_ms_paris
meetup.matters.tech
TID
What is it?
● Unique identifier
● A way to track any request in a distributed system
● Help to monitor production issues
2
@matterstech
@meetup_ms_paris
meetup.matters.tech
TID
How to build it?
● Use an algorithm to generate a unique value across the
system
● Make sure to have one for each request
● The TID must be generated by the API Gateway if it
does not exist before
3
@matterstech
@meetup_ms_paris
meetup.matters.tech
TID
What does it look like?
● Can be just a unique identifier
○ t45s5f4f5z#1
● Can be created with context
○ car4Driver5t100000
● Can be what you want if:
○ Still be unique for a defined duration
4
Any questions ?
@matterstech - @meetup_ms_paris
https://meetup.matters.tech
5

Correlation id (tid)

Editor's Notes

  • #5  1 er exemple: Identifiant aléatoire 2e exemple car 4, driver 5 and timestamp
  • #6 If you enjoyed the meetup, please tell it on twitter or meetup, and follow us to be updated ! DO NOT FORGET Question = MIC Answer = MIC