This file contains 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 push新版本了,也不知道原因了,no instance found for id? | |
因为之前已经部署过了???? | |
可能不仅仅是这个原因了。 | |
还有router的拦截器实现 | |
先commit到git上 |
This file contains 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
1 自我介绍 | |
2 问到我的项目,app,是不是团队。 | |
3 当你遇到问题的时候,你如何寻求帮助 | |
4 当你在团队中,与队友产生冲突时,如何解决。 | |
example | |
技术问题 | |
摩根上海的IT部门 | |
1 queue和stack的区别 | |
2 数组和链表的插入和删除的时间、空间开销 |
This file contains 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
[openstack准备][1] | |
[官网文档][2] | |
[水平扩展CF][3] | |
1 在台式机上,装bosh_cli. 那不如在openstack虚拟机上安装了 | |
[准备bosh cli客户机][4] |
This file contains 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
阿里实习生面试 | |
————1轮面试--------------- | |
nio与bio的区别,伪拷贝、零拷贝、同步与阻塞、异步与非阻塞的关系 | |
socket编程 | |
实现一个hash函数,解决冲突的方式,如何减少冲突, | |
java中的HashMap的动态扩展,为什么都是2的倍数 | |
多线程,加锁的方法, | |
原子类 | |
volatile |
This file contains 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
阿里实习生面试 | |
————1轮面试--------------- | |
nio与bio的区别,伪拷贝、零拷贝、同步与阻塞、异步与非阻塞的关系 | |
socket编程 | |
实现一个hash函数,解决冲突的方式,如何减少冲突, | |
java中的HashMap的动态扩展,为什么都是2的倍数 | |
多线程,加锁的方法, | |
原子类 | |
volatile |
This file contains 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
代码封装,合理性? | |
面向事务的案例,如果要求用户加上一个参数 | |
将更新封装为一个update service,那么,可以要求用户,显示的写一些代码,以支持更新 | |
类似于msg service、database service | |
CF的三角架构 |
This file contains 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平台的扩展 | |
首先,判断一个构件能否更新,需要判断该构件是否被其它构件依赖,以及该构件是否正在请求其它构件。 | |
因此,我们将一次完整的请求调用抽象成会话(事务)的概念,并为该会话(事务)添加标识,即事务id。 | |
CF支持动态更新所要支持的服务有: | |
首先需要一个拦截器,拦截进入构件和出构件的请求。(一般,出构件的请求不好拦截) |
This file contains 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
tuscany扩展 | |
首先在具有动态更新功能的tuscany平台上进行扩展。 | |
将每次由tuscany发送的消息,转发给DEA。 | |
首先要有一个可运行的tuscany版本。然后再部署到CF上。 | |
然后再修改。 |
This file contains 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
首先,app的静态依赖是通过苏萍的插入代码获得的,通过苏萍的插入代码, | |
app在运行过程中,会给某个端口发送消息? | |
String fieldName = "_txLifecycleMgr"; | |
String fieldDesc = "Lcn/edu/nju/moon/conup/spi/tx/TxLifecycleManager;"; | |
苏萍插入的代码,需要根据TxLifecycleManager对象, | |
生成对应的事务生命周期管理器。 |
This file contains 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
首先在DEA上启动一个collect_server,用户获取应用的状态。 | |
collect server启动在collect_port端口上。并且将该端口,作为环境变量,写到warden容器的logs/env.log中。如果应用需要向端口发消息的话,就向该端口发送。 | |
用java写了一个简单的通信模块,可以向collect server发送消息。 | |
先阶段就是发送字符串,由collect server进行解析,并且识别出instance_id和stats | |
并且写入注册表? | |
在instance添加属性stats,每当warden中的实例给collect server发送消息时,都会将状态更新到注册表中。 |
NewerOlder