WebDevHere
WebDevHere

Reputation: 129

Unique job data in beanstalkd

I've been testing beanstalkd today and I am wondering is there anyway possible to make job data unique on beanstald tube? In other words, is it possible to make the tube have only unique values? If no, maybe someone could suggest me similar MQ system which have this feature.

Thank you in advance for your answers!

Upvotes: 0

Views: 396

Answers (1)

Pentium10
Pentium10

Reputation: 208002

Well what you are looking for is a SET and not a QUEUE.

  • Sets doesn not allow duplicate members.
  • Redis has Sorted Sets if you want to keep an order as in the queue

You can achieve what you want with Redis, read about Data types here:
http://redis.io/topics/data-types

Upvotes: 1

Related Questions