summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-04-11 18:31:09 +0100
committerMatthew Sackman <matthew@lshift.net>2009-04-11 18:31:09 +0100
commitb5d282cc9ac3a734331f86f2a9b9511c0c5a3c06 (patch)
treedebe2759b9e182cdc6a247fb0d90bf8cfe78573d /include
parentf8e12da9203484e9a2e820dd3aeda26d6ff6818f (diff)
downloadrabbitmq-server-git-b5d282cc9ac3a734331f86f2a9b9511c0c5a3c06.tar.gz
combine two writes into one and alter some file:open options.
Profiling shows that file:write is by far the most expensive operation now. (roughly 140,000 to mnesia coming in at 27,000). So it looks like the next idea is to follow the advice in man 3 file and implement our own write buffer. Ensure we hit 4KB or more before calling file:write - though obviously chuck out early for suitable commits. This will also complicate deliver, tx_cancel and ack.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions