Skip to content

Instantly share code, notes, and snippets.

@jordansissel
Created February 10, 2012 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordansissel/1786995 to your computer and use it in GitHub Desktop.
Save jordansissel/1786995 to your computer and use it in GitHub Desktop.
logstash comparing amqp input speed

Notes:

  • has output 40114 events, input only 7402
  • time spent in amqp-read is 17.698 seconds (2ms per event)

"amqp input -> null output"

LogStash::SizedQueue<2030>/queue-write {"count":0,"total":0,"min":0,"max":0,"mean":0.0}
LogStash::MultiQueue<2032>/multiqueue-write {"count":7402,"total":0.851000000000001,"min":0,"max":0.014,"mean":0.000114968927316941}
LogStash::MultiQueue<2032>/multiqueue-queues {"value":1}
LogStash::SizedQueue<2038>/queue-write {"count":0,"total":0,"min":0,"max":0,"mean":0.0}
LogStash::Inputs::Amqp<2046>/amqp-read {"count":7402,"total":17.6980000000005,"min":0,"max":0.261,"mean":0.00239097541205087}
LogStash::Inputs::Amqp<2046>/internal-queue-write {"count":7402,"total":1.38999999999996,"min":0,"max":0.015,"mean":0.000187787084571732}
LogStash::Outputs::Null<2048>/events {"value":7402}

"generator input -> amqp output"

LogStash::SizedQueue<2030>/queue-write {"count":0,"total":0,"min":0,"max":0,"mean":0.0}
LogStash::MultiQueue<2032>/multiqueue-write {"count":40114,"total":19.788000000001,"min":0,"max":0.649,"mean":0.000493294111781448}
LogStash::MultiQueue<2032>/multiqueue-queues {"value":1}
LogStash::SizedQueue<2038>/queue-write {"count":0,"total":0,"min":0,"max":0,"mean":0.0}
LogStash::Inputs::Generator<2046>/event-generation {"count":40120,"total":30.2800000000129,"min":0,"max":0.651,"mean":0.000754735792622456}
LogStash::Inputs::Generator<2046>/queue-write-time {"count":40120,"total":20.799000000002,"min":0,"max":0.649,"mean":0.000518419740777716}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment