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
| nodejs也npm错误,compile中设置 registry ? 有时也不行 | |
| 还是nodejs对我好啊。。。虽然会挂,但偶尔也会正常运行。。。 | |
| test-log是用python写了一个服务器而已。。。 | |
| 下面呢? | |
| 关于组件的varz |
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
| > 在test/cf-vagrant-installer中执行 | |
| > vagrant destroy,删除虚拟机重新vagrant up | |
| > health manager启动失败 | |
| > 部署nodejs时,150001: The app package is invalid: failed repacking application |
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
| 试图在CF上运行tuscany应用 | |
| 但自定义的tuscany-buildpack,无法成功启动tuscany应用 | |
| java进程在启动后,会被kill,无论是调内存参数,还是别的,都无法解决这个问题 | |
| java-console是可以部署的,虽然没有绑定url、 |
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
| 试图在CF上运行tuscany应用 | |
| 但自定义的tuscany-buildpack,无法成功启动tuscany应用 | |
| java进程在启动后,会被kill,无论是调内存参数,还是别的,都无法解决这个问题 | |
| java-console是可以部署的,虽然没有绑定url、 |
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 |
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/). | |
| 排序,扫描一遍 | |
| 排序,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/). | |
| 右移,与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/). | |
| 其实就是求质数分解中,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/). | |
| 下面开始验证router,确实可以做到负载均衡,就是将一个应用的两个不同的实例,分别部署到2个dea节点上。 | |
| 首先,一个dea对应于一个warden容器?。 | |
| **上层DEA通过warden client来调用warden server提供的api创建并控制container,container可以添加诸多限制,且container之间互相隔离** | |
| dea启动时,会向router去注册自己。 |