Data Structures and CAP Theorem