Right now, the filename is just a UUIDv4 string. To make it easier to maintain the message queue order, we should prepend a unix timestamp of messages so as to make sorting on filenames consistent with order added to queue. This of course won't stop the iterator from being out of order, but it's more likely they'll be in order at least.
Right now, the filename is just a UUIDv4 string. To make it easier to maintain the message queue order, we should prepend a unix timestamp of messages so as to make sorting on filenames consistent with order added to queue. This of course won't stop the iterator from being out of order, but it's more likely they'll be in order at least.