O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
How to cook lettuce
: (Oklahomer)
twitter: @oklahomers
: LINE LIVE


http://developers.linecorp.com/blog/ja/?p=3771
Redis Client


http://redis.io/clients
Jedis (4300+ stars)
lettuce (400+ stars)
Redisson (1700+ stars)
• Sentinel / Cluster
•
• API
• wiki
•
• github issue gitter
Redis Cluster
resharding
master - slave
failover
node
ClusterClientOptions options = ClusterClientOptions
.builder()
.validateClusterNodeMembership(false)
.build();
redisC...
failover reshard
ClusterTopologyRefreshOptions options =
ClusterTopologyRefreshOptions
.builder()
.enablePeriodicRefresh(1...
Periodic Refresh (since 3.3)
•
• issue #97
•
• Redis cluster
-> adaptive refresh
Adaptive Refresh (since 4.2)
•
• issue #240
•MOVED ASK
•
•
•
redis cluster
lettuce


How to cook lettuce @Java casual
How to cook lettuce @Java casual
How to cook lettuce @Java casual
Próximos SlideShares
Carregando em…5
×

How to cook lettuce @Java casual

2.115 visualizações

Publicada em

Java の Redis クライアントの一つ lettuce の設定周りについて

Publicada em: Software
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

How to cook lettuce @Java casual

  1. 1. How to cook lettuce
  2. 2. : (Oklahomer) twitter: @oklahomers : LINE LIVE 
 http://developers.linecorp.com/blog/ja/?p=3771
  3. 3. Redis Client 
 http://redis.io/clients Jedis (4300+ stars) lettuce (400+ stars) Redisson (1700+ stars)
  4. 4. • Sentinel / Cluster • • API • wiki • • github issue gitter
  5. 5. Redis Cluster resharding master - slave failover
  6. 6. node ClusterClientOptions options = ClusterClientOptions .builder() .validateClusterNodeMembership(false) .build(); redisClusterClient.setOptions(options); • 
 •
  7. 7. failover reshard ClusterTopologyRefreshOptions options = ClusterTopologyRefreshOptions .builder() .enablePeriodicRefresh(1,MINUTES) .enableAllAdaptiveRefreshTriggers() .build(); redisClusterClient.setOptions(ClusterClientOptions .builder() .topologyRefreshOptions(options) .build());
  8. 8. Periodic Refresh (since 3.3) • • issue #97 • • Redis cluster -> adaptive refresh
  9. 9. Adaptive Refresh (since 4.2) • • issue #240 •MOVED ASK • • •
  10. 10. redis cluster lettuce 


×