Database Reference
In-Depth Information
There is a simple hack to avoid errors and perform write operations after the election pro-
cess. You can use a queuing module in your programming language to put write opera-
tions in a queue if they are faced with an error, and you can try to write operation them in
an interval. With this approach, not only you can fix the issue with the election process,
but you can also provide a highly available application.
The following diagram shows this queue and relations between clients and the MongoDB
engine:
Search WWH ::




Custom Search