centralized and decentralized architecture in distributed system