No. of records sent | records/sec | MB/sec | avg latency (ms) | max latency (ms) | 50th (ms) | 95th (ms) | 99th (ms) | 99.9th (ms) | |
---|---|---|---|---|---|---|---|---|---|
Pure Java | 50000000 | 205475.511429 | 19.60 | 2502.79 | 11165.00 | 1769 | 6741 | 9492 | 10640 |
Java interfaced Jython | 50000000 | 192588.426976 | 18.37 | 2659.39 | 19267.00 | 751 | 9236 | 14518 | 18843 |
Pure Jython | 50000000 | 110700.535126 | 10.5572257162 | 1220.20796466 | 7115.0 | 861 | 4770 | 6052 | 6747 |
Pure Python | 49999231 | 9844.45746764 | 0.938840624584 | 39.2650510365 | 2359.0 | 28 | 57 | 452 | 1108 |
No. of records sent | records/sec | MB/sec | avg latency (ms) | max latency (ms) | 50th (ms) | 95th (ms) | 99th (ms) | 99.9th (ms) | |
---|---|---|---|---|---|---|---|---|---|
Pure Java | 50000000 | 427051.126561 | 40.73 | 1160.60 | 7428.00 | 459 | 4282 | 6288 | 7266 |
Java interfaced Jython | 50000000 | 446791.589595 | 42.61 | 1032.90 | 5925.00 | 219 | 4602 | 5595 | 5852 |
Pure Jython | 50000000 | 118026.409589 | 11.2558755483 | 231.39137682 | 5179.0 | 6 | 982 | 1983 | 4590 |
Pure Python | 50000000 | 9845.42251444 | 0.938932658619 | 26.58918002 | 1138.0 | 25 | 44 | 59 | 539 |
No. of records sent | records/sec | MB/sec | avg latency (ms) | max latency (ms) | 50th (ms) | 95th (ms) | 99th (ms) | 99.9th (ms) | |
---|---|---|---|---|---|---|---|---|---|
Pure Java | 50000000 | 747417.671943 | 71.28 | 429.34 | 2828.00 | 265 | 1251 | 1817 | 2497 |
Java interfaced Jython | 50000000 | 753046.071359 | 71.82 | 310.54 | 2189.00 | 1 | 1416 | 1798 | 1798 |
Pure Jython | 50000000 | 117115.217951 | 11.1689775421 | 53.95983326 | 4088.0 | 2 | 328 | 1108 | 3262 |
Pure Python | 50000000 | 9707.5761892 | 0.92578660862 | 25.82151426 | 1334.0 | 26 | 44 | 54 | 226 |
I hereby claim:
- I am mrafayaleem on github.
- I am mrafayaleem (https://keybase.io/mrafayaleem) on keybase.
- I have a public key whose fingerprint is B60F D7E5 3A18 8014 0C9C 7A78 5D6F DFDC 6D0E 69CC
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Producer | |
Setup | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
Single thread, no replication | |
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
The FAQ maintained by Github covers most stumbling blocks, some other tips and tricks supplied here.
Add _site
to .gitignore
. The generated site should not be uploaded to Github since its gets generated by github.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This Python script makes a summary of a football game by cutting | |
# the video around the 10 % loudest moments, which generally | |
# include the goals and other important events. | |
# For more details, see this blog post: | |
# http://zulko.github.io/blog/2014/07/04/automatic-soccer-highlights-compilations-with-python/ | |
# | |
# LICENCE: Creative Commons 0 - Public Domain | |
# I, the author of this script, wave any rights and place this work in the public domain. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing credentials for the site: | |
email: test@test.com | |
password: test | |
I have tried implementing "place an ad" feature of the original Dubizzle website. | |
I have a few questions which I will try to ask as concisely as possible here: | |
See the CarAd model car_make and car_model implementation here: https://github.com/mrafayaleem/learning-django/blob/master/marketplace/models.py#L145. | |
Is this the right way to do it to keep it simple? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"outbound": | |
{ | |
"110.0.0.0/24": | |
[ | |
{ | |
"protocol": "ICMP", | |
"time": "6, 7", | |
"latency": 10, | |
"loss": 5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdx@Internet2-SDX:~/pyretic$ ./pyretic.py pyretic.sdx.main | |
[match: ('dstip', 110.0.0.1)] | |
[match: ('dstip', 120.0.0.1)] | |
[match: ('dstip', 130.0.0.1)] | |
[u'C', u'B'] | |
sequential: | |
parallel: | |
sequential: | |
match: ('inport', 1) | |
modify: ('state', u'inA') |