this post was submitted on 01 Jul 2023
119 points (97.6% liked)

Lemmy.ca's Main Community

2758 readers
1 users here now

Welcome to lemmy.ca's c/main!

Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.

Announcements can be found at https://lemmy.ca/c/meta

For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support

founded 3 years ago
MODERATORS
 

Hello friends!

Lemmy.ca will be undergoing scheduled maintenance from approximately 12:00 - 12:30 PT (3:00 - 3:30 ET), while we move to a more powerful server.

Happy Canada day!

top 29 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 34 points 1 year ago

Even our Lemmy instance takes Canada as a stat holiday

[โ€“] [email protected] 30 points 1 year ago (1 children)
[โ€“] [email protected] 10 points 1 year ago

wow awesome. that was quick!

[โ€“] [email protected] 19 points 1 year ago

Good luck, and happy Canada day!

[โ€“] [email protected] 6 points 1 year ago (1 children)

wait the maintenance already finished?

[โ€“] [email protected] 21 points 1 year ago (1 children)

Yep!

The Scotty Principle (also known as The Scotty Effect or The Scotty Factor) is the technique of adding extra time to your estimates when asked how long a task will take so that you appear to be a wizard when you accomplish the task quicker than you first claimed.

[โ€“] [email protected] 9 points 1 year ago

Also gives you some buffer time if things go sideways.

Thanks for your hard work!

[โ€“] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

Are there plans to bump to v0.18.1 at the same time? Only asking as my themes will need to be updated when we do.

[โ€“] [email protected] 16 points 1 year ago (1 children)

0.18.1 hasn't been officially released yet, it's still an RC. We're probably going to hold until it's official. New server will still be 0.18.0.

[โ€“] [email protected] 7 points 1 year ago (1 children)

As much as I'm looking forward to the improvements in the latest Release Candidate, this is definitely the right call.

Best of luck with the server migration and happy Canada Day!

[โ€“] [email protected] 8 points 1 year ago

Yeah same here, looking forward to the fixes but making sure it gets tested properly first =)

[โ€“] [email protected] 2 points 1 year ago (1 children)

Do you have an updated copy of your theme already? If you send it ahead of time, happy to drop it in whenever we do the upgrade.

[โ€“] [email protected] 3 points 1 year ago (1 children)

This should get us going: https://pastebin.com/TxTNn8y5

I'm reworking the theme a bit and trying to shape it into something that stands on its own.

[โ€“] [email protected] 1 points 1 year ago (1 children)
[โ€“] [email protected] 1 points 1 year ago

Thanks! Unfortunately, I've had to push more updates, because many frontend elements have changed even between the v0.18.1 release candidates. This may be an impossible task to maintain as a native theme option.

For now, the layout changes appear to be working as intended but most of the colour changes are not. I'm wondering if we should just pull the plug on this approach before too many users grow dependent.

I'm maintaining a version for Stylus and other CSS injector add-ons on Github. It's also available at UserStyles, and these might be the most sensible solutions as I can update them on the fly.

[โ€“] [email protected] 4 points 1 year ago (1 children)

Happy Canada day. And wow! The instance is extremely fast now. Thank you!

[โ€“] [email protected] 6 points 1 year ago (2 children)

We won't accept anything less than extremely fast!

It's a big difference going from a 8vCPU 8GB RAM VPS where the actual resources were likely quite over subscribed to a dedicated server with a 6c/12t Ruby Lake Xeon, 32GB RAM, 2x 512GB NVMe drives in RAID with it's own 1Gbps Public connection. From the data we have it should be sustainable with this server until about 40-50K users.

We're currently paying ~$140/month for that, and have plans in place to scale up as needed when it's needed. Over the next few days we will reopen the ability to make donations to cover the costs of operations.

[โ€“] [email protected] 2 points 1 year ago

@[email protected] > Over the next few days we will reopen the ability to make donations to cover the costs of operations.

I'll be present :)

[โ€“] [email protected] 1 points 1 year ago (1 children)

Was it CPU or memory bound prior to the upgrade? Or IO?

[โ€“] [email protected] 2 points 1 year ago (1 children)

All of the above, but more so memory and IO.

[โ€“] [email protected] 1 points 1 year ago (1 children)
[โ€“] [email protected] 2 points 1 year ago (1 children)

Disk, due to low memory. Not enough to keep enough of the db in memory, and having to hit disk for pictures as well.

[โ€“] [email protected] 2 points 1 year ago (1 children)

Oh I see. Makes sense. Do you know if the storage was NVMe previously or spinning media?

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It was a VPS and I think on some sort of shared SATA/SAS SSD array, just going off the 300-800MB/s reads I was seeing.

Old box: Timing buffered disk reads: 2066 MB in 3.00 seconds = 687.62 MB/sec New box: Timing buffered disk reads: 1022 MB in 0.31 seconds = 3338.77 MB/sec

[โ€“] [email protected] 1 points 1 year ago (1 children)

Nice uplift. Random IO which is likely what the db does are probably through the roof compared to the sequential uplift.

[โ€“] [email protected] 2 points 1 year ago (1 children)

The DB is small enough it's all in ram now, seeing a 100% cache hit rate in postgres.

[โ€“] [email protected] 1 points 1 year ago

Nice. You could post any screenshots and copy-pasta if you collect them anyways from stuff you find interesting while working on the instance. I'm sure there's a lot of technical folks around here other than us that would find it fun to look at. Only if it's not significant additional work of course. ๐Ÿ˜

[โ€“] [email protected] 3 points 1 year ago

Happy Canada Day!

[โ€“] [email protected] 3 points 1 year ago

Best of luck!

load more comments
view more: next โ€บ