我应该使用服务产品或英雄插件的弹性搜索还是从我自己的弹性搜索设置? [英] should I use elasticsearch from service prodiver or heroku addon or from my own elasticsearch set up?

查看:110
本文介绍了我应该使用服务产品或英雄插件的弹性搜索还是从我自己的弹性搜索设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个nodejs应用程序在nodejitsu服务器上运行。



最近我想为我的应用程序构建搜索功能。弹性搜索技术似乎适合我。我知道弹性搜索是java基础。要运行它,我需要java服务器。我买不起



我想我有这样的选项:



1租英雄java主机服务然后安装弹性搜索。 / p>

2订阅英雄主机计划并安装可用弹性搜索插件之一(如盆景)



3 - 直接进入弹性搜索服务提供商,如searchbox.io并订阅计划



那么哪个人认为最适合我的情况?

解决方案

全面披露:我在Heroku附加组件上工作。



查看建议的选项:



1)Dynos是短暂的,每当您部署代码更改,更新配置变量或至少每天一次时,将重新启动。您仍然需要了解如何处理持久性或每次发生这些事件时重建索引。



2)您实际上有3个选项现在的附加组件市场:检查这个,盆景是唯一一个出来的的beta。



3)搜索框可通过加载项获得。



我在Heroku工作,特别是在附件上,因为我喜欢这个产品,相信它是未来。您需要做的更好,更有用,而不是管理服务器,并确保它们正常运行,就像实际构建应用程序一样。我通常会发现,如果我想使用一项服务,那么免费的计划就足够了,而且这笔付款计划在Bonsai开始真的很便宜,因为时间和麻烦他们救了我(另外两个你不能支付



希望有帮助,



Glenn


I have a nodejs app running on nodejitsu server.

Lately I want to build search functionality for my app. The elasticsearch technology seems suitable for me. I understand that elasticsearch is java base. To run it I need java server. Which I can't afford.

I think I have options like these:

1-rent heroku java hosting service then install elasticseach.

2-subscribe to heroku hosting plan and install one of the elasticsearch addon available (such as bonsai)

3-Go directly to elasticsearch service provider such as searchbox.io and subscribe a plan

So which one do think is best for my situation?

解决方案

Full disclosure: I work on the Heroku Add-ons team.

Going through your suggested options:

1) Dynos are ephemeral and are restarted whenever you deploy a code change, update a config var, or at least once a day. You'd still need to work out how to handle persistance or rebuild the index every time one of those events occurred.

2) You've actually got 3 options in the Add-ons Marketplace at the moment: check this one, Bonsai is the only one that is out of beta.

3) Searchbox is available via Add-ons.

I work at Heroku, and in particular on Add-ons, because I love the product and believe it's the future. You've got better and more useful things to be doing than managing servers and making sure they are up, like actually building your app. I usually find the free plans are more than adequate to test if I want to use a service, and that paid plans on Bonsai start really cheap given the amount of time and hassle they save me (the other two you can't pay for just yet).

Hope that helps,

Glenn

这篇关于我应该使用服务产品或英雄插件的弹性搜索还是从我自己的弹性搜索设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆