Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Implement Socket Channel Scenarions - Explained  RSS feed

Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a. We need to interface with socket Listening System, Lets say that system name is XYZ
Our application is Insta
-Our Insta System needs a Echo Msg, Logon Message in a format to be sent to it [ ISO 8583] to XYZ in frequent intervals
- Our insta system also will send transaction procesing request ot the XYZ in socket

In the same way, XYZ system equally sends us the Echo <logon for which our system has to respond back.

a. Our System should be designed to connect to SUch XYZ systems in future
Scenario 1
- XYZ - supports single connection only through which it will send and receive . only one connection and should support more txns per second
can we use single connection to send and receive at the same time
scenario 2
- Send using one IP Port and receive Using different IP and Port

Scenario 3
- Multiple Connections to same Ip and Port - by connection Pooling

Which is the best and efficient way for more tps and how should we start with it. Can anybody throw some light on the same.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!