Mysql事务的实现 2020-07-28 数据库 ACID 原子性 一致性 隔离性 持久性 原子性 基于日志的REDO/UNDO机制 undo log (回滚日志):用作回滚 提供回滚操作,一般是逻辑日志 主要有两个作用:回滚、 Read more...
HTTP协议发展过程 2020-07-28 计算机网络 http 基本流程 TCP Connect Request Response TCP Close http 发展过程 http/0.9 最早诞生于 1991 年 极其简单,没有 http 头, 没有状态码,没有版本号 请求只支持 Get 方法,请求只有一行 GET /hello.html 响应也非常简单, Read more...
TCP 2020-06-28 计算机网络 TCP 的特点 面向连接 可靠服务 面向字节流 面向连接 连接就是一对一,当双方都确认对方是谁时,连接就建立起来了, 源IP+源端口号+目标IP+目标端口号就 Read more...
二进制运算 2020-09-11 数学 LeetCode-1073 负二进制相加 https://leetcode-cn.com/problems/adding-two-negabinary-numbers/ LeetCode-1017 负二进制转换 https://leetcode-cn.com/problems/convert-to-base-2/ LeetCode-406 数字转换为16进制数 https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal/ Read more...
快速幂 2020-09-11 算法 java 移位运算符总结 << 左移运算符,相当于乘以2 >> 右移运算法,相当于除以2 1 右移1位变为0 -1右移移位仍然是-1 >>> 无符号右移,忽略符号位,空位补零 Read more...