摘要:This paper studies energy consumption in peer-to-peer protocols in the context of file distribution among border devices and wireless sensors, which are limited in processing power and battery duration. Gnutella, Chord, CAN, Pastry, and Tapestry protocols were compared to the client-server approach insimulations using SimGrid and Triva, analyzing the energy cost of message exchanging. The peer-topeerprotocols presented less consumption to distribute a file among 10 devices, and the best results were achieved by the Chord protocol. The client-server architecture presented the worst results, as expected, due to the high concentration of load in a single server. Processing costs of the Gnutella protocol were comparedto the client-server’s, with very similar results.Keywords: peer-to-peer, ubiquitous computing, green computing.