Giter VIP home page Giter VIP logo

protobuf2redis's Introduction

Version

Java 1.8

项目说明

  1. 提供 SpringBoot + Redis + SpringCache + Protobuf 的模板。
  2. Redis Client使用的是Lettuce,底层通信使用的Netty,如不了解,请参考《Netty实战》或《Netty权威指南》,对这方面有调优需求的同学请自行查阅相关资料,或提issues
  3. redis模式本项目使用的是单机的,如有集群或哨兵模式需求的同学,请参考源码或查阅资料进行配置变更。
  4. DEMO提供的是基于@Cacheable相关注解的功能,该注解针对的是key-value数据存储,如有其他数据结构存储需求,应该参考其他写法。

关于优化

  1. 本项目主要是提供一个DEMO,优化方面没有做,除了必要的东西,更多的配置使用的是默认值。
  2. 如对hikariredis连接池有优化需求的同学,请查阅相关资料,或提issues

测试

项目相关功能均通过测试,如使用遇到困难,请提issues

后续

  1. 项目后续部署打算新开一个章程,就叫做如何使用Docker搭建一次性测试环境吧。
  2. Docker范畴:Docker fileDocker ComposeDocker Swarm
  3. 如何做? 使用Shell脚本自动化搭建。

protobuf2redis's People

Contributors

xucjing avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.