Use LoadRunner to easily build test clouds and start cloud testing

Source: Internet
Author: User
Tags memcached

These days, everything is about cloud. Cloud computing, cloud killing, cloud blocking, cloud storage, cloud email, cloud shearing, clouds ... I do not do the performance test can not lose to them.

The previous introduction of the use of LoadRunner to manipulate MySQL and the use of LoadRunner manipulation memcached, a typical business system is the cache + application + database. Where the application implements the business logic of the close-up. Similarly, doing performance testing is the same:

The test scenarios we designed are implemented through test scripts, which are equivalent to applications in the business system. And the test process is also the data, usually we use the LoadRunner parameter function to save the data. Unfortunately, LoadRunner's support for large file reads is bad, and the default is simply to read the parameter file. Writing or modifying a file does not provide a ready-made method and requires a self implementation.

Writing a file is not as good as writing a database, which is why there is a database.

In order to improve the performance of the system, people often add caching on the front end.

Do the same with performance testing, we need data, and test scripts are not the bottleneck of testing.

Now that you have been able to manipulate the database and cache directly using LoadRunner, how do you build a team that belongs to your own test cloud?

The principle is actually very simple, refer to the principle of memcached cluster. When accessing data, hash and modulo a key value. This determines where the data is stored (database cluster members) and where the data is obtained (caching cluster members). Figure diagram:

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.