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
CLN gateway is 2x slower than LND gateway #3705
Labels
lightning
Lightning module
Comments
douglaz
changed the title
LND gateway is 2x slower than CLN gateway
CLN gateway is 2x slower than LND gateway
Nov 23, 2023
My findings so far:
|
According to @cdecker |
dev call: we need to change our code handling htlc in gatewayd. @douglaz will provide link to the code. |
This is where we await inside the htlc interception:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If we run the
two-gateways
strategy like:We can see that there is an asymmetry whether the payment is
CLN->LND
orLND->CLN
:Note: on the above metric if it says
gateway_payment_received_started_LND
then it means that this payment was started using LND (lncli) paying a CLN gateway. So probably the CLN gateway is slow, not the lncliNote 2: this is notable only if there is more than one user trying to pay at the same time. With just one user there is no significant difference.
The text was updated successfully, but these errors were encountered: