Multiple applications accessing the same mongodb instance -


application opens mongodb , reads document. document exists in application a's memory. application b, perhaps running on different box (but in case mock running in different process on same box) inserts data document. when application see application b's change?

mongo configured use safe writes , journal. there 1 shard.

mongo updates written journal, updates data file can take 60 seconds (syncdelay=60). how supposed work when 2 different applications share same instance?

when queries document again.

you should take @ writeconcern using.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -