Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions Table Row Lock and Performance #643

Open
MemiMem opened this issue Jun 3, 2024 · 0 comments
Open

Sessions Table Row Lock and Performance #643

MemiMem opened this issue Jun 3, 2024 · 0 comments

Comments

@MemiMem
Copy link

MemiMem commented Jun 3, 2024

Hello,

We have recently encountered a performance issue with quickFIXGo. We see that when we have considerable outgoing orders our rate of processing of incoming messages decreases significantly. From our testing we see that we slow down our outgoing message processing by 40-50% in such cases. We are on FIX 4.2, using postgres as the message_store and are using the latest version of quickFIXGo.

We have seen no resource issues on our side at all. As such, we are under the suspicion that this might be a logical performance bottleneck.

Looking through, we see that the table sessions contains both the incoming and outgoing seq_num. We speculate that during updates to this table (like store.SetNextSenderMsgSeqNum()) this row is locked and this might be a major factor in the slowdowns that we experience.

EDIT: We are talking about the initiator in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant