上一页 1 2 3 4 5 6 ··· 26 下一页
摘要: Ⅰ.Overview spring Boot - 构建项目 buildSpring Cloud - 数据通信 coordinateSpring 缺点:1 cumbersome config2 cumbersome dependencyspringBoot: 提供了一种快速使用Spring的方式1. 阅读全文
posted @ 2024-03-02 23:14 PEAR2020 阅读(2) 评论(0) 推荐(0) 编辑
摘要: java程序编译后会生成字节码文件,就是.class文件final并不能修饰抽象类final修饰的类可以被重载但不能被重写线程的启动方式只能通过start这种方式启动才能真正的实现多线程的效果,如果是手动调用run方法和普通方法调用没有区别线程安全的map:HashTable,Synchronize 阅读全文
posted @ 2024-02-29 21:51 PEAR2020 阅读(6) 评论(0) 推荐(0) 编辑
摘要: problem: jenkins用户配置git repo连接失败 solution: Jenkins runs as another user, not as your ordinary login. Log on as jenkins su jenkins (you may first have 阅读全文
posted @ 2023-12-12 15:05 PEAR2020 阅读(23) 评论(0) 推荐(0) 编辑
摘要: distributed tracing 1. for debugging and 分析接口性能 when dependency relationships are complex 2. 技术对比 3. jaeger installation docker run \ --rm \ --name ja 阅读全文
posted @ 2023-12-06 14:01 PEAR2020 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.实现map requirement: 实现阻塞读且并发安全的map GO⾥⾯MAP如何实现key不存在 get操作等待 直到key存在或者超时,保证并发安全 implementation: package main import ( "fmt" "sync" "time" ) type sp i 阅读全文
posted @ 2023-12-05 16:57 PEAR2020 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 三次握手 第一次A->B: SYN=1; seq = x (表示A到B的连接请求) (表示A发送从序号x开始的报文)第二次B<-A: SYN=1; seq = y; ACK=1; ack = x+1(表示B到A的连接请求)(表示B发送从序号y开始的报文)(ack有效)(ack:已经接受到A序号为x的 阅读全文
posted @ 2023-11-30 21:29 PEAR2020 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 路由器分配192.168网段给本地局域网 路由器ip是对外的外网ip 如何本地调试OSS? 1. 通过ECS 2. Intranet penetration: -续断,花生壳 阅读全文
posted @ 2023-11-25 13:57 PEAR2020 阅读(7) 评论(1) 推荐(0) 编辑
摘要: Aliyun OSS 1. create bucket2. create sub-account that has granted permissions3. use accesskey and secret browser -> transfer directly -> oss callback- 阅读全文
posted @ 2023-11-25 12:05 PEAR2020 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1. CAP理论 cap理论是分布式系统的理论基石 Consistency (一致性): “all nodes see the same data at the same time”,即更新操作成功并返回客户端后,所有节点在同一时间的数据完全一致,这就是分布式的一致性。一致性的问题在并发系统中不可避 阅读全文
posted @ 2023-11-17 17:32 PEAR2020 阅读(51) 评论(0) 推荐(0) 编辑
摘要: Redis 使用的过期删除策略是「惰性删除+定期删除」,删除的对象是已过期的 key。 内存淘汰策略是解决内存过大的问题,当 Redis 的运行内存超过最大运行内存时,就会触发内存淘汰策略,Redis 4.0 之后共实现了 8 种内存淘汰策略,我也对这 8 种的策略进行分类,如下: 阅读全文
posted @ 2023-11-14 20:15 PEAR2020 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 26 下一页