KVSFlute, SolrFlute
https://slides.com/nashcft/dbflute-fest-2016
DBFlute fest. 2016
Nov. 27, 2016
@nashcft
Who Am I
Shota Nagahori
Twitter:
@nashcft
Server-side Engineer @ U-NEXT
DBFlute Hands-on tutorial:
WIP: section 9, 11
What is KVSFlute/SolrFlute?
Plugins to generate adapters to access KVS (Redis) and Solr
DBFlute-like API
Typesafety
Caching for RDB access (KVSFlute)
How to Use
Put templates under
freegen
directory
Add dependency to pom.xml/build.gradle
Solr: solrj
KVS (Redis): jedis
Add properties to config/env.properties
Create/put schema (+alpha) file
Solr: schema.xml
KVS: original JSON schema + pool info
freegen!
SolrFlute
KVSFlute
KVSFlute: options
KVS Store: KVS as a storage
KVS Cache: KVS as a cache for RDB
CB-Embedded Cache: Variation of KVS Cache
Inside KVSFLute: Select
KVS Store / KVS Cache when cache is found
Inside KVSFlute: Select
KVS Cache when cache is not found
Inside KVSFlute: Insert/Update
KVS Cache
Inside KVSFlute: Delete
KVS Cache
Available in Example Repo
dbflute-example/dbflute-example-with-non-rdb
Available in Example Repo
Available in Example Repo
Q & A
Thanks for Listening!
Made with Slides.com