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
Elastic APIs: Are microservices the answer? by ...
Search
API Strategy & Practice Conference
November 20, 2015
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elastic APIs: Are microservices the answer? by Orlando Kalossakas
API Strategy & Practice Conference
November 20, 2015
More Decks by API Strategy & Practice Conference
See All by API Strategy & Practice Conference
APIStrat 2016 | The end of polling: why and how to transform a REST API into a Data Streaming API (Audrey Neveu)
apistrat
12
330
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
240
APIStrat 2016 | Flying Dreams: Real-Time Communication from the Edge of Space (Jonathan Barton, Neha Abrol)
apistrat
1
180
APIStrat 2016 | On-prem support? That was so 1982 (Charlie Ozinga)
apistrat
0
150
APIStrat 2016 | Effortless microservices in production with Kubernetes (Ken Wronkiewicz)
apistrat
0
190
Song by Tony Blank
apistrat
0
210
API Lifecycle Manager by Steve Fonseca
apistrat
2
280
APIs In The Enterprise: How Walgreens Formed It's Digital Business by Drew Schweinfurth
apistrat
1
410
Developers Are Difficult by Andrew Noonan
apistrat
0
150
Other Decks in Technology
See All in Technology
AI、CDK と協働する Full TypeScript アプリケーション開発 / Full TypeScript Application with AI and CDK
geekplus_tech
2
390
壊して学ぶAWS CDK: そのcdk deployで消えるもの、残るもの
k_adachi_01
1
410
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
280
Network Firewallやっていき!
news_it_enj
0
170
ruby.wasmとPicoRuby.wasmに対応した仮想DOMライブラリを作ってる話 #kaigieffect_kaigi
sue445
PRO
0
150
「AIに依存している」と 「AIを使いこなしている」の違い
k8yasuma
0
120
【Claude Code】鹿野さんに聞く 私の推しの並行開発環境 大公開 / claude-code-parallel-2026-07-15
tonkotsuboy_com
12
8.7k
2年前に削除したPHPクラスが、 ある日突然決済をエラーにした
ykagano
1
290
ガバナンスの「ちょうどいい落とし所」を探れ!開発スピードを妨げない運用判断の勘所 / SRE NEXT 2026
genda
1
250
AIが実装を自走する時代の認知負債との戦い
lycorptech_jp
PRO
1
310
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
200
関数型の考えを TypeScript に持ち込んで、テストしやすい純粋関数を増やす / Pure at the Core, Effects at the Edge: Bringing Functional Thinking into TypeScript
kaminashi
2
130
Featured
See All Featured
The Curse of the Amulet
leimatthew05
2
13k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Ethics towards AI in product and experience design
skipperchong
2
330
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
Into the Great Unknown - MozCon
thekraken
41
2.6k
First, design no harm
axbom
PRO
2
1.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Are puppies a ranking factor?
jonoalderson
1
3.7k
Accessibility Awareness
sabderemane
1
160
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
350
Transcript
Elastic APIs Are microservices the answer?
[email protected]
@orliesaurus
My name is.. • Im here to help you build
stuff
Microservices Everyone is talking about this topic, everyone is trying
to take a bite. P.S. They have their own instagram.com/microservices account
The inspiration • Driven From Blueprints • Isolated Resources •
Run Anywhere LOL
Containers are A THING • Have been around since `chroot`
• Became a global trend shortly after the release of Docker the 2013-03-23
Docker interest over time
–Every engineer in a social situation “Oh yeah.. we’re using
containers…”
Independence === pizza:
Qualities of microservices • Deal with problems inside their scope
• Data sharing per service • Available • Versioning • Auto-deployable
//Assume you have an .env file var express = require('express');
var http = require('http'); var mongo = require('mongodb').MongoClient; var app = express(); app.set('port', process.env.PORT || 8080); var mongodb; if(process.env.MONGO_URL) { mongo.connect(process.env.MONGO_URL, null, function(err, mongodb_) { if(err) { console.log(err); } else { mongodb = mongodb_; } }); } app.get('/users', function(req, res, next) { var collection = db.collection('users'); collection.find().toArray(function(err, result) { if(err) { res.sendStatus(500); return; } res.json(result); }); }); app.listen(app.get('port')); Retrieve all users
INTRODUCING: THE GATEWAY…
• Authentication
• Security (transport layer)
• Load Balancing
• Request Dispatching
Example: You wanna buy some
None
⚠ ALL THAT! BAY LIFE
λ
λ!
• Own code + Libraries • Native SDK • Timeouts
and Memory • Use external storage, there’s no root access! • Debug via cloudwatch
• Invoke through Gateway, or other services
λ G A T E W A Y /route λ
λ λ λ GET PUT POST DELETE PATCH
https://github.com/awslabs/aws-apigateway- importer
console.log('Loading function'); exports.handler = function(event, context) { //YOUR CODE GOES
HERE context.succeed(“Hurray”); context.fail(‘oh no :( :(‘); };
swagger: '2.0' info: version: '1.0.0' title: Swagger Petstore description: A
sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification termsOfService: http://helloreverb.com/terms/ contact: name: Swagger API team email:
[email protected]
– Startup guy “2easy4me” ./aws-api-import.sh --create path/to/swagger.json
–Johnny Appleseed “Type a quote here.”
None
None
– (Maybe) A guy employed by Amazon who worked on
Lambda It’s Superfast, like Rambo driving a Lambo TEST IT: squirrelbin.com
TRY, FAIL, LEARN, DISCUSS
[email protected]
@orliesaurus