DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Humio at Scale in Kubernetes

Humio at Scale in Kubernetes

The folks at Humio found a great benefit to running their software on Kubernetes. See what they discovered here.

Grant Schofield user avatar by
Grant Schofield
·
May. 23, 19 · Presentation
Like (2)
Save
Tweet
Share
5.11K Views

Join the DZone community and get the full member experience.

Join For Free

As Kubernetes matures, features such as StatefulSets give the ecosystem new capabilities that allow users to deploy applications that have much different requirements than stateless microservices. Since the stable release of StatefulSets in 2018, many efforts have been made to deploy applications, such as Kafka and Postgres, that rely on pods having a one-to-one relationship with a persistent filesystem, usually in the form of a mounted block device. Combined with improvements to the provisioning capabilities within the Kubernetes, it is easier than ever to deploy a stateful system, such as Humio, on many of the Kubernetes backplanes provided by the leading cloud providers.

As more practitioners look towards consolidating their microservices and stateful workloads, it was imperative that Humio began to understand the dynamics of running our software within Kubernetes with ingest rates at and above what our customers are doing today. I chose to use Google Cloud Platform’s Kubernetes platform, GKE, due to our recent positive experience with customer deployments and proof of concept deployments.

In order to understand the performance at scale, I began by deploying a 40-worker Kubernetes cluster on preemptible n-standard-32 instances. This cluster is capable of running each Humio and Kafka on what amounts to isolated Kubernetes workers by making large requests for CPU and memory resources. This allowed us to judge the performance of individual Humio partitions and not be impacted by other Humio or Kafka instances. Each Humio pod is provisioning a 1TB pd-ssd, GCP’s fast persistent disk option. In addition to our Kubernetes cluster, an additional cluster of 25 workers was deployed to run Humio’s performance testing tool. This was done to further isolate the cluster’s resources and not impact the performance of the Humio cluster. 

Both the Humio and test cluster were provisioned with Terraform and the applications are managed using Humio’s Helm chart. One interesting issue I confronted during the initial tests was hitting the upper, most likely default, limits of GCP’s load balancers. Using a global forwarding rule I was only able to reach a maximum of 10TB/day of ingest. This wasn’t expected and to continue testing at higher loads I configured our performance testing tool to connect to the individual Humio pods directly by configuring the Humio StatefulSet to have a NodePort service.

The results exceeded my expectations.  Humio is able to ingest in excess of 100TB/day while maintaining an ingest latency of less than a second.

The ingest rates of events, depending on event size, ranged from 2.5-5 million per second. Search speed ranges from 200-500GB/s searching on a worst case string search that is scanning the billions of records. As I continue to test I’m hoping to improve the search performance in particular as I’ve found the behavior of the cgroup’s page-caching facility to work quite differently than our standard deployments.

This is just the beginning of Humio’s exploration of running our clusters on Kubernetes and there are many additional points of focus as we peel back the layers of performance. Similar results have been found on running a 25-worker node cluster on n-standard-64 instances where Humio and Kafka run on the same worker nodes. Testing will continue as we hope to run the same tests on other cloud providers and different hardware configurations. After some additional improvements and testing on different providers, we will be releasing the projects as reference architectures for our users to utilize as the basis for their own deployments.

Kubernetes cluster

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Apache Kafka Is NOT Real Real-Time Data Streaming!
  • OpenVPN With Radius and Multi-Factor Authentication
  • Test Execution Tutorial: A Comprehensive Guide With Examples and Best Practices
  • Java REST API Frameworks

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: