行情需要稳定靠谱的下载服务,原先计划的1.0版本只做代理服务可能会影响行情 更新质量,所以把计划后期做的服务发现下载服务实现了, 对于行情来说,使用服 务发现下载器就行了. 预计版本2.0有两个任务
- 将会重构1.0的代码,提供代码质量,并补全测试.
- 加入slave集群管理功能,dashboard功能
下面是服务架构描述: page downloader service分为4个sub service, 分别是:
{ | |
"af": "Afrikaans", | |
"af-ZA": "Afrikaans (South Africa)", | |
"ar": "Arabic", | |
"ar-AE": "Arabic (U.A.E.)", | |
"ar-BH": "Arabic (Bahrain)", | |
"ar-DZ": "Arabic (Algeria)", | |
"ar-EG": "Arabic (Egypt)", | |
"ar-IQ": "Arabic (Iraq)", | |
"ar-JO": "Arabic (Jordan)", |
console.debug('Tower improving...'); | |
var towerImprovements = { | |
"projects\/[a-zA-Z0-9]+" : function() { | |
var todoLists = $('.todolist'); | |
var heightMax = 0; | |
todoLists.each(function(i, todolist) { | |
if($(todolist).height() > heightMax) { | |
heightMax = $(todolist).height(); | |
} |