Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Node in small places
Search
Carlos Justiniano
November 16, 2016
Technology
0
270
Node in small places
A look at using NodeJS on $5 Raspberry Pi Zeros. Form my talk at NYCNode Nov 2016
Carlos Justiniano
November 16, 2016
Tweet
Share
More Decks by Carlos Justiniano
See All by Carlos Justiniano
Using Redis to orchestrate cloud-based file transfers at scale
cjus
0
400
Building Light-weight Microservices Using Redis
cjus
3
850
Graphs, GraphDBs and JavaScript
cjus
0
310
Building Microservices using Hydra
cjus
1
340
Node Microservices Using Hydra
cjus
0
140
Other Decks in Technology
See All in Technology
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
130
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
120
Кто отправит outbox? Валентин Удальцов, автор канала Пых
lamodatech
0
340
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
3
120
250627 関西Ruby会議08 前夜祭 RejectKaigi「DJ on Ruby Ver.0.1」
msykd
PRO
2
270
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
210
生成AI時代 文字コードを学ぶ意義を見出せるか?
hrsued
1
330
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
26k
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
400
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
240
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
4
440
フィンテック養成勉強会#54
finengine
0
180
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
4 Signs Your Business is Dying
shpigford
184
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
GraphQLとの向き合い方2022年版
quramy
48
14k
How to train your dragon (web standard)
notwaldorf
93
6.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
Scaling GitHub
holman
459
140k
Transcript
Node in small places Carlos Justiniano (@cjus - github/twitter)
About me • Carlos Justiniano (@cjus - github/twitter) • First
IoT project in 2001 • Ten years later I learned about NodeJS • Deployed Node applications in production since 2011 • Chief Architect at Flywheel Sports - Note: we're hiring!
Best tweet wins a RaspberryPi kit! #node-loves-pi #nycnode
#node-loves-pi #nycnode
Why SBCs?
How SBCs differ from other computers
None
None
Choosing an SBC
None
No Wifi, no Ethernet Raspberry Pi Zero Raspberry Pi 3
Uses USB based networking Has Ethernet, Wifi and Bluetooth and 4 USB ports Has two microUSB ports
None
Setup!
A bit more hardware… +
Linux for SBCs
None
None
Linux Setup • $ diskutil list • $ diskutil unmountDisk
/dev/disk2 • $ sudo dd if=./2016-05-27-raspbian- jessie-lite.img of=/dev/disk2 https://goo.gl/hhJJRE
Boot time!
Networking • $ ping raspberrypi.local • $ ssh
[email protected]
•
$ scp ftw
[email protected]
/home/pi https://goo.gl/hhJJRE
NodeJS Setup https://goo.gl/hhJJRE
None
$ mkdir nodejs $ cd nodejs/ $ wget https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux- armv6l.tar.xz
$ tar -xvf node-v6.9.1-linux-armv6l.tar.xz $ cd node-v6.9.1-linux-armv6l/ $ sudo cp ./bin/* /usr/local/bin
$ cd ~ $ node --version v6.9.1
None
So what’s next?
Hello World!
None
–@cjus “Playing with single board computers is really cool. Getting
them to communicate with one another is even cooler!”
Connecting SBCs! • $sudo apt-get install {cool-app-name} • Install servers:
nginx, redis, apache etc… • Create bots and connect with anything with a public API • Build messaging applications using rabbitmq, zeromq, MQTT
None
None
None
It’s demo time!
So what else can it do?
None
None
None
None
We’re ready for another demo!
None
The Hydra-Cluster is open sourced! https://github.com/cjus
#node-loves-pi #nycnode @cjus