一旦 shard coordinator(相当于分布式系统的 zookeeper) 启动,它就会启动一个定时器,每隔一定的时间尝试平衡一下集群中各个节点的负载,平衡的办法是把那些负载较重的 actor 移动到负载较轻的节点上。在这一点上,我以前的理解有误,我以为 shardRegion 是移动的最小...
                            
                            
                                分类:
其他好文   时间:
2015-08-30 22:54:03   
                                阅读次数:
473
                             
                    
                        
                            
                            
                                为了使一个项目支持集群,自己学习使用了 akka cluster 并在项目中实施了,从此,生活就变得有些痛苦。再配上 apache 做反向代理和负载均衡,debug 起来不要太酸爽。直到现在,我还对 akka cluster 输出的 log 不是很熟悉,目前网络上 akka cluster 的信息还...
                            
                            
                                分类:
其他好文   时间:
2015-08-30 11:08:45   
                                阅读次数:
187
                             
                    
                        
                            
                            
                                说实话,android source code从2.3到4.4变化是蛮多的,尤其是media部分,虽然总的框架是没有多大变化,但是找起代码来看还是挺麻烦的。在android里面最受伤的是使用了java,jni,jvm,Nativity c++等等,各种设计模式横行,当然在学习源码过程中也意识了编.....
                            
                            
                                分类:
移动开发   时间:
2015-08-30 00:44:10   
                                阅读次数:
346
                             
                    
                        
                            
                            
                                Comment comparisonThere is a wide variety of syntax styles for declaring comments in source code.BlockCommentin italics is used here to indicate block...
                            
                            
                                分类:
编程语言   时间:
2015-08-29 20:11:46   
                                阅读次数:
194
                             
                    
                        
                            
                            
                                1 Introduction? This document serves as the complete definition of Google‘s coding standards for source code in the Java? Programming Language. A Java source file is described as being in Google...
                            
                            
                                分类:
编程语言   时间:
2015-08-29 18:57:29   
                                阅读次数:
235
                             
                    
                        
                            
                            
                                为了尊重原始版本,将英文原文贴出来,同时将一些需要注意的地方加上我的注释
Source code of the firmware running in the Crazyflie 2.0 nRF51822. This microcontroller have a couple of roles:
Power management (ON/OFF logic and battery ha...
                            
                            
                                分类:
其他好文   时间:
2015-08-27 18:39:31   
                                阅读次数:
279
                             
                    
                        
                            
                            
                                最近都在忙着研究Android的安全攻防技术,好长一段时间没有写博客了,准备回归老本行中--Read the funcking android source code。这两天在看NDK文档的时候,看到一句话“Native debugging ... does n...
                            
                            
                                分类:
移动开发   时间:
2015-08-27 15:37:03   
                                阅读次数:
386
                             
                    
                        
                            
                            
                                【0】写在前面0.1)本代码的作用: 旨在说明局部描述符表的作用,及其相关定义,初始化和跳转等内容;0.2)文末的个人总结是干货,前面代码仅供参考的,且source code from orange’s implemention of a os.0.3)由于本文中代码和 “实模式和保护模式切换的步骤”的源代码 有90%之多的相似之处,参见http://blog.csdn.net/pacosonswj...
                            
                            
                                分类:
其他好文   时间:
2015-08-27 11:08:59   
                                阅读次数:
257
                             
                    
                        
                            
                            
                                threading — Higher-level threading interface¶Source code: Lib/threading.pyThis module constructs higher-level threading interfaces on top of the lower...
                            
                            
                                分类:
其他好文   时间:
2015-08-20 23:57:54   
                                阅读次数:
332
                             
                    
                        
                            
                            
                                下载见C++开发的论坛系统-BBS下载地址:Fetch_source_code_release_vse2008_v1.2.1.7z眼下先暂存在百度云上,最近会放入github当前版本号的代码使用的标准C/C++在Windows上开发。使用的是Visual C++ Express 2008编译如有问题...
                            
                            
                                分类:
编程语言   时间:
2015-08-19 22:49:41   
                                阅读次数:
200