我们有一个api(Python2.7,flask-proxy to elasticsearch),varnish用作前端缓存。时不时会发布新数据,并将消息(带http端点的awsns)发送到api,说明该清除缓存了。在
在api上,我们使用varnish manager(https://github.com/justquick/python-varnish)来停止和启动varnish(没有其他方法可以清除所有缓存afaik)。这是可行的,但我们得到了“[Errno 32]Broken pipe”,因为varnish在处理请求时正在重新启动。在
关于如何解决这个问题有什么建议吗?在
或者
^{pr2}$相关问题 更多 >
编程相关推荐