Wesley13 Wesley13
3年前
java并发之无同步方案
前置章节回顾:JAVA多线程并发容易引发的问题及如何保证线程安全(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzIxMjM4MDg2NA%3D%3D%26mid%3D2247484104%26idx%3D
Wesley13 Wesley13
3年前
SQL笔试50题(下)
正文共:4832字22图  预计阅读时间:13分钟前文推送1.MIT线性代数相关资源汇总(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU5MTgxNTQyNA%3D%3D%26mid%3D224748
Easter79 Easter79
3年前
Springboot+shiro+redis 限制同一账号 同时在多处登录
这里的业务场景,就类似与qq账号不能同时在多部手机登录一样,后者会强制前者下线,被强制下线的用户重新登录又挤掉前者,如此反复.....一.说下我的思路(不供参考)1\.利用Cookie里面的JESSIONID,其实也就是sessionid,是可以获取到的2.利用Deque双向队列,最大maxSize设置为13
Easter79 Easter79
3年前
Tomcat NIO(2)
在上一篇(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzI0MDE3MjAzMg%3D%3D%26mid%3D2648393620%26idx%3D1%26sn%3Db01162a67817a46f86218c07190c
Wesley13 Wesley13
3年前
Java的4种代码块
往期精选  ●  架构师高并发高性能分布式教程(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzAxNDMwMTMwMw%3D%3D%26mid%3D2247486245%26idx%3D1%26sn%3D7a28525
Stella981 Stella981
3年前
Dataway让 Spring Boot 变得更强大!
点击上方Java后端(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzg2MjEwMjI1Mg%3D%3D%26mid%3D2247489272%26idx%3D3%26sn%3Dce74938072fc73a808d83
Stella981 Stella981
3年前
Redis持久化问题定位与优化技巧
今天主要分享继Redis持久化方式RDB、AOF之后的一些常用的Redis问题定位于优化方式。Redis持久化方式RDB(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU3OTc1MDM1Mg%3D%3D%
Stella981 Stella981
3年前
Linux进程间通信(中)之信号、信号量实践
上节我们分享了Linux进程间通信的其中两种方式:管道、消息队列,文章如下:Linux进程间通信(上)之管道、消息队列实践(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA3MjMzNTc4NA%3D%3D%26mid
Stella981 Stella981
3年前
Kafka 中副本机制的设计和原理
在《图解Kafka中的基本概念(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU4Mjk0MjkxNA%3D%3D%26mid%3D2247487594%26idx%3D2%26sn%3D574e205
Stella981 Stella981
3年前
Kafka 发送消息过程中拦截器的用途?
消息在通过send()方法发往broker的过程中,有可能需要经过拦截、序列化器(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzU3OTc1MDM1Mg%3D%3D%26mid%3D2247497846%26i