Replying to Avatar Thomas

Err402 nginx P2PK locked ecash benchmark

https://github.com/DhananjayPurohit/ngx_l402

Client/Customers (left): Sending ecash locked to Servers Pubkey (simulating 32 tx/sec to nginx err402 endpoint)

Server (middle): Collecting ecash, once in a while redeem over lightning to the Providers LNURL (BOLT12 soon)

Provider (right): Get the earned sats via lightning

#soveng

nostr:nprofile1qqsg8kve59yxyhpa9wupntesvnq0dgfd0k5g769jc6fzrua8gct36xgpzpmhxue69uhkumewwd68ytnrwghszrnhwden5te0dehhxtnvdakz7p5n66j

nostr:nprofile1qqsqfh90y4fgqxfh68pqk6ddlztydusm20qhjp38r53v005metdedsqpp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfdu0m9g8x

nostr:nprofile1qqs9pk20ctv9srrg9vr354p03v0rrgsqkpggh2u45va77zz4mu5p6ccpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgkwaehxw309a5xjum59ehx7um5wghxcctwvshsfmrzrk

https://blossom.primal.net/fe693c5713b1e8ed60e70529ba1dad0a8803922c001c1410391eeaf19001d58a.mp4

amazing, nice. do you know what the bottleneck is? could it go even faster?

Reply to this note

Please Login to reply.

Discussion

Yes, we should get much faster. Collecting P2PK ecash takes less than1ms.

In this setup:

bottleneck 1) client-sever: 100ms latency (wlan, vpn, spain to germany) nginx on vps / 2 cores.

bottleneck 2) coinos mint: limits to 1.000 proofs each request.