Skip to content

Commit cc4e38a

Browse files
committed
Small notes on speed comparison
1 parent d3153cc commit cc4e38a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Pros:
3737

3838
* Possibly more Golang:ish
3939
* Makes reading from multiple channels easy
40+
* Fast
4041

4142
Cons:
4243

@@ -58,6 +59,7 @@ Pros:
5859
Cons:
5960

6061
* Makes it harder to read from multiple channels, but a go-routine easily solves that.
62+
* Slower than the channel consumer.
6163

6264
See [examples/consumer_example](examples/consumer_example)
6365

@@ -96,6 +98,7 @@ Cons:
9698

9799
* Produce() is a non-blocking call, if the internal librdkafka queue is full
98100
the call will fail.
101+
* Somehwat slower than the channel producer.
99102

100103
See [examples/producer_example](examples/producer_example)
101104

0 commit comments

Comments
 (0)