- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 gatway redis 限流
官方链接: https://gist.github.com/ptarjan/e38f45f2dfe601419ca3af937fff574d#file-1-check_request_rate_limiter-rb-L11-L34 https://stripe.com/blog/rate-limiters
2021-07-05 12:41:17
100
转载 单例模式总结
单例模式是设计模式中最容易理解、最容易上手的设计模式,同时也是最容易出错的设计模式。它的实现写法有多种,但是并不都是正确的写法。 1饿汉模式 饿汉,即迫切的、立马的,所以饿汉模式又称作立即加载,下面代码实现是它最普遍的写法。 public class SingletonObject { private static final SingletonOb
2016-09-04 11:35:51
267
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人