diff --git a/content/posts/mastodon_influx.md b/content/posts/mastodon_influx.md index 31d4e03..a535815 100644 --- a/content/posts/mastodon_influx.md +++ b/content/posts/mastodon_influx.md @@ -1,7 +1,7 @@ --- title: "Hosting mastodon.nz and the recent twitter influx" tags: ["mastodon", "twitter", "self hosting"] -date: "2022-05-08" +date: "2022-05-09" featuredimagepreview: "/server1.jpg" --- @@ -15,11 +15,13 @@ Mid 2021 a good friend of mine offered a great deal on some actual hosting in a April 2022 brought a nice little surprise - I started getting notifications of new users joining [mastodon.nz](https://mastodon.nz). Confused I started to look at what has changed.. Didn't take long to realise this was only the beginning. I had to allocate more resource to the container to account for the higher throughput. -You can see in the image below it started to approach the allocated 3GB - I bumped it up to 4GB, then shortly after up to 6GB. That's as much as I could give it without moving to bigger hardware. +You can see in the image below it started to approach the allocated 3GB - I bumped it up to 4GB, then shortly after up to 6GB. That's as much as I could give it without moving to bigger hardware. (The drop a the end was a service restart after a version upgrade). {{< image src="/masto_memory.jpg" caption="Memory usage in mastodon.nz container" >}} -I thought that would be enough for now. Nope. I got an email from Sendgrid that we had hit their 100 email/day free tier limit. Crap. I managed to upgrade the plan to account for the burst of registrations before any emails started to bounce. +I thought that would be enough for now. Nope. + +I got an email shortly after from Sendgrid advising that we were approaching their 100 email/day free tier limit. Crap. I managed to upgrade the plan to account for the burst of registrations before any emails started to bounce. {{< image src="/sendgrid.jpg" caption="Email throughput peaking around 400/day" >}} @@ -29,6 +31,9 @@ It was about at this time I figured we probably needed to look into the future o {{< image src="/server_prov.jpg" caption="Provisioning everything (Excuse the mess)"src_s="/server_prov.jpg" src_l="/server_prov_l.jpg" >}} +{{< image src="/server_disk.jpg" caption="Disk setup" >}} + After about 6 hours of configuring and installing everything required, I was ready to make a trip to a local datacenter to rack it (Thanks to previously mentioned friend!) and start the painful migration. -More to come soon. \ No newline at end of file + +Part two coming soon! \ No newline at end of file diff --git a/static/server_disk.jpg b/static/server_disk.jpg new file mode 100644 index 0000000..3fd0a12 Binary files /dev/null and b/static/server_disk.jpg differ diff --git a/static/server_prov_l.jpg-autosave.kra b/static/server_prov_l.jpg-autosave.kra deleted file mode 100644 index 9ecb229..0000000 Binary files a/static/server_prov_l.jpg-autosave.kra and /dev/null differ