简体   繁体   English

如何在 Heroku 上设置 ArangoDB?

[英]How to setup an ArangoDB on Heroku?

I want to host a Telegram python bot which uses ArangoDB as its database.我想托管一个使用 ArangoDB 作为其数据库的 Telegram python 机器人。 Can you help with creating ArangoDB on Heroku?你能帮忙在 Heroku 上创建 ArangoDB 吗? GitHub repo for bot: https://github.com/mojurasu/kantek Edit: I am not sure if Heroku postgres will work with Arango机器人的 GitHub 存储库: https : //github.com/mojurasu/kantek编辑:我不确定 Heroku postgres 是否可以与 Arango 一起使用

Heroku is a service that offers hosting your stateless application in containers persisting your data with Postgres + Redis. Heroku 是一项服务,它提供在容器中托管您的无状态应用程序,并使用 Postgres + Redis 持久化您的数据。

ArangoDB in contrast is a multi model Database - it keeps state for you, for which it needs storage volumes which Heroku doesn't offer.相比之下,ArangoDB 是一个多模型数据库 - 它为您保存状态,它需要 Heroku 不提供的存储卷。

As Heroku offers you managing databases of your application stack for you, it doesn't do so for ArangoDB. Heroku 为您提供管理应用程序堆栈的数据库,而 ArangoDB 则不然。

If its about having a managed ArangoDB so you don't need to care about it, there is ArangoDB OASIS where you can get ArangoDB as a service, however, you need to manage your application containers on your own.如果它是关于拥有一个托管的 ArangoDB 所以你不需要关心它,有ArangoDB OASIS ,你可以在那里获得 ArangoDB 作为服务,但是,你需要自己管理你的应用程序容器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM