Redis insertion performance test

Source: Internet
Author: User

(1) test environment

CPU

Dualcore e5800 X2 3.2g

Memory

4G

OS

SuSE Linux Enterprise Server 11 (x86_64)

Client

Jedis

(2) Insert a single value

 

Insert:

Key = (1000000-10000051) vaue = (1000000-10000051)

 

Client thread

Insert volume

Time consumed (MS)

TPS

Memory (byte)

Record capacity

1

1233104

1030750

2 K

91.96 M, 96422000

78 byte

50

10000051

182180

5.45 million

882.31 M, 925165648

92 bytes

 

(3) List insertion (50 threads inserted)

Key = (1000000-5000000) List <vaue> = (1000000-5000000), list. size = 500

 

Insert lists:

Key = userid, value = List <userid>

List length = 1, memory 451 MB;

When the length of a list of 28 W users is changed to 500, the memory usage is 1.25 GB. The cost of increasing the list is 30 mb/1 W, and the TPS is 5.5 w/s;

 

When the list length of 3000 users is changed to 10000, the memory usage is 1.35 GB. The cost of the List length is 0.45 mb. the user is 4.5 GB/5.5, And the TPS is w/s;

Related Article

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.