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
280
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
410
Building Light-weight Microservices Using Redis
cjus
3
860
Graphs, GraphDBs and JavaScript
cjus
0
310
Building Microservices using Hydra
cjus
1
350
Node Microservices Using Hydra
cjus
0
140
Other Decks in Technology
See All in Technology
生成AIとM5Stack / M5 Japan Tour 2025 Autumn 東京
you
PRO
0
230
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
5.5k
Goに育てられ開発者向けセキュリティ事業を立ち上げた僕が今向き合う、AI × セキュリティの最前線 / Go Conference 2025
flatt_security
0
350
バイブコーディングと継続的デプロイメント
nwiizo
2
460
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
7
3.7k
『OCI で学ぶクラウドネイティブ 実践 × 理論ガイド』 書籍概要
oracle4engineer
PRO
2
130
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
970
about #74462 go/token#FileSet
tomtwinkle
1
440
Azure Well-Architected Framework入門
tomokusaba
1
330
生成AIで「お客様の声」を ストーリーに変える 新潮流「Generative ETL」
ishikawa_satoru
1
330
From Prompt to Product @ How to Web 2025, Bucharest, Romania
janwerner
0
120
"プロポーザルってなんか怖そう"という境界を超えてみた@TSUDOI by giftee Tech #1
shilo113
0
120
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
How to train your dragon (web standard)
notwaldorf
96
6.3k
The Cult of Friendly URLs
andyhume
79
6.6k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
Mobile First: as difficult as doing things right
swwweet
224
10k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
610
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.2k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Building Adaptive Systems
keathley
43
2.8k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Site-Speed That Sticks
csswizardry
11
880
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