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

Chore: Replace AWS S3 with Backblaze B2 #98

Open
9 tasks
nelsonic opened this issue Jul 17, 2023 · 0 comments
Open
9 tasks

Chore: Replace AWS S3 with Backblaze B2 #98

nelsonic opened this issue Jul 17, 2023 · 0 comments
Labels
chore a tedious but necessary task often paying technical debt help wanted If you can help make progress with this issue, please comment! priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished T1d Time Estimate 1 Day tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

As noted in #91 and previously in dwyl/technology-stack#63 AWS S3,
while reasonably straightforward to use, is significantly more expensive than Backblaze B2:
https://www.backblaze.com/b2/cloud-storage-pricing.html
image
For an image service where we expect the downloads to exceed storage GBs by 10:1
meaning a 1mb image will be viewed 10 times, the most important cost is the downloads.

We already use Cloudflare for our DNS and DDoS protection so we are familiar with the interface.
But we haven't yet used their CDN service ... it appears to be included with no extra monthly bandwidth cost ...
https://www.cloudflare.com/en-gb/plans/
image

I cannot understand how there is - or at least appears to be - no incremental cost
for bandwidth/downloads through Cloudflare CDN:
https://www.cdnplanet.com/compare/cloudfront/cloudflare/
image

Obviously none of this matters if nobody is using the upload service ... 🦗🦗🦗
But if we deduce from the popularity of image sharing services/apps that we're building a product people want, 📷 📱 🖼️ ❤️
then keeping a close eye on costs is the only way ensure we don't burn through all our cash 💸
before reaching product-market-fit. ⏳

Todo

@nelsonic nelsonic added priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished chore a tedious but necessary task often paying technical debt technical A technical issue that requires understanding of the code, infrastructure or dependencies T1d Time Estimate 1 Day tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written labels Jul 17, 2023
@nelsonic nelsonic pinned this issue Jul 17, 2023
@nelsonic nelsonic moved this to 🔖 Ready for Development in dwyl app kanban Jul 18, 2023
@nelsonic nelsonic added the help wanted If you can help make progress with this issue, please comment! label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a tedious but necessary task often paying technical debt help wanted If you can help make progress with this issue, please comment! priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished T1d Time Estimate 1 Day tech-debt A feature/requirement implemented in a sub-optimal way & must be re-written technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
Status: 🔖 Ready for Development
Development

No branches or pull requests

1 participant