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
RedisPlugin
Search
Toshiyuki Ienaga
December 22, 2015
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RedisPlugin
第3回 PHP勉強会@相模原
https://atnd.org/events/72342
github
https://github.com/ienaga/RedisPlugin
Toshiyuki Ienaga
December 22, 2015
More Decks by Toshiyuki Ienaga
See All by Toshiyuki Ienaga
AWS Auto Scaling
ienaga
0
120
「swf2js」ではじめるゲーム制作
ienaga
0
4.8k
JavaScript2Dゲームエンジン「swf2js」〜swfも使えるよ〜
ienaga
0
1.1k
Resurrection Flasher swf2js
ienaga
0
5.2k
Other Decks in Technology
See All in Technology
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
110
新卒エンジニア、 介護士になる
ryu1013
1
690
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
150
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
1
150
「いつか使う」の「いつか」は来ない 〜AI駆動開発における「作らない」判断について〜
ikki0006
0
120
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
810
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
430
Don't write the architecture only in the prompt.
neohsu
0
310
cdkd (CDK Direct)
gotok365
3
240
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
130
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
150
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
580
The Curse of the Amulet
leimatthew05
3
17k
GitHub's CSS Performance
jonrohan
1033
470k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Building an army of robots
kneath
307
47k
Ethics towards AI in product and experience design
skipperchong
2
460
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
890
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Transcript
RedisPlugin(簡易版) Phalcon + Redis + MySQL 2015/12/22 Ienaga Toshiyuki
RedisPlugin ´Phalconって? ´Redisって? ´RedisPluginの主な機能 ´RedisPluginの構成図
Phalconって? ´ C⾔語で処理を⾏うため、PHPフレームワークの中で最速 ´ PHPのextensionなので軽量 ´ 公式サイト:https://phalconphp.com/ja/
Redisって? ´ KVSを採⽤するNoSQL ´ 値(value)の保存に対して様々なデータ構造を利⽤することができる ´ キャッシュしたデータを永続化できる ´ 公式サイト:http://redis.io/
RedisPluginの主な機能 ´ ⼀度でもDBから取得したデータは更新があるまでキャッシュ ´ データが更新されたら⾃動でキャッシュ削除 ´ めちゃくちゃなクエリをDBのINDEXに合わせて⾃動で最適化 ´ 複数構成のDBコネクションにも対応
RedisPluginの構成図 Redis MySQL ・データ取得 ・データキャッシュ ・更新時に⾃動でキャッシュ削除 キャッシュされてなければ DBから取得 RedisPlugin
余談ですが redis公式サイトに掲載してもらいました。
記述例はQiita記事からご説明します ´ http://qiita.com/ienaga/items/6bbf1c5e95a133d347ac