08 2018 档案
摘要:Django中的Model(操作表) Model 操作表 一、基本操作 1 # 增 2 3 models.Tb1.objects.create(c1='xx', c2='oo') #增加一条数据,可以接受字典类型数据 **kwargs 4 5 obj = models.Tb1(c1='xx', c2
阅读全文
摘要:https://www.zhihu.com/question/52629893/answer/131731126
阅读全文
摘要:masstree Seastar 线程锁竞争和切换的开销几乎为0,代码也不用考虑多线程竞争,逻辑大大减化;此外Niagara是一个全异步执行引擎,采用了基于future,promise和continuation的方式来表达我们的异步执行逻辑,比传统的callback方式逻辑清晰明了了很多,很舒服的同
阅读全文
摘要:@Around("execution(* com.iotx.cep.biz.rpc.impl.*.*(..)) " + "&& !execution(* com.iotx.cep.biz.rpc.impl.CepEngineServiceImpl.calcOffsetForSameSource(..
阅读全文
摘要:augroup filetype autocmd! BufRead,BufNewFile BUILD set filetype=bladeaugroup endcolo desert set numberset autoindentset smarttabset smartcaseset smart
阅读全文
摘要:https://github.com/gopherchina/conference/tree/master/2018
阅读全文
摘要:应用场景 主要作用解耦、滑峰填谷 异构系统的整合,这个问题比较容易理解,在原阿里SOA ESB比较火的年代,很多异构系统需要进行互联互通。 应用和应用之间的松耦合,这个在阿里巴巴内部很多的同步链路到异步链路里面,使用的非常多。 事件驱动机制和复杂事件架构模型里面的Backbone,底层的机制可以通过
阅读全文