5ivePoints: 130 Million Voters and Counting

5ivePoints: 130 Million Voters and Counting

Daniel Weitzenfeld

May 23, 2012

At 5ivePoints, we have a MongoDB database with 85+million US voters, every one of them geocoded. Our application allows supporters of political campaigns across the country to pull up nearby voters on their mobile phone to canvas. Moreover, campaigns can create custom filters using any combination of voter attributes, and we provide data-driven filters that update in near real-time based on campaign results. But with a collection of this size, each index is on the order of GBs, and un-indexed queries aren't feasible. I'll discuss how we are able to support flexible user queries - integrating both geo-spatial and other attributes - with only 4 indexes, minimizing page faults caused by pulling rarely-used indexes into memory.

MongoDB World for Giant Ideas
June 20-21 Chicago, IL

MongoDB World is where the world’s fastest growing database community comes to connect, explore, and learn. Join us for hands-on and deep-dive technical sessions, giving you the tools you need to build and deploy your giant ideas.