[Bigdata] Flume file channel CPU consumption is higher than memory channel reason

Source: Internet
Author: User

https://www.quora.com/ Why-does-flume-take-more-resource-cpu-when-file-channel-is-used-compared-to-when-memory-channel-is-used

In case of File channel, the CPU would is used for the following

    • serializing/deserializing Events from/to file channel. In memory channel, the is plainly stored in RAM, so no serialization is required.
    • A Small CPU overhead per disk write in determining the disk location where it needs to write. Typically this is backed by swap file. So you won't see this per event. But would see the CPU spikes when the moving from physical to swap.

So this increase are not entirely unexpected. However, you should look closer if this increase in CPU are high enough to slow down the system.

[Bigdata] Flume file channel CPU consumption is higher than memory channel reason

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.