Performance Optimizations Of Nosql Databases In Distributed Systems