[QFJ-584] Repeated test request with dynamic acceptor Created: 03/Apr/11  Updated: 05/Apr/11

Status: Open
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.0
Fix Version/s: None

Type: Other Priority: Major
Reporter: Information Management Experts Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Windows XP



 Description   

Dear All,

Our application is Client-Server System. Multiple clients(initiators) connect to the server (dynamic acceptor) to exchange fix messages.
We don't have physical configuration file; we create it at runtime. Our server(as initiator) also connects to other external server(second party).
Our clients can connect to the server through internal or external network and up to 10 concurrent clients may connect to the server.When we was using threads to send and receive messages, the client was sending test request and sometimes login request(when the server didn't respond to the client test request). after we removed the threads, the problem became less but still occurring.
Our time zone is Asia/Amman (GMT+2), but we still using default UTC.Below you will find our configuration file

  1. Acceptor Configuration

[DEFAULT]

StartTime=05:00:00

EndTime=05:00:00

FileStorePath=Settings/FIXStorage/AcceptorStore

FileLogPath=Settings/FIXStorage/AcceptorStore

DataDictionary=data/tools/IMEXQuickFIXDialect42.xml

ValidateUserDefinedFields=Y

CheckLatency=N

ConnectionType=acceptor

SocketAcceptPort=2025

[SESSION]

BeginString=FIX.4.2

SenderCompID=FIX

TargetCompID=*

AcceptorTemplate=Y

  • Initiator Configuration

[DEFAULT]

StartTime=05:00:00

EndTime=05:00:00

FileStorePath=Settings/FIXStorage/InitiatorStore

FileLogPath=Settings/FIXStorage/InitiatorStore

DataDictionary=data/tools/IMEXQuickFIXDialect42.xml

ValidateUserDefinedFields=Y

CheckLatency=N

ConnectionType=initiator

ReconnectInterval=5

HeartBtInt=5

SocketConnectHost=123.123.123.123

SocketConnectPort=2025

[SESSION]

BeginString=FIX.4.2

SenderCompID= – GENERATED AT RUNTIME

TargetCompID=FIX

Thanks in advanced for your help ...



 Comments   
Comment by Laurent Danesi [ 05/Apr/11 ]

Hi,

I saw your post but I'm not sure to well understand.
What do you mean by "When we was using threads to send and receive messages"? is it ThreadedSocketAcceptor?

Regards,

Laurent DANESI
Chief Architect
smartTrade Technologies

Comment by Information Management Experts [ 05/Apr/11 ]

Dear Laurent,

First of all, thanks for your reply.

No, we didn't use ThreadedSocketAcceptor. We were creating new threads in the implementation of Application.fromApp method and when we were calling Session.sendToTarget(message, sessionID);

Also we were sending huge no of orders at the same time(up to 1000) from the external server, which means when each order arrives to our server, our server will start new thread to handle the message, then a new thread will be created to send the message again for each client.

Generated at Sun May 05 02:10:34 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.