Skip to content

Instantly share code, notes, and snippets.

@ndzj081221130
Created February 12, 2014 02:11
Show Gist options
  • Select an option

  • Save ndzj081221130/8948718 to your computer and use it in GitHub Desktop.

Select an option

Save ndzj081221130/8948718 to your computer and use it in GitHub Desktop.
nodejs
nodejs也npm错误,compile中设置 registry ? 有时也不行
还是nodejs对我好啊。。。虽然会挂,但偶尔也会正常运行。。。
test-log是用python写了一个服务器而已。。。
下面呢?
关于组件的varz
router会定期发送router.start? 活着的节点收到router.start后,
会相应的router.register/dea.advertise/staging.advertise/dea.heartbeat.
首先UpdateManager成功的与router建立联系,在router.start后,向router发送router.register消息,注册自己。
cf-5.4.0研究源码,
判断是否所有的请求都会经过cc?报错cf files?
gcf只能在mac上编译,alpha版本。
**cli 与cc的交互?**
应该不是通过nats,那是url?
lib/api暴露了一组api,cli是通过api与cc交互的?确实是,cf包装了cfoundry
从cli的源码上比较困难。
从cc的源码上看,在runner.rb中启动一个Thin::Server
cf在bin/cf中启动,执行CF::CLI.start(ARGV)
gorouter的转发逻辑?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment