Intro mongodb์ read preference์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. Read Preference? read preference๋ mongo db์์ replica set ์ค์ ์ primary, secondary์ ๋ํ ์ค์ ์ ๋๋ค. ์ด๋ฅผ ์ํด mongo db๋ 5๊ฐ์ง ๋ฐฉ๋ฒ์ ์ง์ํ๊ณ ์์ต๋๋ค. Read Preference ModeDescription primary Default mode. All operations read from the current replica set primary. Multi-document transactions that contain read operations must use read preference primary. All operations in a give..