【发布时间】:2013-06-04 17:45:01
【问题描述】:
我编写了一个客户端服务器应用程序。我在服务器上设置了弹性搜索服务。 客户端(iOS 应用)从弹性搜索服务中查询信息。 我有两个选择:
1. put the elastic-search behind a nginx server(as proxy server).
2. write an app running on the middle-ware to wrap the elastic-search APIs(only
certain APIs that will be queried by the client).
对于选项 1,所有弹性搜索 API 将同时向客户端和公众公开。
我应该采取什么选择?或者有什么其他好的做法来处理这种情况?
【问题讨论】:
标签: deployment architecture elasticsearch web-deployment