Skip to main content
Inspiring
February 16, 2023
Answered

AIUUIDSuite production readyness.

  • February 16, 2023
  • 5 replies
  • 1144 views

Dear fellow developers,

 

I'm using the AIUUIDSuite from the SDK.

While this is a really neet little suite, the API reference manual states:


This suite is in an experimental state, it is not completely production-ready.

 

I see copyright 2017 in the header as well as Version 3, so I'm guessing its allready pretty stable.

But should I worry about something?

 

Any body with some experience with this suite?

 

Thx in advance!

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer A. Patterson

Our plugin is one of the reasons that functionality got added so we've been closely involved with it from the get go. That may have been left initially because there were a bunch of bugs and oversights that had to be remedied. I can say that we've been using this in production for over a year. 

5 replies

A. Patterson
A. PattersonCorrect answer
Inspiring
February 16, 2023

Our plugin is one of the reasons that functionality got added so we've been closely involved with it from the get go. That may have been left initially because there were a bunch of bugs and oversights that had to be remedied. I can say that we've been using this in production for over a year. 

Doubl3Author
Inspiring
February 18, 2023

Thx for the anwer, it gave me confidence to use the suite.

While using uuid's with my project, I'm trying to use them in a different way.

I figurred out that the uuid itself is a char[16] and it could be converted to an int32_t as follows:

 

int32_t idInt = id.mData[0] + id.mData[1] * 256 + id.mData[2] * 256 * 256 + id.mData[3] * 256 * 256 * 256;

 

I also noticed that uuid's begin rather low like in the hundreds and increase uppon add or delete.

 

Is it save to make the following assumption? :

The conversion to int32_t and so its value will stay rather lowish (below a million...) and thus will never overflow? I know it will probably allraeady overflow at  id.mData[3] = 128 but like I presume will not happen...?

Even   id.mData[3]*256*256*256 seem to much extra calculation. 

 

What is your experience?

 

 

A. Patterson
Inspiring
February 18, 2023

We never look too closely at the values, just accept that they're unique and use them as tokens. I don't know how much I'd depend on any apparent pattern to their allocated value -- I presume they're using a UUID generator, and who knows when (or if) they might swap one out for another.