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
340
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
250
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
220
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
420
Developers Are Difficult by Andrew Noonan
apistrat
0
160
Other Decks in Technology
See All in Technology
会社紹介資料 / Sansan Company Profile
sansan33
PRO
23
430k
20260804_Q4AzureUpdateBite_FabricDataAgentの精度を高める設計.pdf
matayuuu
1
130
Webアクセシビリティ入門 2026
recruitengineers
PRO
3
570
【AG-UI × A2UI × MCP Apps】Generative UIをやさしく解説する
nrinetcom
PRO
1
120
【CEDEC2026】ゲームシナリオライターを支援するAIツール開発の実践 ― 設計とプロンプトの工夫 ―
cygames
PRO
1
850
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
300
JavaScript 研修 (2026)
recruitengineers
PRO
2
540
Data Hubグループ 紹介資料
sansan33
PRO
0
3.2k
ラジオの科学
frievea
0
320
サイバー捜査員研修(前半)
nomizone
1
2k
強化学習「理論」入門
enakai00
3
3.6k
ハーレムエンジニアリング
kazuma777777
0
160
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
340
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
BBQ
matthewcrist
89
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
How to train your dragon (web standard)
notwaldorf
97
6.8k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
280
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
770
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Statistics for Hackers
jakevdp
799
230k
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