Multi-Process TCP/IP connections

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Multi-Process TCP/IP connections

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:31 pm

by Hido Hasimbegovic >> Wed, 7 Feb 2001 19:16:29 GMT
Hido,

Are you succesfully passing connection references across process in JADE 5.1.7 or higher?
You would normally need to enable the 'dirty sharing of transients' option in the ini file or via the process method to allow this.

Actually, no. For the sake of not worrying about dirty sharing, what I did is following:

- process performing read on tcp remembers the tcpIpConnection object and passes processing to
a worker app via notification.
- worker app replies the same way once done processing.
- process that has handle to tcpip object is able to retrieve right object and do a write on it.

This way process reading connections is not blocked while request is being processed.
What are experiences of people out there using dirty sharing of transients between two or more processes?



Hidajet Hasimbegovic


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 35 guests

cron