As I know, Voldemort is a reference implementation of Amazon Dynamo,
which emphasize the eventually consistent. However, If I'd like to use
Voldemort as the Shopping Cart or Goods ordering system, How could I
ensure the consistency even there are multiple access towards the
share data, like quantity in store and cart items in shopping carts?
BR/anderson
> Hi, all
>
> As I know, Voldemort is a reference implementation of Amazon Dynamo,
Well, it's not really a "reference implementation" in the spec sense. It's just an implementation.
> which emphasize the eventually consistent. However, If I'd like to use
> Voldemort as the Shopping Cart or Goods ordering system, How could I
> ensure the consistency even there are multiple access towards the
> share data, like quantity in store and cart items in shopping carts?
I use it for shopping cart and handling order processing. We carefully designed as well as we could around the consistency issue, but it does actually come up from time to time. You just have to either build around it and accept the limits, or choose another solution.
One solution, which we're considering for a related use, is some kind of 'lock management' that is used along side V, but right now we're still in the handwaving/whiteboard phase...
geir
>
> BR/anderson
> --
> 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.
>
>
First of all, Thanks for you quick reply.
Second, I don't fully understand what you mean lock management
technology. One mind I learned from Amazon Dynamo paper is make read /
write operation always available, hence lock is evil. Why you
introduce lock in V?
At last, could you give a little hint on what you said carefully
designed for shopping cart and order processing? I think pseudocode is
enough for me to understanding.
BR/anderson