Another option would be to have N lists and have the client pick one
at random to add its cart key to and to process them iterate over the
lists to get all the carts. I am still concerned that adding an item
to a list would be slow since it requires reading the entire list,
adding the item and then putting it back, but if N is large this might
not be much of an issue. A large N would require more time to iterate
over all the lists, however, but perhaps that is not an issue in
practice.
Have anyone run into this problem before and have any advice to give?
Is Voldemort appropriate for this use case or should I be looking at
something else?
Thanks!
--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To post to this group, send email to project-...@googlegroups.com.
To unsubscribe from this group, send email to project-voldem...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/project-voldemort?hl=en.
I am also hoping that the problem can be solved without using
additional software to keep complexity down.
> > project-voldem...@googlegroups.com<project-voldemort%2Bunsubscr i...@googlegroups.com>
geir
> To unsubscribe from this group, send email to project-voldem...@googlegroups.com.
There are lots of options that work really well, from any of a number of solid JMS brokers (OpenMQ, ActiveMQ...) to RabbitMQ to that thing Twitter did (Kestral?) to ....
If you're feeling really lucky, you could use SQS...
geir
Sorry to be blunt, but I can not see how anyone would suggest building
your own queue implementation on a distributed key value store. Right
tool for the job and all that.
Even implementing queue using, say, Oracle is bit foolish; but that's
much simpler than nosql k/v stores.
If complexity bothers you, perhaps consider Amazon's Simple Queue
Service (SQS); it is very simple, highly scalable and reliable?
-+ Tatu +-
I highly recommend that you look into activemq 5.3
I have been able to use it with almost out of the box configuration -
swapped to the performance configuration in my production environment
with about 1000+ msg/s flowing throughout various queues in my
system.
Writing a consumer, and producer are trivial if you follow the
examples.
Tom