skip to main content
10.5555/1251175.1251177guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Trickle: a self-regulating algorithm for code propagation and maintenance in wireless sensor networks

Published: 29 March 2004 Publication History
  • Get Citation Alerts
  • Abstract

    We present Trickle, an algorithm for propagating and maintaining code updates in wireless sensor networks. Borrowing techniques from the epidemic/gossip, scalable multicast, and wireless broadcast literature, Trickle uses a "polite gossip" policy, where motes periodically broadcast a code summary to local neighbors but stay quiet if they have recently heard a summary identical to theirs. When a mote hears an older summary than its own, it broadcasts an update. Instead of flooding a network with packets, the algorithm controls the send rate so each mote hears a small trickle of packets, just enough to stay up to date. We show that with this simple mechanism, Trickle can scale to thousand-fold changes in network density, propagate new code in the order of seconds, and impose a maintenance cost on the order of a few sends an hour.

    References

    [1]
    {1} K. P. Birman, M. Hayden, O. Ozkasap, Z. Xiao, M. Budiu, and Y. Minsky. Bimodal multicast. ACM Transactions on Computer Systems (TOCS), 17(2):41-88, 1999.]]
    [2]
    {2} J. Byers, J. Considine, M. Mitzenmacher, and S. Rost. Informed content delivery across adaptive overlay networks. In Proceedings of the 2002 conference on Applications, technologies, architectures, and protocols for computer communications, pages 47-60. ACM Press, 2002.]]
    [3]
    {3} A. Cerpa, N. Busek, and D. Estrin. SCALE: A tool for simple connectivity assessment in lossy environments. Technical Report CENS-21, 2003.]]
    [4]
    {4} F. M. Cuenca-Acuna, C. Peery, R. P. Martin, and T. D. Nguyen. PlanetP: Using Gossiping to Build Content Addressable Peer-to-Peer Information Sharing Communities. Technical Report DCS-TR-487, Department of Computer Science, Rutgers University, Sept. 2002.]]
    [5]
    {5} A. Demers, D. Greene, C. Hauser, W. Irish, and J. Larson. Epidemic algorithms for replicated database maintenance. In Proceedings of the sixth annual ACM Symposium on Principles of distributed computing, pages 1-12. ACM Press, 1987.]]
    [6]
    {6} S. Floyd, V. Jacobson, S. McCanne, C.-G. Liu, and L. Zhang. A reliable multicast framework for light-weight sessions and application level framing. In Proceedings of the conference on Applications, technologies, architectures, and protocols for computer communication, pages 342-356. ACM Press, 1995.]]
    [7]
    {7} D. Ganesan, B. Krishnamachari, A. Woo, D. Culler, D. Estrin, and S. Wicker. An empirical study of epidemic algorithms in large scale multihop wireless networks, 2002. Submitted for publication, February 2002.]]
    [8]
    {8} J. S. Heidemann, F. Silva, C. Intanagonwiwat, R. Govindan, D. Estrin, and D. Ganesan. Building efficient wireless sensor networks with low-level naming. In Symposium on Operating Systems Principles, pages 146-159, 2001.]]
    [9]
    {9} W. R. Heinzelman, J. Kulik, and H. Balakrishnan. Adaptive protocols for information dissemination in wireless sensor networks. In Proceedings of the fifth annual ACM/IEEE international conference on Mobile computing and networking, pages 174-185. ACM Press, 1999.]]
    [10]
    {10} J. Hill and D. E. Culler. Mica: a wireless platform for deeply embedded networks. IEEE Micro, 22(6):12-24, nov/dec 2002.]]
    [11]
    {11} J. Hill, R. Szewczyk, A. Woo, S. Hollar, D. E. Culler, and K. S. J. Pister. System Architecture Directions for Networked Sensors. In Architectural Support for Programming Languages and Operating Systems, pages 93-104, 2000. TinyOS is available at http://webs.cs.berkeley.edu.]]
    [12]
    {12} D. Kotz, C. Newport, and C. Elliott. The mistaken axioms of wireless-network research. Technical Report TR2003-467, Dept. of Computer Science, Dartmouth College, July 2003.]]
    [13]
    {13} P. Levis and D. Culler. Maté: a Virtual Machine for Tiny Networked Sensors. In Proceedings of the ACM Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Oct. 2002.]]
    [14]
    {14} P. Levis, N. Lee, M. Welsh, and D. Culler. TOSSIM: Simulating large wireless sensor networks of tinyos motes. In Proceedings of the First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003), 2003.]]
    [15]
    {15} T. Liu and M. Martonosi. Impala: a middleware system for managing autonomic, parallel sensor systems. In Proceedings of the ninth ACM SIGPLAN symposium on Principles and practice of parallel programming, pages 107-118. ACM Press, 2003.]]
    [16]
    {16} J. Luo, P. Eugster, and J.-P. Hubaux. Route driven gossip: Probabilistic reliable multicast in ad hoc networks. In Proc. of INFOCOM 2003, 2003.]]
    [17]
    {17} S. R. Madden. The Design and Evaluation of a Query Processing Architecture for Sensor Networks. PhD thesis, UC Berkeley, Decmeber 2003. http: //www.cs.berkeley.edu/~madden/thesis.pdf.]]
    [18]
    {18} S. R. Madden, M. J. Franklin, J. M. Hellerstein, and W. Hong. TAG: a Tiny AGgregation Service for Ad-Hoc Sensor Networks. In Proceedings of the ACM Symposium on Operating System Design and Implementation (OSDI), Dec. 2002.]]
    [19]
    {19} S.-Y. Ni, Y.-C. Tseng, Y.-S. Chen, and J.-P. Sheu. The broadcast storm problem in a mobile ad hoc network. In Proceedings of the fifth annual ACM/IEEE international conference on Mobile computing and networking, pages 151-162. ACM Press, 1999.]]
    [20]
    {20} N. Reijers and K. Langendoen. Efficient code distribution in wireless sensor networks. In Proceedings of the Second ACM International Workshop on Wireless Sensor Networks and Applications (WSNA '03), 2003.]]
    [21]
    {21} Y. Sasson, D. Cavin, and A. Schiper. Probabilistic broadcast for flooding in wireless networks. Technical Report IC/2002/54, 2002.]]
    [22]
    {22} R. Szewczyk, J. Polastre, A. Mainwaring, and D. Culler. Lessons from a sensor network expedition. In Proceedings of the 1st European Workshop on Wireless Sensor Networks (EWSN '04), January 2004.]]
    [23]
    {23} J. Zhao and R. Govindan. Understanding packet delivery performance in dense wireless sensor networks. In Proceedings of the First International Conference on Embedded Network Sensor Systems, 2003.]]

    Cited By

    View all
    • (2020)Performant TCP for low-power wireless networksProceedings of the 17th Usenix Conference on Networked Systems Design and Implementation10.5555/3388242.3388307(911-932)Online publication date: 25-Feb-2020
    • (2020)Heuristic-aided symbolic simulation for trickle-based wireless sensors networks configurationProceedings of the Conference on Rapid Simulation and Performance Evaluation: Methods and Tools10.1145/3375246.3375255(1-7)Online publication date: 21-Jan-2020
    • (2020)PC-RPLACM Transactions on Sensor Networks10.1145/337202616:2(1-32)Online publication date: 16-Mar-2020
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    NSDI'04: Proceedings of the 1st conference on Symposium on Networked Systems Design and Implementation - Volume 1
    March 2004
    404 pages

    Sponsors

    • USENIX Assoc: USENIX Assoc

    Publisher

    USENIX Association

    United States

    Publication History

    Published: 29 March 2004

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0

    Other Metrics

    Citations

    Cited By

    View all
    • (2020)Performant TCP for low-power wireless networksProceedings of the 17th Usenix Conference on Networked Systems Design and Implementation10.5555/3388242.3388307(911-932)Online publication date: 25-Feb-2020
    • (2020)Heuristic-aided symbolic simulation for trickle-based wireless sensors networks configurationProceedings of the Conference on Rapid Simulation and Performance Evaluation: Methods and Tools10.1145/3375246.3375255(1-7)Online publication date: 21-Jan-2020
    • (2020)PC-RPLACM Transactions on Sensor Networks10.1145/337202616:2(1-32)Online publication date: 16-Mar-2020
    • (2019)Priority-Aware Bulk Data Transfer in Low-power IoT NetworksProceedings of the 2019 International Conference on Embedded Wireless Systems and Networks10.5555/3324320.3324400(318-323)Online publication date: 25-Feb-2019
    • (2019)Transient Dynamics of Epidemic Spreading and Its Mitigation on Large NetworksProceedings of the Twentieth ACM International Symposium on Mobile Ad Hoc Networking and Computing10.1145/3323679.3326517(191-200)Online publication date: 2-Jul-2019
    • (2019)Capacity over capacitance for reliable energy harvesting sensorsProceedings of the 18th International Conference on Information Processing in Sensor Networks10.1145/3302506.3310400(193-204)Online publication date: 16-Apr-2019
    • (2019)Enhanced mobility aware routing protocol for Low Power and Lossy NetworksWireless Networks10.1007/s11276-017-1619-625:4(1641-1655)Online publication date: 1-May-2019
    • (2019)Load balancing routing with queue overflow prediction for WSNsWireless Networks10.1007/s11276-017-1554-625:1(229-239)Online publication date: 1-Jan-2019
    • (2019)A SAW wireless sensor network platform for industrial predictive maintenanceJournal of Intelligent Manufacturing10.1007/s10845-017-1344-030:4(1617-1628)Online publication date: 1-Apr-2019
    • (2018)"Hop count" dynamic double trickle timer algorithm use caseProceedings of the 2nd International Conference on Future Networks and Distributed Systems10.1145/3231053.3231093(1-7)Online publication date: 26-Jun-2018
    • Show More Cited By

    View Options

    View options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media