Trello如何在MongoDB中存储数据? (每板收藏?) [英] How does Trello store data in MongoDB? (Collection per board?)

查看:173
本文介绍了Trello如何在MongoDB中存储数据? (每板收藏?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Trello如何在MongoDB中存储他们的数据(卡)?

How does Trello store their data (cards) in MongoDB?

我读了(Trello如何快速展示历史?)他们的动作集合是最大的。因此,我假设他们不将所有的卡存储在一个巨大的集合中。

I read ( How does Trello show history so quickly? ) that their Actions collection is the largest one. Thus I assume that they do not store all cards in one gigantic collection.

唯一的其他逻辑解决方案似乎是每个板或每个用户的集合。但是他们有很多用户,我读过( http://www.mongodb .org / display / DOCS / Using + a + Large + Number + of + Collections )收藏数量有限制,有些人建议不要使用大量的收藏。

The only other logical solution seems a collection per board or per user. But they have a lot of users and I read ( http://www.mongodb.org/display/DOCS/Using+a+Large+Number+of+Collections ) that there is a limit on the number of collections and some people advise against using a lot of collections.

我希望来自Trello团队的人能够服从这一点,我希望从一般社区解决这个问题也有一些想法。

I hope someone from Trello team will answear this AND I hope to get some ideas on solving this kind of a problem also from the general community.

推荐答案

Trello将所有的卡存储在一个集合中。集合在卡的板ID上划分。

Trello stores all of the cards in one collection. The collection is sharded on the card's board id.

这篇关于Trello如何在MongoDB中存储数据? (每板收藏?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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