会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
funny_coding
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
15
16
17
18
19
20
下一页
2018年7月3日
高并发系统设计
摘要: 常用工具包 服务拆分 限流 降级 解耦MQ 缓存redis rpc + spring cloud 分布式事务 大数据分析
阅读全文
posted @ 2018-07-03 22:55 funny_coding
阅读(109)
评论(0)
推荐(0)
2018年7月2日
设计模式
摘要: 装饰器模式 代理模式 Interface中只定义最核心的业务,比如doXXX AbstractService1中定义其他扩展方法,比如prepare, afterExectute, doLog等抽象方法 AbstractService2中有很多业务和AbstractService1不同,但是核心业务
阅读全文
posted @ 2018-07-02 21:25 funny_coding
阅读(118)
评论(0)
推荐(0)
mysql 日期与索引问题
摘要: 日期类型可以直接和string格式的字符串比较 select * from xxx where event_time>'2018-06-02' 可以使用索引, mysql默认会把后面的字符串转成date类型。可以使用between and select * from xxx where date(e
阅读全文
posted @ 2018-07-02 21:05 funny_coding
阅读(10054)
评论(0)
推荐(0)
2018年6月30日
jdb应用 远程调试
摘要: 场景: 外网可以登录远程主机,但是因为安全限制,不能在外网直接访问docker应用的端口,因此不能远程调试。远程主机shell内部可以连接docker应用,也没有图形界面,没有log,考虑使用原始的jdb来调试 要求:应用启动时开启了debug模式 旧配置方式 -Xdebug -Xrunjdwp:t
阅读全文
posted @ 2018-06-30 22:56 funny_coding
阅读(371)
评论(0)
推荐(0)
maven POM总结
摘要: 可继承的字段 version property 其他占坑: parent import scope Dependency_Management中的scope是可以被继承的,http://maven.apache.org/pom.html#Dependency_Management classifie
阅读全文
posted @ 2018-06-30 22:50 funny_coding
阅读(150)
评论(0)
推荐(0)
jvm
摘要: 内存模型 《深入理解java虚拟机》 堆 包括新生代和老年代,不包括元数据区 在Minor GC时会将新生代中还存活着的对象复制进一个Survivor中,然后对Eden和另一个Survivor进行清理。所以,平常可用的新生代大小为Eden的大小+一个Survivor的大小 S0=S1 分配担保机制:
阅读全文
posted @ 2018-06-30 10:33 funny_coding
阅读(172)
评论(0)
推荐(0)
2018年6月28日
jdbc取出表名 名称
摘要: package com.dataconnect.test.util; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.DriverManager; import java.sql.ResultSet; import org.slf4j.Logger; import org.slf4j...
阅读全文
posted @ 2018-06-28 11:29 funny_coding
阅读(1538)
评论(0)
推荐(0)
2018年6月25日
nginx配置openssl证书
摘要: 引用出处: https://blog.csdn.net/liuchunming033/article/details/48470575 证书生成基本步骤: 生成私钥(.key)-->生成证书请求(.csr)-->用CA根证书签名得到证书(.crt) CA根证书的生成步骤 生成CA私钥(.key)--
阅读全文
posted @ 2018-06-25 13:47 funny_coding
阅读(764)
评论(0)
推荐(0)
2018年6月17日
DNS A记录 CNAME NS记录等的区别
摘要: A记录 将此域名绑定到固定ip C记录 将此域名绑定到另一个域名上,通常是A记录的别名 AAAA记录 用来绑定ipv6地址 https://www.ezloo.com/2011/04/a_mx_cname_txt_aaaa_ns.html DNS域名解析查询工具 dig nslookup trace
阅读全文
posted @ 2018-06-17 12:46 funny_coding
阅读(846)
评论(0)
推荐(0)
2018年6月14日
spring boot与 spring.factories
摘要: #spring boot启动加载过程 META-INF下面的spring.factories 解析@Configuration https://www.jianshu.com/p/346cac67bfcc DelegatingWebMvcConfiguration vs WebMvcConfigur
阅读全文
posted @ 2018-06-14 18:52 funny_coding
阅读(400)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
下一页
公告
build beautiful things, share happiness