Wasting GUIDs?

Hello,

I'm not sure if this is the right place to post this question, but I've been having a look at MSDN and I couldn't really find out an answer to this question, and as I use GUID's following the examples of WF, I decided to ask here.

My question is: I create a new guid for every workflow I run (every purchase order). Now, for testing purposes, I create a limited amount of orders, say 20 - 30. But in the future maybe it would have to run 300 orders, and I don't understand exactly how it deals with GUID's. If a GUID is unique, as its name sais, then this means that once you use it once you can't use it again? I know that being a 128 bit string this gives a LOT of GUIDs, but isn't it a waste of resources to use a guid for every instance? Once you've been running the purchase service for a year you would have used a lot of guids... Unless it doesn't work the way I said and you can reuse guids, then that wouldn't be a problem...

Anyone can clarify the issue?

Thanks,

Rubn

[1033 byte] By [Samoyed] at [2007-12-24]
# 1

Hi,

Don't worry about wasting GUIDs , you'd have to have a very succesfull business to exhaust 2^128 values

At 300 workflows a day 365 days a year you can run for about 1e+56 years, should be enough

http://en.wikipedia.org/wiki/Guid

YvesLorphelin at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2

Hi Yves,

Thank you for your answer, I won't worry about wastin GUIDs anymore :-)

Rubn

Samoyed at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified