Thursday, April 30, 2009

XML buffer exchange on TCP :-

It is always good to look for end tag of XML and make the complete XML buffer at receiver end. Otherwise partial read may lead to crash of the program.

A nice article on Performance :-

http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.perf.doc/perf48.htm

Pipes learning :-

- You cant run pipes in blocking mode

Message Queue Learning :-

- You cant do partial read on Message Queue
- Message queue provides a mechanism of fetching data with the specifed data type quickly. This speeds up data fecthing some time.
- While writing into the Message queue, you have to give valid positive value as datatype. You cant have a negative data type

Linux PMAP command

This particular command gives the size of individual segement of a process. This is sometime useful in analysing load related issues.