arthurprs / floki

Floki Message Queue
MIT License
91 stars 11 forks source link

Figure out if ticket based ack is actually usefull #7

Open arthurprs opened 8 years ago

arthurprs commented 8 years ago

Amazon SQS has the concept of a receipt that's different from the Message ID, its used to delete (ack) the message afterwards. Also, if a messages timeout a new receipt is generated and the old one can't be used anymore.

I tried to mimic the concept here with a different name (ticket) but I'm unsure if it's actually useful. I use/used SQS extensively and I never found this actually useful.

Removing this features allow Floki to store a little bit less inflight metadata in memory.

I appreciate any inputs on this.