This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| [参考日志1][1] :22号早上,看了这篇日志,也没做什么,就可以了? | |
| 不对,改了一样,在/ect/apache2/mods-available/jk.conf中 | |
| mount app的时候,将**JkMount /* loadbalancer** | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 还是去找boss。 | |
| 看一下CF的支持websocket部分 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| ---------- | |
| 查看路由表信息的 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 任务?先去找老板吧。老板不在,hoho~ | |
| 看一下warden的资料: | |
| 资源隔离: | |
| network(stack per container) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 下面开始验证router,确实可以做到负载均衡,就是将一个应用的两个不同的实例,分别部署到2个dea节点上。 | |
| 首先,一个dea对应于一个warden容器?。 | |
| **上层DEA通过warden client来调用warden server提供的api创建并控制container,container可以添加诸多限制,且container之间互相隔离** | |
| dea启动时,会向router去注册自己。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 其实就是求质数分解中,5的指数k | |
| N! = 2^i * 3^j * 5^k * ... | |
| 变体:N!中二进制表示中最低位1的位置 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 右移,与0x1比较 | |
| 除2,比较余数 | |
| 编程之美p121,解法三 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 排序,扫描一遍 | |
| 排序,N / 2肯定是发帖水王 | |
| 两两PK,剩下的一定是水王 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - | |
| > Written with [StackEdit](https://stackedit.io/). | |
| 编译tuscany2.0.1源码,mvn install | |
| 生成的jar包,拷贝到可运行版本的具体的目录下。 | |
| 或者使用一个插件maven-antrun-plugin,自动拷贝到相应的目录下 | |
| 修改日志等级:INFO改为FINE,再次CF push,看一下更全的日志。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 错误日志dea.log: | |
| droplet.healthy | |
| start instance |