Как стать автором
Обновить
2
0
Konstantin Silaev @silaev_ka

User

Отправить сообщение

Run MongoDB Atlas locally for testing

Время на прочтение5 мин
Количество просмотров1.8K

What happens to your MongoDB replica set when it comes to failures like network partitioning, restarting, reconfiguration of the existing topology, etc.? This question is especially important these days because of the popularity gained by the multi-cloud model where chances of these scenarios are quite realistic.


However, is there a solution, preferably a free one, for testing such cases that would obviate the need of writing manual scripts and poring over the official documentation? As software developers, we would be better off preparing our applications in advance to survive these failures.

Read more →
Рейтинг0
Комментарии0

The Testcontainers’ MongoDB Module and Spring Data MongoDB Reactive in Action

Время на прочтение19 мин
Количество просмотров5.2K

1. Introduction


How can I easily test my MongoDB multi-document transaction code without setting up MongoDB on my device? One might argue that they have to set it up first because in order to carry out such a transaction it needs a session which requires a replica set. Thankfully, there is no need to create a 3-node replica set and we can run these transactions only against a single database instance.

Read more →
Рейтинг0
Комментарии0

Информация

В рейтинге
Не участвует
Зарегистрирован
Активность