摘要:
① 用户登录instance 使用AMI 创建 instance 连接 instance: 输入Ipv4 Ip + auth (private key file)命令:aws s3 ls 用来list bucket(但此时缺少credentials) => 1. 创建用户 IAM -> add us 阅读全文
摘要:
springboot 原理 ⅤⅠⅠ auto config 1.1 Condition: 选择性的创建bean 注入一个Bean:@Configuration Class 下@Bean 方法返回一个User,就获得name = "user"的Bean@Conditional(实现类.class) = 阅读全文
摘要:
Ⅰ.Overview spring Boot - 构建项目 buildSpring Cloud - 数据通信 coordinateSpring 缺点:1 cumbersome config2 cumbersome dependencyspringBoot: 提供了一种快速使用Spring的方式1. 阅读全文
摘要:
java程序编译后会生成字节码文件,就是.class文件final并不能修饰抽象类final修饰的类可以被重载但不能被重写线程的启动方式只能通过start这种方式启动才能真正的实现多线程的效果,如果是手动调用run方法和普通方法调用没有区别线程安全的map:HashTable,Synchronize 阅读全文
摘要:
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 阅读全文
摘要:
distributed tracing 1. for debugging and 分析接口性能 when dependency relationships are complex 2. 技术对比 3. jaeger installation docker run \ --rm \ --name ja 阅读全文
摘要:
1.实现map requirement: 实现阻塞读且并发安全的map GO⾥⾯MAP如何实现key不存在 get操作等待 直到key存在或者超时,保证并发安全 implementation: package main import ( "fmt" "sync" "time" ) type sp i 阅读全文
摘要:
三次握手 第一次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的 阅读全文