ES is eventually consistent, so it may not make sense if you're latency
requirements are very strict.
If you can introduce a delay then it should work.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 22 May 2014 23:54, Matthias Feist <[email protected]> wrote:

> Hi Guys,
>
> I'm working on an online shop. Currently we are storing the cart's content
> in a MySQL Database so we can very easy access the amount of a certain
> product and determine the reserved quantity.
> This is very important as the amount in the user's carts is reserved so
> other users my not by them.
>
> What do you think: Is it wise to implement such a system in elasticsearch?
> I'm mostly worried about the time between the "add to cart" (inserting a
> document) and being able to access the total value due to the flushing
> delay.
>
> Thanks for your advice.
>
> Kind regards
> Matthias
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/0c48d418-b8b9-4d9a-b659-5aca07e60eb4%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/0c48d418-b8b9-4d9a-b659-5aca07e60eb4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624ZM_fk9i49SpQtRmb2rr5Xy6WV3omwsCB8baBh4tic3Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to