update s3 comparison page

This commit is contained in:
Daniel Bulant 2025-03-29 20:33:08 +01:00
parent 830b9accdb
commit 8c90cf030d
No known key found for this signature in database
3 changed files with 14 additions and 7 deletions

View file

@ -13,6 +13,7 @@
export let title;
export let date;
export let dateUpdated;
export let description;
export let categories;
export let bigThumbnail;
@ -20,6 +21,9 @@
let dt = DateTime.fromISO(date);
$: dt = DateTime.fromISO(date);
let dtu = dateUpdated && DateTime.fromISO(dateUpdated);
$: dtu = dateUpdated && DateTime.fromISO(dateUpdated);
</script>
<svelte:head>
@ -50,7 +54,10 @@
<h1>{title}</h1>
<div class="flex justify-between flex-wrap">
<span>Written {dt.toRelativeCalendar()} ({dt.toLocaleString(DateTime.DATE_FULL)})</span>
<span>{categories.join(", ")}</span>
{#if dtu}
<span>Updated {dtu.toRelativeCalendar()} ({dtu.toLocaleString(DateTime.DATE_FULL)})</span>
{/if}
<!-- <span>{categories.join(", ")}</span> -->
</div>
<slot />
<noscript><hr>Although the page mostly works without Javascript, you won't be able to comment. Also, I acknowledge the privacy flaws, but Javascript is a fundamental part of modern web, and shouldn't be disabled. Maybe use an adblock instead of disabling it for everything?</noscript>

View file

@ -1,6 +1,7 @@
---
title: Quick comparison of pricing of Simple Storage Services
date: 2022-05-16
dateUpdated: 2025-03-29
author: Daniel Bulant
authorIcon: /logo.png
categories: [programming, storage, comparison, s3]
@ -48,8 +49,7 @@ Delete operations are free (`DeleteObject`, `DeleteBucket`, `DeleteMultipartUplo
## Wasabi
EU/NA: ***$5.99/TB/month***
APAC: ***$6.99/TB/month***
***$6.99/TB/month***
No API charge/egress. Minimum fee of 1TB storage.

View file

@ -13,15 +13,15 @@
{
name: "Cloudflare R2",
nameShort: "R2",
price: ({ storage, egress, fileCount, dataRetention, cloudflareProxy }) => 10 * storage + Math.max(0, fileCount-10e6)*0.36/1e6,
priceString: "10 * storage + Math.max(0, fileCount-10e6)*0.36/1e6",
price: ({ storage, egress, fileCount, dataRetention, cloudflareProxy }) => 15 * storage + Math.max(0, fileCount-10e6)*0.36/1e6,
priceString: "15 * storage + Math.max(0, fileCount-10e6)*0.36/1e6",
color: "orange",
link: "cloudflare-r2"
}, {
name: "Wasabi",
nameShort: "Wasabi",
price: ({ storage, egress, fileCount, dataRetention, cloudflareProxy }) => 5 * storage * (90/dataRetention),
priceString: "5 * storage * (90/dataRetention)",
price: ({ storage, egress, fileCount, dataRetention, cloudflareProxy }) => 7 * storage * (90/dataRetention),
priceString: "7 * storage * (90/dataRetention)",
color: "green",
link: "wasabi"
}, {