Consistency And Replication In Distributed System