Thanks Insite. I am not using mySQL for this part of the code. Instead I am using dynamoDB. I am concerned about something though. Right now I am using uniqid(). I am sometimes writing out 10 record at a time in rapid sequence. Besides the fact that for right now control doesn't come back to the user for say 10 seconds, I am concerned that two records will get the same uniqid.
Right now I am on my localhost testing the CI code but with the live dynamoDB. So there is the delay. But this thing will be hosted on Amazon Lightsail which I think will probably have much higher transfer speeds to dynamoDB. if uniqid() is based on number of seconds, that might mean two records will have the id and thus the second will fail to be written.
For right now, with the delay due to upload speed, all is AOK. Thx.
proof that an old dog can learn new tricks