Storm 0.9.2 single-host performance test

Source: Internet
Author: User

I recently tested data processing performance using storm.

Topology Structure: spout outputs 0.8 million data (in CSV format); bolt1 parses CSV data and splits each information segment; bolt2 is summarized by a field in bolt1, and is written into the database after the count is accumulated (loading Trigger frequency: 60 s ).

Concurrency configuration: spout task (1) Executor (3); bolt1 excutor/task (16); bolt2 excutor/task (8 );

Workers (8); storm slot (8)

Hardware configuration: 8 CPU, 16g memory

The processing performance is about 1w5/s.

Some problems were found during the test, which delayed some time.

Storm UI 0.9.2 has a bug when displaying the topology summary. The number of worker and excutor values is reversed. Storm list can be used for verification in the command line.

Strom sometimes times out when distributing tasks. The cause of the exception is unknown:

2014-09-22 13:18:34 b.s.m.n.Client [INFO] Reconnect started for Netty-Client-ip-61/ip:6703... [11]2014-09-22 13:18:35 b.s.m.n.Client [INFO] Reconnect started for Netty-Client-ip-62/ip:6703... [12]2014-09-22 13:18:35 b.s.m.n.Client [INFO] Reconnect started for Netty-Client-ip-61/ip:6703... [12]
Conclusion:

In storm, worker is the processing process, excutor is the thread under worker, and task is the specific instance object (spout/Bolt ). When performance is insufficient, you can adjust the concurrency, number of slots, and number of workers to improve performance.

Storm 0.9.2 single-host performance test

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.