Consistency in Distributed Networks