# Redis on Raspberry Pi for Embedded and IoT Applications

DevFeed: [Redis on Raspberry Pi for Embedded and IoT Applications](<https://devfeed.tech/articles/redis-on-the-raspberry-pi-adventures-in-unaligned-lands-20602.md>)

Original publisher: [Read original article](<http://antirez.com/news/111>)

Published: 2017-02-24T09:52:30Z

Content type: opinion

Language: en

Sources: [Antirez](<https://devfeed.tech/sources/antirez.md>)

Topics: [Raspberry Pi](<https://devfeed.tech/topics/raspberry-pi.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [Arm](<https://devfeed.tech/topics/arm.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Temporal data](<https://devfeed.tech/topics/temporal-data.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Debian](<https://devfeed.tech/topics/debian.md>)

Tags: [arm](<https://devfeed.tech/tags/arm.md>), [data-type](<https://devfeed.tech/tags/data-type.md>), [debian](<https://devfeed.tech/tags/debian.md>), [iot](<https://devfeed.tech/tags/iot.md>), [linux](<https://devfeed.tech/tags/linux.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>), [redis](<https://devfeed.tech/tags/redis.md>), [streams](<https://devfeed.tech/tags/streams.md>), [time-series](<https://devfeed.tech/tags/time-series.md>)

## AI overview

The article discusses adapting Redis to run on Raspberry Pi and its potential use in embedded and IoT devices. It highlights Redis Streams for storing sensor data and time series, along with Redis's small memory footprint and suitability for small ARM devices.

## Source excerpt

After 10 million of units sold, and practically an endless set of different applications and auxiliary devices, like sensors and displays, I think it's deserved to say that the Raspberry Pi is not just a success, it also became one of the preferred platforms for programmers to experiment in the embedded space. Probably with things like the Pi zero, it is also becoming the platform in order to create hardware products, without incurring all the risks and costs of designing, building, and writing software for vertical devices. Well, I love to think that also Redis is a platform that programmers like to use when to hack, experiment, build new things. Moreover devices that can be used for embedded / IoT applications, often have the problem of temporarily or permanently storing data, for example received by sensors, on the device, to perform on-device computations or to send them to remote servers. Redis is adding a "Stream" data type that is specifically suited for streams of data and time series storage, at this point the specification is near complete and work to implement it will start in the next weeks. Redis existing data structures, and the new streams, together with the small memory footprint, the decent performances it can provide even while running on small hardware (and resulting low energy usage), looked like a good match for Raspberry Pi potential applications, and in general for small ARM devices. The missing piece was the obvious one: to run well on the Pi. One of the many cool things about the Pi is that its development environment does not look like the embedded development environments of a few years ago... It just runs Linux, with all the Debian-alike tooling you expect to find. Basically adapting Redis to work on the Pi was not a huge task. The most fundamental mismatch a Linux system program and the Pi could have, is a performance / footprint mismatch, but this a non issue because of the Redis design itself: an empty instance consumes a total of 1MB of