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

[Feature] Transactions Counter for Gateway #2007

Comments

@IsuruMaduranga
Copy link

IsuruMaduranga commented Jul 17, 2023

Problem

It is required to count the number of transactions processed through the Gateway to develop a transaction-based pricing model. Currently there is no transaction counting mechanism is implemented.

Solution

Developing a synapse handler based transaction counting mechanism.

Implementation

A synapse handler-based methodology needs to be developed to count the following transactions.

Transaction Type Counting mechanism
Request Response Pairs Needs to be counted at request outflow
Incoming messages via WebSockets Can be counted at request inflow by checking the transport name.

Distributed architecture

Transaction (2)

Component architecture

MsgFlow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment