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
Story of trying to link Laravel and ElasticMQ (...
Search
Nia Tomonaka
September 25, 2019
Technology
58
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Story of trying to link Laravel and ElasticMQ (Amazon SQS compatible)
「LaravelとElasticMQ(Amazon SQS互換)を連携させてみるお話」
第142回 PHP勉強会@東京のLT資料です。
Nia Tomonaka
September 25, 2019
Other Decks in Technology
See All in Technology
[2026-09-30]ロックンロールは鳴り止まないっ - 信頼性かまってちゃん - 「データ駆動を投げ捨ててまで。」追いかける信頼性改善に向けた取り組みの話
tosite
0
210
Incremental HTTP
kazuho
5
2.1k
Codex概要
ymiya55
0
480
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.1k
Google Cloud Next Tokyo 26登壇時のスクリプト
recruitengineers
PRO
0
210
3つのアプローチで目指す チームを強くするAI駆動開発
thkt
0
140
しろおびから始める!ログ活用の第一歩
shumei_ito
0
770
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
270
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
100
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
220
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
320
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
10k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
Embracing the Ebb and Flow
colly
88
5.2k
Technical Leadership for Architectural Decision Making
baasie
3
600
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Six Lessons from altMBA
skipperchong
29
4.5k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Design in an AI World
tapps
1
350
Designing for humans not robots
tammielis
254
26k
Transcript
Nia Tomonaka (@nia_tn1012) In第142回 PHP勉強会@東京 LaravelとElasticMQ(Amazon SQS互 換)を連携させてみるお話 1 2019/9/25
• 1. 我は何者か • 2. 今回発表するテーマ • 3. ElasticMQとは? •
4. LaravelとElasticMQを連携させる(デモ) • 5. おわりに 2 0. アジェンダ
• 智中 ニア(Nia Tomonaka)( @nia_tn1012 ) • 湘南生まれのITエンジニア (担当範囲: フロントやサーバー、インフラ、DB
etc.) • プログラミング言語 : PHP(5.5年) / C#(7.5年) • 好物 : 紅茶とコーヒー、シラス丼 etc. • 趣味 : 音ゲー / 写真撮影 • Blog : https://chronoir.net/ 3 1. 我は何者か
LaravelとElasticMQ(Amazon SQS互換)を連携させてみる • 関連Qiita記事: • LaravelをElasticMQ(Amazon SQS互換)と連携してみる https://qiita.com/nia_tn1012/items/1bd60b1a3900a2b52939 4 2.
今回発表するテーマ
• Amazon SQSと互換性のある、インメモリ型メッセージキューシステム → AWS CLIやAWS SDKから操作できる! → PHPなら、Composerから「aws/aws-sdk-php」をインストールするだけ! •
Scala製(jarファイルとして配布されている) → Javaランタイム上で動作可能! • GitHub: https://github.com/softwaremill/elasticmq 5 3. ElasticMQとは?
• ここでは、Dockerを使ってElasticMQコンテナを作成し、 Laravelコンテナから操作するデモンストレーションを行います。 • 環境 • macOS 10.14 Mojave •
Docker desktop for Mac 2.1.0.3 • PHP-fpm 7.3 • nginx 1.17.3 • MySQL 5.7 • Laravel 6.0 • ElasticMQ 0.14.10 6 4. LaravelとElasticMQを連携させる(デモ)
• ElasticMQでローカル上などでAmazon SQS互換の環境を作れる → LaravelでAmazon SQSを利用したWebアプリ開発が捗る!! • 他にも、Amazon S3互換のMinIOというシステムがある •
公式サイト: https://min.io/ • GitHub: https://github.com/minio/minio • Dockerはいいぞ 7 5. おわりに
8 ご清聴ありがとうございました! Thank you!