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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
430
Building Light-weight Microservices Using Redis
cjus
3
870
Graphs, GraphDBs and JavaScript
cjus
0
320
Building Microservices using Hydra
cjus
1
370
Node Microservices Using Hydra
cjus
0
140
Other Decks in Technology
See All in Technology
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
560
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
20260204_Midosuji_Tech
takuyay0ne
0
110
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
270
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.3k
データの整合性を保ちたいだけなんだ
shoheimitani
8
2.9k
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
4.9k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
180
Digitization部 紹介資料
sansan33
PRO
1
6.8k
プロポーザルに込める段取り八分
shoheimitani
1
170
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.2k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.5k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Tell your own story through comics
letsgokoyo
1
800
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
The Mindset for Success: Future Career Progression
greggifford
PRO
0
230
Leo the Paperboy
mayatellez
4
1.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
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