Re: [Simple-support] Flushing deserialized data
Brought to you by:
niallg
|
From: Niall G. - Y. <Nia...@yi...> - 2012-08-28 00:56:05
|
All it will do is write to the provided Writer or OutputStream, you can if you wish add a BufferedWriter or BufferedOutputStream or evey a MyBufferedOutputStreamImpl, its up yo you really. From: Danny Sinang [mailto:d.s...@gm...] Sent: Tuesday, 28 August 2012 12:36 AM To: sim...@li... Subject: [Simple-support] Flushing deserialized data Hi, We're using simpleXML to deserialize data for our Analytics API queries. There is a possibility that customers can run a query that returns a huge number of XML nodes, causing a rather long wait and large memory consumption on the application server. We are therefore considering some sort of buffering wherein we fetch like 100 XML documents from our XML backend and then immediately send them to the customer. Then we fetch the next 100 documents and so on. Is simpleXML capable of such "buffering / flushing" ? Regards, Danny |