I was just looking at the following example in the documentation for a chat 
usage case:

http://orientdb.com/docs/last/Chat-use-case.html

>From my understanding, however, this usage case would not work in a 
distributed environment due to the multiple clusters.

ie. "  select from ItalianRestaurant order by @rid desc skip 0 limit 50 "

The order would likely be incorrect based on which clusters the latest 
entries are in (only entries from the highest cluster ID would be 
included).  
It seems that one would need a pseudo auto-increment field in such case:

http://orientdb.com/docs/last/Sequences-and-auto-increment.html

It would be great if the Chat use case could be updated with the best 
practice to use for a distributed setup.

Thanks!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to