sauravhiremath / juno-benchmark

Perform load testing to measure request-response latency for juno. Written in GO
3 stars 0 forks source link

UUID generation speed limited #5

Open sauravhiremath opened 4 years ago

sauravhiremath commented 4 years ago
rakshith-ravi commented 4 years ago

Why do you need a UUID for that? Just use the module-id along with a timestamp for that. Also, you shouldn't have to generate requestIds. The SDK does that for you

sauravhiremath commented 4 years ago

Can't use moduleID+timestamp as requestID coz the requests starting in parallel would have the same ID.

Also, I needed requestID when I initialize a connection. Later these connections will be used to send requests

rakshith-ravi commented 4 years ago

I fail to understand how the requestIDs can ever possibly be the same if they all have different moduleIDs. The moduleIDs are supposed to be unique, or you'll end up getting a DUPLICATE_MODULE error