Practical distributed kV database ttserver

Source: Internet
Author: User
Relational databases often face challenges in Internet applications that store massive amounts of data:

    • No quick hash search capability for key-value;
    • The access interface does not support HTTP;
    • The TPS for reading and writing is not high enough;

Since Google's bigtable, key-value databases have attracted the attention of more and more developers. There are more and more KV-structured databases in Internet projects. With the increasing demand for distributed technology, we hope that the database itself can support better distributed architecture when selecting a database. You can also increase or decrease machines quickly. Tokyo TC is a good dBm. With the support of todyo TT, TC can achieve good distributed storage and data search. In addition to TD, it can also implement distributed search. TT has good performance. I tested it on a common 1u server.

[Root @ WWW] #/usr/local/bin/tcrmttest write-port 11211 127.0.0.1 1000000 <writing test> host = 127.0.0.1 Port = 11211 tnum = 1 rnum = 1000000 Nr = 0 EXT = RND = 0 ......................... (00100000 )......................... (00200000 )......................... (00300000 )......................... (00400000 )......................... (00500000 )......................... (00600000 )......................... (00700000 )......................... (00800000 )......................... (00900000 )......................... (01000000) Record Number: 1000001 size: 32430400 time: 46.946 OK host load up to 1.6. The testing machine is 1 GB memory 2 gcpu.

TT is ideal for memcache. Tt also has some shortcomings. For example, the performance of one TT server cannot be supported when the data volume increases. Now I want to add a machine. The data on the TT server needs to be manually exported to another machine. If data separation is implemented in mod mode, the application layer needs to be modified. In this case, an intermediate layer is required. If the TT server has a donw server, the cache of all TT servers will be re-allocated, which will cause performance degradation. In this case, consistent hash will be better.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.