SQL querys(join) 2. Real time read and write 3. Consistent transaction • High level requirement: 1. High scalability and availability 2. High performance of reading tons of data 3. High performance of concurrent reading & writing
rarely read statistical data memcached Cache, small pieces of data with many concurrent connections mongoDB Dynamic queries, frequently written, rarely read statistical data CouchDB Accumulating, occasionally changing data with pre-defined queries Cassandra When you write more than you read (logging) HBase Random read write to large database
with or without modification, are permitted provided that the following conditions are met: • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. • All advertising materials mentioning features or use of this softwaremust display the following acknowledgement: This product includes software developed by the <organization>. • Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
of data disappering 1.Snapshotting: save 900 1, save 300 1, save 60 10000 • Disaster Recovery 1.RDB(Snapshotting): save 900 1, save 300 1, save 60 10000 2.AOF(Append-only file): appendfsync always, appendfsync everysec, appendfsync no • Consistent hashing