我需要實現一個結構相對簡單的海量數據庫。這是少數表,沒有複雜的依賴關係,等等。我將如何選擇說Cassandra和CouchDB?Cassandra與Couchdb
回答
嗯,這實際上取決於您希望如何存儲數據以及如何訪問它。這也取決於你想如何分割你的數據,如果你想要故障轉移/複製。
CouchDB作爲一個文檔數據庫是非常好的,它有一個很好的RESTful接口來訪問所有東西。這是一個多版本存儲,所以更新記錄會在每次存儲時創建一個新版本。
搜索CouchDB是通過在JavaScript中編寫查詢來搜索您想要的內容來完成的。
另一方面,Cassandra是一個列數據庫,需要您使用Thrift API來插入/更新和刪除數據。它的優點在於它有一個磁盤備份的緩存層。
就像我說的,找出你想如何使用你的數據,然後開始看所有不同的事情。
你不必使用「原始」節儉api。 http://wiki.apache.org/cassandra/ClientOptions – Schildmeijer 2010-08-05 22:41:14
您可以使用JavaScript以外的其他語言編寫Couchdb中的mapreduce函數(用於搜索),例如PHP和Erlang。 – TTT 2010-08-06 05:35:02
Schildmeijer:真的嗎?所以我可以使用動物/卡桑德拉而不安裝節儉? – 2010-09-17 05:04:40
Cassandra的優點是可擴展性和性能; Couch's是同類設備/機器之間可能脫機的雙向同步(例如Android)的最佳支持。
- 1. HBase cassandra couchdb mongodb..any基本區別?
- 2. CouchDB與DesktopCouch
- 3. Spark-Scala與Cassandra
- 4. cassandra與scala
- 5. sparkR與Cassandra
- 6. 使用couchDB與vert.x
- 7. ESOCKETTIMEDOUT與遠程CouchDB
- 8. 海量數據庫w /全文檢索 - Sphinx,Lucene,Cassandra,MongoDB,CouchDB
- 9. 你需要用於MongoDB,CouchDB和Cassandra的Solr/Lucene嗎?
- 10. Elasticsearch與cassandra集成
- 11. 命令行與cassandra
- 12. TimeUUID與Cassandra和Lazyboy
- 13. Oracle Golden Gate與Cassandra
- 14. CouchDB的 - 與start_key和end_key
- 15. 節點js,請求與couchdb
- 16. 加入/與CouchDB總和
- 17. 格式化CouchDB的,Lucene的結果與CouchDB的列表
- 18. Kitura與CouchDB - 導入CouchDB模塊的問題
- 19. Spark與Cassandra python安裝
- 20. Multiget查詢cassandra與phpcassa
- 21. Cassandra集羣與節點
- 22. UTF8Type與ByteType的Apache Cassandra的
- 23. 與泰坦連接cassandra
- 24. IBM InfoSphere與Apache Cassandra集成
- 25. spark與cassandra文件系統
- 26. Kundera Cassandra JPQL與複合鍵
- 27. Cassandra政策配置與CassandraAutoConfiguration
- 28. Spark Cassandra與spark-cassandra連接器集成中的錯誤
- 29. Apache Cassandra或DataStax Cassandra?
- 30. CouchDB與PHP(使用cURL),但如何?
你選擇了哪一個?你的選擇是否好? – strauberry 2011-06-15 07:39:32