实现Pydap服务器群集聚合的模块。
DistributedPydap的Python项目详细描述
这个模块带来了一个wsgi中间件,它聚合来自几个pydap服务器的数据集。
要安装它,请将筛选器添加到您的server.ini:
[app:main] use = egg:pydap#server root = %(here)s/data templates = %(here)s/templates x-wsgiorg.throw_errors = 0 filter-with = distributed [filter:distributed] use = egg:DistributedPydap root = %(here)s/data cache = %(here)s/cache.db
然后添加新的index.html模板:
$ paster create -t DistributedPydap server
其中server是pydap的安装。然后编辑index.html模板 添加使用此中间件配置的其他Pydap服务器的地址。