slashzero
6
27
slashzero

@lemmy.world

slashzero 123 points 3 years ago

path: 0 324759, hotness: undefined, score: 123, children: 5
slashzero 17 points 3 years ago

I self host! Very nice having an instance all to myself.

path: 0 422233 422644, hotness: undefined, score: 17, children: 8
slashzero 15 points 3 years ago

I wonder if these are real users or if someone wrote a script to register users via the lemmy APIโ€ฆ ๐Ÿค”

path: 0 422661, hotness: undefined, score: 15, children: 2
slashzero 14 points 3 years ago

Have you tried enabling the slow query logs @ruud@lemmy.world? I went through that exercise yesterday to try to find the root cause but my instance doesnโ€™t have enough load to reproduce the conditions, and my day job prevents me from devoting much time to writing a load test to simulate the load.

I did see several queries taking longer than 500ms (up to 2000ms) but they did not appear related to saving posts or comments.

path: 0 132209, hotness: undefined, score: 14, children: 1
slashzero 10 points 3 years ago

Oh, Big-O notation? I never thought Iโ€™d see someone else mention big O notation out in the wild!

:high-five:

path: 0 131775 132112, hotness: undefined, score: 10, children: 5
slashzero 10 points 3 years ago

Welcome here, and thanks for creating the CR community.

Is it Thursday yet?

path: 0 58553, hotness: undefined, score: 10, children: 0
slashzero 8 points 3 years ago

OMG! You are right. Itโ€™s my time to shine!

path: 0 42935 45330 46877, hotness: undefined, score: 8, children: 0
slashzero 7 points 3 years ago

Note: this seems like it has something to do with the database, and something getting royally messed up post upgrade.

After trying all sorts of network hacks and updates, I eventually just decided to backup my Postgres container, and nuke it.

With a fresh Postgres DB running along with 0.18.0, my self hosted site is back online. Of course, my local post history and all my subs are gone... but at least my site is operational again.

I'd advise anyone self-hosting to not upgrade to 0.18.0 yet.

path: 0 485955, hotness: undefined, score: 7, children: 0
slashzero 6 points 3 years ago

Yes. Absolutely does happen on other instances that have thousands of users.

path: 0 132387 133662, hotness: undefined, score: 6, children: 1
slashzero 5 points 3 years ago

That actually sounds like something I would have enjoyed. I joined Reddit around the time it started taking over, I think.

path: 0 131775 132112 133053 133198 133233 133296, hotness: undefined, score: 5, children: 1
slashzero 4 points 3 years ago

I really hope someone is doing some level of performance testing on those changes to make sure the changes fix the performance issues.

path: 0 124026 132284, hotness: undefined, score: 4, children: 0
slashzero 4 points 3 years ago

Thatโ€™s pretty neat! Iโ€™ve honestly never seen it mentioned on Reddit before, so got a bit excited to see someone mention it here, admittedly maybe too excited.

path: 0 131775 132112 133053 133198, hotness: undefined, score: 4, children: 3
slashzero 2 points 3 years ago

The footer still shows the old versions, by the way. It does feel snappier than earlier for sure.

Iโ€™m setting up my own instance to mess around with as well. Iโ€™ve got it running via Docker. The SSL setup was a pain, not really documented well. Also pictrs is giving me issues complaining about DB access.

The redirect is tricky and works in some browsers, but not others.

Edit: save took about 10 seconds, which is better than 20-30 seconds!

Edit 2: the footer shows the updated versions, now.

path: 0 36266, hotness: undefined, score: 2, children: 1
slashzero 2 points 3 years ago

Actually the approval email was in my spam folder. My bad!

Thanks for looking into the save issue. Iโ€™m looking into setting up my own instance now on a digital ocean droplet maybe, so I can maybe debug a few things on my own.

path: 0 32481 32646 32957, hotness: undefined, score: 2, children: 0
slashzero 2 points 3 years ago
path: 0 485267 485337, hotness: undefined, score: 2, children: 2
slashzero 2 points 3 years ago

Would be funny if it was missing an index and doing a full table scan for some odd reason...

I focus on application performance in my day-to-day work, and missing indexes, greedy upoptimized queries, etc, are the root of a lot of issues. Hopefully you can get to the bottom of it.

Quick note: I'm not seeing a big delay (10+ seconds) when posting or saving on lemmy.ml, or my own instance.

path: 0 47278 47342 47486 52390 52448, hotness: undefined, score: 2, children: 4
slashzero 2 points 3 years ago

I suppose I could, but, I've honestly spent the majority of today on lemmy answering "support" questions for people lol... Maybe I can try to take a look tomorrow. ๐Ÿคท

Actually, saving edits on lemmy.ml is also slow, about 4-5 seconds. Itโ€™s probably a combination of user load and non-optimized queries.

path: 0 47278 47342 47486 52390 52448 52489 55539, hotness: undefined, score: 2, children: 2
slashzero 2 points 3 years ago

I did see it, thanks. Iโ€™m hoping to find some time to contribute this week.

path: 0 47278 47342 47486 52390 52448 52489 55539 66878 102162, hotness: undefined, score: 2, children: 0
slashzero 2 points 3 years ago

Too slow! ๐Ÿ˜€

path: 0 324759 344100 356744, hotness: undefined, score: 2, children: 1
slashzero 2 points 3 years ago

That sounds correct to me.

path: 0 422233 422644 423014 426555, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...