python - uuid with different languages -


on our system there's different routines different languages (mainly c++ , python) interacting on same database tables.

in python, uuid1 implementation (mac+time in ns) favorite since reduce (low still present) collision risk. mac address disclosing not problem in our context.
afaik, c++ implementation, boost lib instance, uuid4 equivalent (pseudo-random).

given implementation between uuid4 in python , c++ (or java if introduce in future) might different, suspect increase collision risks.

would mix python's uuid1 , c++/boost uuid4 ?
or go uuid4 on both language ?
or go uuid1 on both lib boost...

p.s.
proposed "duplicate question" not address question since newid , guid.comb not uuid1 nor uuid4 compliant (they mix time-based , pseudo-random bytes)


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -