Reader small image

You're reading from  Full Stack Web Development with Raspberry Pi 3

Product typeBook
Published inAug 2017
Reading LevelExpert
PublisherPackt
ISBN-139781788295895
Edition1st Edition
Languages
Right arrow
Author (1)
Soham Kamani
Soham Kamani
author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani

Right arrow

Summary

This chapter was the glue between the last two chapters. We began the chapter by taking a deep dive into how our node server communicates with native libraries. You learned about the asynchronous model that node uses to make I/O operations more efficient. This model is important to understand because it will also carry forward to the coming chapters.

We proceeded to integrate the sensor API from the previous chapter with our node server, and then we went on to see some of its limitations due to the hardware and sampling rate. Caching turned out to be a convenient and effective way to get around these limitations. The kind of local memory caching used in this chapter, however, would not be effective in a system that has multiple Raspberry Pi systems and sensors working together. In the upcoming chapters, you will learn about a more production-grade model to store and read...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Full Stack Web Development with Raspberry Pi 3
Published in: Aug 2017Publisher: PacktISBN-13: 9781788295895

Author (1)

author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani