06 2022 档案

时间字符串转时间戳
摘要:一、时间字符串转毫秒时间戳 import datetime import calendar timestr = '2022-06-22T01:07:26.943Z' timestr = timestr.replace('T',' ').replace('Z','') print(timestr) # 阅读全文

posted @ 2022-06-29 13:45 torotoise512 阅读(963) 评论(0) 推荐(0) 编辑

【转】BIO,NIO和AIO
摘要:本文转自:https://blog.csdn.net/qxy_1218/article/details/123941039 BIO,NIO和AIO是Java网络编程的三种模型 BIO:同步并阻塞,服务实现模式为一个连接对应一个线程,即客户端发送一个连接,服务端要有一个线程来处理。如果连接多了,线程数 阅读全文

posted @ 2022-06-21 09:22 torotoise512 阅读(19) 评论(0) 推荐(0) 编辑

GSLB工作原理
摘要:参考文档: http://chongit.github.io/2015/04/15/GSLB%E6%A6%82%E8%A6%81%E5%92%8C%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86/ 阅读全文

posted @ 2022-06-20 09:31 torotoise512 阅读(132) 评论(0) 推荐(0) 编辑

redis数据持久化以及超缓存的处理方式
摘要:1. 数据持久化 https://blog.csdn.net/ll594317566/article/details/109215575 2. 超缓存处理 https://www.jianshu.com/p/875a950c2d67 阅读全文

posted @ 2022-06-15 18:32 torotoise512 阅读(17) 评论(0) 推荐(0) 编辑

事务
摘要:ACID 的含义 说到事务,大家第一反应是 Theo Härder 和 Andreas Reuter 于 1983 提出的 ACID。虽然 ACID 最初提出是为了为数据库中的容错保证给出一种相对精确的描述,但不同数据库对 ACID 的支持并不相同,尤其是 Isolation —— 隔离性。如今,A 阅读全文

posted @ 2022-06-12 11:24 torotoise512 阅读(94) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示