I have one primary and two secondaries on aws using ELB. What is best practice for reading and writing?
1) Do I create a single LB with all nodes in the ELB with the primary and secondaries and let the python (pymongo) deal with sorting out to read and write do?
2) Or do a place all secondaries under ELB and assign a primary to an elastic IP? This will require a script to keep track of node type and reassign if fail-over.
I am hoping for option 1.
Thanks