Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
OpenRestyについて
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
newapplesho
February 01, 2018
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OpenRestyについて
OpenRestyについて
newapplesho
February 01, 2018
Transcript
11 slides
S h o Yo s h i d a (
@ n e w a p p l e s h o ) O p e n R e s t y Λ ༻ ͍ͯ ΠέΠέ ͳ α ʔ Ϗ ε Λ ࡞ Δ ํ ๏ 2 0 1 8 / 0 2 / 0 1
४ උ Ͱ ͖ ͯ ͍ ͳ ͍Ͱ ͢ ɾ
ɾ ɾ ͢Έ·ͤΜɻௐࢠͷΓ·ͨ͠ɻ
O p e n R e s t y ͱ
• lua-nginx-moduleͳͲɺศརͳϞδϡʔϧΛՃͨ͠nginxΛ؆୯ʹϏϧυ Ͱ͖ΔΑ͏ʹͯ͘͠ΕΔϓϩμΫτ • ngx_luaΛ͡Ίͱ͢ΔCͰॻ͔Ε֤ͨछαʔυύʔςΟϞδϡʔϧͱ ngx_luaͷAPIΛར༻ͨ͠restyϞδϡʔϧɺLua/LuaJITͰߏ
L u a - n g i n x -
m o d u l e • https://github.com/openresty/lua-nginx-module • https://www.nginx.com/resources/wiki/modules/lua/
N g i n x Ͱ l u a
͑Δ ͱ Կ ͕ ͍ ͍ ͷ ʁ • ϛυϧΣΞʹೝূɺϧʔςΟϯάɺΞΫηε੍ޚͳͲΛͤΒΕΔ • ׂͷղͨ͠ΠϯϑϥߏɺαʔϏεઃܭ͕ՄೳʹͳΔͣ • ཁ͢ΔʹϛυϧΣΞΛͬͱ׆༻Ͱ͖Δ
ྫ • OpenRestyͱRedis https://qiita.com/voluntas/items/ b37aedc70058c519aa00 • td-agent BigQuery https://github.com/kaizenplatform/fluent-plugin- bigquery
O p e n R e s t y Λ
ͬ ͨ Π ϯ ϑ ϥ ߏ ྫ HTTP server OpenResty Application Server ೝূ ϧʔςΟϯά ۀϩδοΫA ۀϩδοΫB ۀϩδοΫC ೝূ ϧʔςΟϯά ۀϩδοΫA ۀϩδοΫC ۀϩδοΫB
ϛ υϧ Σ Ξ Λ ڧ ͘ ͢ Δ
ྑ ͞ • HTTP headerͷՃͳͲOpenRestyʹ·͔ͤΒΕΔ • OpenRestyԼͷαʔόʔಛఆͷۀϩδοΫ͚ͩʹઐ೦Ͱ͖Δ • APIίʔϧʹԠͨ͡ॲཧͳͲهड़Ͱ͖ɺϚΠΫϩαʔϏεԽ͘͢͠ͳΔ
A P I α ʔ Ϗ εΠ ϯ ϑ ϥ
ߏ ֓ ཁ API Clientʹରͯ͠෦ɼ֎෦ͷϧʔςΟϯάΛߦ͏αʔόʔʢAPIϧʔςΟϯάαʔόʔʣΛલ ஈʹஔΛߦ͏ɻ֎෦APIͷΞΫηεͷࡍʹɺAPIϧʔςΟϯάαʔόʔ͕APIΞΫηεೝ ূΛߦ͍ɺAPI ServerଓΛ͢Δɻ
A P I όʔ δϣ ϯ Ճ ࣌ ͷ
ߏ API όʔδϣϯՃͷࡍʹɺAPIϧʔςΟϯάαʔόʔɺదͳAPI ServerଓΛ͢Δ Α͏ʹ੍ޚ͢Δ
ৄ ͠ ͘
More Decks by newapplesho
See All by newapplesho
Continuous Integration for Pharo Smalltalk Part 2 (Travis CI)
newapplesho
0
230
今時なウェブ開発をSmalltalkでやってみる?
newapplesho
0
210
Continuous Integration for Pharo Smalltalk
newapplesho
0
180
Elasticsearch for Pharo Smalltalk
newapplesho
0
180
SourceCode Management with Pharo Smalltalk - Pharo Smalltalkソースコード管理方法
newapplesho
0
170
RUNNING Smalltalk - 実践Smalltalk
newapplesho
0
150
AWS SDK for Smalltalk
newapplesho
0
150
How Smalltalker Works
newapplesho
0
130
愛せよ、さもなくば捨てよ。
newapplesho
0
150
Other Decks in Programming
See All in Programming
protojson における文字化けの扱い
kazuki1023
0
460
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
330
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
Crash Auto Pipelines
veronikapj
1
450
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
110
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
はじめてのKubernetesコントリビューション
nasa9084
0
320
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.5k
Debian JP Projectのサーバー構成
uwabami
1
170
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
WENDY [Excerpt]
tessaabrams
15
41k
Optimizing for Happiness
mojombo
378
72k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Abbi's Birthday
coloredviolet
5
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k