Skip to content

ItsFunny/examples

Repository files navigation

演示demo,不仅限于Java,Go

distributed-db

  • 当数据库分库分表之后的分页方法,利用的是自己造的一个小轮子,测试用例在test下

dsitributed-lock

  • 分布式锁,redis方式,测试在test下

product-buy-with-seckill

*商品秒杀与普通购买的实现

eureka-loadbalance

  • 模仿Spring Cloud 实现服务注册于发现,以及负载均衡

transaction-with-rabbitmq

  • 通过mq实现分布式事务的acid

design-pattern

  • 设计模式的实现