The Cap Theorem And Nosql Tradeoffs