What is Nostr?
steepdawn
npub18w5…8w27
2023-04-29 18:31:42
in reply to nevent1q…gnz9

steepdawn on Nostr: I see. I just wonder if you truly run the whole "thing" (Websocket + Strom + LN node ...

I see. I just wonder if you truly run the whole "thing" (Websocket + Strom + LN node (presumably LDK/Greenlight/BreezSDK)


Strom is Typescript (I guess), and can run in AWS Serverless
https://aws.amazon.com/de/blogs/compute/building-typescript-projects-with-aws-sam-cli/

Websocket can natively be run via API Gateways
https://www.freecodecamp.org/news/real-time-applications-using-websockets-with-aws-api-gateway-and-lambda-a5bb493e9452/

And I guess(!) also the Lightning part of the code can be run by one of the AWS services. Presumably also AWS Serverless, if just using Greenlight/BreezSDK (bit i might be wrong)


That would mean you can deploy the whole Strom-as-a-Service stack serverless, and when a new CP/CP operator comes along, you presumably just edit some config somewhere to register it, and provision its own Websocket
Author Public Key
npub18w5m3n6cpq4axlhvrpz4kf4mqjj87j5wsddvrrr75s6gvulwzc3s458w27