Thursday, August 21, 2014

Fault-tolerant IoT architecture

Distributed databases makes it easy to set up fault-tolerant architecture for IoT and more.

Let's assume a system with data sources like wireless sensors, gateways and back-end servers. In order to ensure that there is no single point of failure, some level of redundancy is needed by duplicating gateways, connections and back-end systems.

Fault-tolerant IoT architecture.

Data exchange between gateways and back-ends can be realized with help of distributed database, without need for separate transfer mechanism. As described in my earlier posting, distributed databases can be characterized by whether they favor  availability or consistency.

GaianDB is a dynamic distributed federated database provided by IBM.  GaianDB advocates a flexible "store locally, query anywhere" (SLQA) paradigm. Data is stored in one database, and queries are propagated across the whole cluster to find the given data. This approach by itself does not guarantee high availability, but when combined with redundancy, it gives nice fault-tolerant system.

In the diagram above, each sensor is expected to be listened by two or more gateways, if no-fault condition. Each gateway has it's own database storing data received from sensors it is able to listen. This means there is redundant data recorded in the system. It is important to store or buffer data locally in gateways. In case of temporary connection failure the data is not lost but can be later retrieved from the gateway.

The cluster is dynamically self-organizing, which means it always look for optimal route in between nodes, if there exists any. If individual link or node is lost, data is routed other way round. With help of redundancy, at any given situation no single failure blocks the whole system from working.

Databases favoring consistency are not good fault-tolerant architectures. Typically such have one DB instance defined as master for any given data entity. Data is available via every secondary DB, but if the master DB is out of order, all secondary ones will cease providing the data, as they can not guarantee its consistency. RethinkDB is a popular example of such database.


  1. This is excellent posts. Hadoop Training Chennai Thanks a lot..i hope to really Hadoop Training in Chennai undersatand for this information...

  2. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
    Salesforce training in Chennai|Salesforce training institute in Chennai

  3. There are lots of information about latest technology and how to get trained in them, like Best hadoop training institute in chennai have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies(Hadoop Course in Chennai). By the way you are running a great blog. Thanks for sharing this.

  4. It’s too informative blog and I am getting conglomerations of info’s. Thanks for sharing; I would like to see your updates regularly so keep blogging. If anyone looking SAS just get here.
    sas training in Chennai|sas course in Chennai

  5. nice post and site, good work! This article is well written and quite informative. More articles should be written and you have just found a follower.and more visit
    sas online training

  6. Interesting and worth able content is discussed here. The fact about current technology is explicitly stated over here. I do agree on your thoughts on how the influencers are taking advantage over emerging technology. Thanks for sharing this in here. Keep bloging like this.

    Hadoop Training Chennai | Big Data Course in Chennai | hadoop training Chennai

  7. Well Said. The content provided is true up to my knowledge. This made me to understand the concepts very clear. Thanks for sharing this wonderful information in here. Keep blogging article like this. I have bookmarked this page for future reference as well.

    Hadoop Training Chennai | Best hadoop training institute in chennai | JAVA Course in Chennai

  8. nice posts..

    Informatica training, in the recent times has acquired a wide scope of popularity amongst the youngsters at the forefront of their career.
    Informatica online training in hyderabad

  9. IOT architecture explained in very simple way. thank you. Click here for training in bangalore IOT Course in Bangalore | Embedded Systems Design Training

  10. The Internet Of Things (IoT) Is The Network Of Physical Devices,Vehicals,home appliance,and other items embedded with electronics, software, sensors, actuators, and network conectivity which enable these objects to connecte and exchange data.
    good and nice information,thanks for it.
    iot training!
    iot training institute in hyderabad!
    best iot training institute in hyderabad!


  11. Wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.

    Sap MM Training In Chennai | Mainframe Training In Chennai | Hadoop Training In Chennai

  12. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

  13. This is an excellent blog thanks for sharing valuable information with us. Keep share more content on MSBI Online Training

  14. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of. Best AWS Training in Bangalore

  15. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

    Data Science Training in Bangalore
    RPA Training in Bangalore
    Automation Anywhere Training in Bangalore

  16. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating IOT Online Training

  17. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    Data Science Training in Chennai
    Data science training in bangalore
    Data science online training
    Data science training in pune
    Data science training in kalyan nagar

  18. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
    Devops training in Chennai
    Devops training in Bangalore
    Devops Online training
    Devops training in Pune

  19. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.

    ccna training in chennai

    ccna training in bangalore

    ccna training in pune

  20. GOOD

  21. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
    java training in annanagar | java training in chennai

    java training in marathahalli | java training in btm layout

    java training in rajaji nagar | java training in jayanagar

    java training in chennai

  22. This comment has been removed by the author.

  23. Iot Training in Bangalore - Live Online & Classroom
    IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication.

  24. mytectra placement Portal is a Web based portal brings Potentials Employers and myTectra Candidates on a common platform for placement assistance.