diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-04-11 18:31:09 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-04-11 18:31:09 +0100 |
| commit | b5d282cc9ac3a734331f86f2a9b9511c0c5a3c06 (patch) | |
| tree | debe2759b9e182cdc6a247fb0d90bf8cfe78573d /include | |
| parent | f8e12da9203484e9a2e820dd3aeda26d6ff6818f (diff) | |
| download | rabbitmq-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
