3 ms·
Yeah, we literally used it as a stripe proxy and to serve frontend. All data was served in stripe and then queried using Stripe Sigma, their flavour of Presto.
by skifunkster 6y ago
Yeah, we literally used it as a stripe proxy and to serve frontend. All data was served in stripe and then queried using Stripe Sigma, their flavour of Presto.
Can tell you the total cost from RTE does Comic Relief, which was the same size, was about 16 euros to host the whole thing. This would be about the same, however is on RTE's cloudflare account, so not easy to get breakdown.
Workers were just a good fit not to have to host anything, due to the unpredictable number of donations that we would be getting through. Deployment and development is also really easy.
- hardwaresofton 6y agoThanks for sharing this -- that's an impressive cost amount for that service, in the range of 20 euros for the event with that amount of queries is pretty impressive, with little to no maintenance. The cost makes it sound like a full on win for serverless. Anything interesting about the deployment method, choice of language, containerization/etc that made it particularly easy? There are tools in this domain (vercel springs to mind) that have adopted the static-site-over-serverless-something) model, but it sounds like you all had an easy time with just loading some workers up, did you do anything fancy to facilitate the frontend serving? I assume with the stripe proxy bit was just using Stripe's various (great) APIs for customer creation, one time charges (I guess?). Curious about the technicals of the setup, you've baited us (HN) in at this point, give out those gory details!
- skifunkster 6y agoFor previous donation platforms operating at same scale on AWS we use Serverless Framework and have our own lambda wrapper which wraps the code and provides monitoring, etc... For this we just wrote straight up Node JS and plumbing through to Stripe, super simple really. Deployed via github actions on RTE's cloudflare account, really simple. No one time charges from the Stripe side or anywhere really. Only other cost was Sentry, which was more than the hosting as we used it for a lot of the informational alongside error logging. We have a separate article en-route with all the technicals, just waiting on client sign off, as is stats heavy...
- hardwaresofton 6y agoThanks for laying this out!