[httperf] Sending binary payload using httperf

Arlitt, Martin martin.arlitt at hp.com
Tue Jun 21 09:35:33 PDT 2011

Hi Dinesh

I'm not overly familiar with protobuf, so I can only speak in general terms. Take a look at the existing option that most closely resembles the functionality that you want. Look through the source code to see how it is implemented, and note what it assumes about the formatting. Then either extend that option (if only minor changes are needed), or create a new option that provides what you need. At least, that is how I would go about it.

I am not familiar with other tools, so I cannot say which other tool might exist that already offers this capability.


From: Dinesh Pathak [mailto:dinesh.pathak at gmail.com]
Sent: Tuesday, June 21, 2011 9:18 AM
To: Arlitt, Martin
Cc: httperf at linux.hpl.hp.com
Subject: Re: [httperf] Sending binary payload using httperf

Can you give me some directions as to what kind of changes should I make ? Is there any other benchmarking tool (other than ab) which can help me ?
On Tue, Jun 21, 2011 at 9:30 PM, Arlitt, Martin <martin.arlitt at hp.com<mailto:martin.arlitt at hp.com>> wrote:
Hi Dinesh

I think it would require some modifications to get httperf to send protobufs.


From: httperf-bounces at linux.hpl.hp.com<mailto:httperf-bounces at linux.hpl.hp.com> [mailto:httperf-bounces at linux.hpl.hp.com<mailto:httperf-bounces at linux.hpl.hp.com>] On Behalf Of Dinesh Pathak
Sent: Tuesday, June 21, 2011 7:24 AM
To: httperf at linux.hpl.hp.com<mailto:httperf at linux.hpl.hp.com>
Subject: [httperf] Sending binary payload using httperf

Hi, I want to send a protobuf using httperf to my server. Can httperf read the content from a file. I see this option only in case of wsesslog, but protobuf encoded string has newlines and other special characters. I want to simulate ab -k -c -n -T -p type of behaviour using httperf. Can I do this for request oriented workloads


httperf mailing list
httperf at linux.hpl.hp.com<mailto:httperf at linux.hpl.hp.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/httperf/attachments/20110621/c5e260d7/attachment-0001.htm

More information about the httperf mailing list