English 中文(简体)
Cassandra Vs Amazon SimpleDB
原标题:

I m working on an application where data size and SQL queries are going to be heavy. I am thinking between Cassandra or Amazon SimpleDB. Can you please suggest which is more suitable in this kind of scenario?

Cassandra data indexing seems better than Amazon simpleDB, but the queries have fewer options compared to Amazon SimpleDB. Seems Amazon SimpleDB has heavy I/O rates.

Few of the complex use cases are user activities with different filters that user can put to narrow down to some interesting activities.

If you think there is anyother cleaner and better solution apart from these two, please suggest.

问题回答

SimpleDB can only scale by sharding, has 10 GB data size limit per table, and query performance is parallel to record count (eg: poor if you have 1 million records). And google s datastore is slower than simpledb. Cassandra is much more scalable, high traffic sites began to use it, there is nothing better for free if you need high write rates with massive data. cassandra survey

If your read/write ratio is something like %90 for read and %10 for write, then terracotta or infinispan with postgres is a better fit. There some free clustering options for postgresql but none of them matured (mostly prototypes).

Another option is sharding. Hiberntae and NHibernate has sharding support. You can use them with postgres or mysql but you loose joins.

Regards

Something quick to consider is that any custom nosql setup (Cassandra, mongodb, redis, etc) will be leagues faster at low volume than simple db, but you take on the burden of all the server management configuration, disaster recovery, backups, etc.

Then as your apps scale, you are going to be spending more and more time admining your increasingly complex data layer and making sure it stays backed up and safe.

Simple db (and equivalent data stores) remove that concern from you as you scale.

So keep that in mind when considering clopud storage or rolling your own setup, cause when disaster strikes it sssuuuccckkkss, especially if you don t know exactly what you are doing to recover it all.





相关问题
Best logging option on Amazon Cloud. RDS or SimpleDB?

My site s architecture includes ASP.Net & MySQL. I am planning to deploy it on Amazon Cloud. This would mean EC2 instance(s) and RDS. My query is regarding logging. I m ensuring that my ...

How does Amazon.com function with a key-value datastore?

I have heard that Amazon uses a key-value data store - that it does not use a traditional relational normalized db. Speaking as someone who only has used the traditional approach, how does this work? ...

Cassandra Vs Amazon SimpleDB

I m working on an application where data size and SQL queries are going to be heavy. I am thinking between Cassandra or Amazon SimpleDB. Can you please suggest which is more suitable in this kind of ...

SimpleDB vs Tokyo Cabinet

Has anybody compared SimpleDB and Tokyo Cabinet for performance and scalability? I m coding my project against SimpleDB at the moment and considering benchmarking TC, be nice if somebody had already ...

How to do paging with simpledb?

I know how to page forward with SimpleDB data by using NextToken. However, how exactly does one handle previous pages? I m on .NET, but I don t think that matters. I m more interested in the ...

热门标签