摘要:
参数调用方式: 1. localhost:8080/person/properties/to/json body参数设置: 2. localhost:8080/person/json/to/properties body参数设置: 代码地址:https://github.com/amazing200 阅读全文
摘要:
幂等 PUT 初始状态:0 修改状态:1 * N 最终状态:1 DELETE 初始状态:1 修改状态:0 * N 最终状态:0 非幂等 POST 初始状态:1 修改状态:1 + 1 =2 N次修改: 1+ N = N+1 最终状态:N+1 幂等/非幂等 依赖于服务端实现,这种方式是一种契约 #自描述 阅读全文
摘要:
原文地址:https://blog.csdn.net/kongtiao5/article/details/82771694 一、缓存处理流程 前台请求,后台先从缓存中取数据,取到直接返回结果,取不到时从数据库中取,数据库取到更新缓存,并返回结果,数据库也没取到,那直接返回空结果。 二、缓存穿透 描述 阅读全文
摘要:
binlog: 用来记录mysql的数据更新或者潜在更新(update xxx where id=x effect row 0);文件内容存储:/var/lib/mysql mysqlbinlog --base64-output=decode-rows -v mysql-bin.000001 查看b 阅读全文
摘要:
https://www.cnblogs.com/butterfly100/p/9034281.html 阅读全文
摘要:
location: location ^~ /images/ { root html; } ^~ :以 以某个路径开头 访问路径: http://localhost/images/sec/index.html http://localhost/images/index.html rewrite: h 阅读全文
摘要:
tcc-transaction bytetcc 阅读全文
摘要:
https://blog.csdn.net/Z0157/article/details/82049975 User UserClient UserServer UserSkeleton UserStu 阅读全文
摘要:
https://blog.csdn.net/a19881029/article/details/9465663 阅读全文
摘要:
jprotobuf工作原理如下: github地址:https://github.com/jhunters/jprotobuf jprotobuf 序列化字节数小,适合网络传输 序列化字段设置: 实现序列化: 阅读全文