Pafka 0.3.0 Release: Low-cost Solution to Peak Traffic Scenario in Kafka

#Download and start docker
docker run -it 4pdopensource/pafka-dev bash
# start zookeeper
bin/ config/ > zk.log 2>&1 &
# start pafka server
bin/ config/ > pafka.log 2>&1 &
# test producer performance
bin/ --topic test --throughput 1000000 --num-records 1000000 --record-size 1024 --producer.config config/ --producer-props bootstrap.servers=localhost:9092
# test consumer performance
bin/ --topic test --consumer.config config/ --bootstrap-server localhost:9092 --messages 1000000 --show-detailed-stats --reporting-interval 1000 --timeout 100000
# 100 Gbps network configuration
# Thread related
# Tiered storage related configuration
# log file channel type; Options: "file", "pmem", "tiered".
# if "file": use normal file as vanilla Kafka does. Following configs are not applicable.
# the storage types for each layers (separated by ,)
# first-layer storage paths (separated by ,)
# first-layer storage capacities in bytes (separated by ,); -1 means use all the space
# second-layer storage paths (separated by ,)
# threshold to control when to start the migration; -1 means no migration.
# migration threads
# Start the producer test process and write the log to producer.log
python3 bin/ --brokers --threads 16 --hosts "$TEST_NODE" --num_records 2000000000 --record_size 1024 --type producer --use_dynamic --dynamic 100000:500000:2000000 --sleept 360 --only_min_max --wait_for_all > producer.log 2>&1 &
# Start the consumer test process and write the log to the consumer.log
python3 bin/ --brokers --threads 16 --hosts "$TEST_NODE" --num_records 2000000000 --type consumer --wait_for_all > consumer.log 2>&1 &



-- — Leveraging Modern Storage Architecture for System Enhancement

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Deploying MongoDB on MacOS and getting started with it

Stop Writing Code!

CCSWAP Will Integrate Berry Oracle for Secure Data Feeds

Incentivised Multi-Target, Multi-Camera Tracking with Untrusted Cameras (Part 2)

Let’s Build a Movie API With Separated Layered Architecture Using Go

What happens when you type ‘ls *.c’ and hit enter in your shell?

Concurrency and parallel computing

Effective Java: Document All Exceptions Thrown By Each Method

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

MemArk — Leveraging Modern Storage Architecture for System Enhancement

More from Medium

Apache Pulsar Performance Testing with NoSQLBench

Koo’s data platform — part 1: Apache Kafka and NiFi

Apache DolphinScheduler 2.0.2 Release Announcement: WorkflowAsCode Is Launched!

How to solve the issue of querying Kafka Streaming Data? Writing а KSQL Query