Re: [xml] Need better XML writing performance
- From: "Espen Ekeroth" <espene halden net>
- To: "'Pierre Joye'" <pierre dev gmail com>, "'Noble, Robert'" <Robert Noble phlx com>
- Cc: xml gnome org
- Subject: Re: [xml] Need better XML writing performance
- Date: Wed, 12 Jul 2006 22:59:48 +0200
Just wondering: Can your file system handle 5000 files/sec ?
/Espen
-----Original Message-----
From: xml-bounces gnome org [mailto:xml-bounces gnome org] On Behalf Of
Pierre Joye
Sent: 12. juli 2006 21:57
To: Noble, Robert
Cc: xml gnome org
Subject: Re: [xml] Need better XML writing performance
Hi,
On 7/12/06, Noble, Robert <Robert Noble phlx com> wrote:
We need to increase performance of our XML data generating application.
Our
app receives (during peak periods) as many as 5,000 binary messages per
second and converts them to XML using libxml2 and writes them to a file in
real time. Our environment is Sun Solaris 10.
Profiling shows almost all the time is spent inside libxml2.
For each message we receive, our code looks something like this:
Receive binary msg
xmlBufferCreate()
xmlNewTextWriterMemory()
why not using xmlNewTextWriterFilename if you write the buffer to a
file anyway? It should also use less memory or a more constant amount
of memory.
--Pierre
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]