Lemmy "Subscribed" page loads slower than "All"?
Hello all,
Apologies if this isn't the right place, but I have moved instances a few times, and in doing so I've accumulated a number of subscriptions from my old instances. I always used the "migrate" feature, and I have roughly 200 communities I'm subscribed to. Most are from various other instances that aren't my own. That being said, I have Lemmy open on "subscribed" and "scaled", as I found this gives me just what I want to see when I boot up the site.
But it is very slow, sometimes even timing out on Jerboa. I thought it was my instance, but I've had this issue on other instances as well. I'd imagine federating all my subscriptions would take some time, but then wouldn't "All" cause even more problems? I've tried to look into this to no avail.
Am I the only one? I'm asking this more out of curiosity than an actual solution.
нравится это
arniolaf не нравится это.
В том году приходил один парень, чтобы распечатать листовки о поиске пропавшей кошки. Тогда я сделал больше нужного и не взял денег.
Только что приходил этот же парень, но по другому делу. Поблагодарил и сообщил, что кошку тогда нашли по тем листовкам.
Хоть что-то хорошее в этой жизни.
Иначе я никак не могу объяснить чем думал инженер располагая ввод прутка в принтер так, что средний китаец даже не сможет до него дотянуться, ему банально длины рук не хватит.
Или предполагается что принтер будет украшением дома и будет стоять на постаменте посреди комнаты? Чтобы в лучах софитов, камеры и вот это всё...
Wandering Thinker (Sharkey) нравится это.
Thank you for confirming to NOT do that. And who know what UI stuff they have messed up further in Music.app...
Maybe they need a MacOS Pro edition that's all about performance and stability and not about the latest visual fads
📢 NOVEMBER 19 - SAVE THE DATE ‼️
We're thrilled to announce the next device in the Home Assistant Connect line! Join us on YouTube, November 19 @ 12:00PM Pacific / 3:00PM Eastern / 21:00 CET - the best is about to get better. 😎 youtube.com/live/HSRvso6cbf0
youtube.com/live/HSRvso6cbf0
Вчера пошёл на прогулку, а там suntimes говорил, что луна не просто полная на 100%, но ещё и какое-то супер полнолуние
Ну луна как луна, пока её не закрыло облаками
Вот тут я протащился, я вообще не припоминаю чтобы видел такое. Не просто с таким градиентным ореолом, но даже на 11 часах виднеется сектор лунной радуги
Последние две недели небо вообще доставляет, я каждый вечер глазею во все зенки и балдю
Неее, там траектория похожа на яйцо. Тупым краем за Землёй, если смотреть от Солнца, а острым ближе к Солнцу.
Узнал вчера в ютуб-шортс от одной умной бабы.
Забавно, с 2014 года работаю как физик с optimatel.ru и за это время не единого разрыва
Сегодня случился разрыв и приходит код 503 от их sip сервера
В сериале «Интервью с вампиром» «Амедиатека» заменила Владимира Путина на Илона Маска во фразе о «самом опасном человеке в мире».
@Dmitry@relib.re
Dmitry нравится это.
я все же смотрю ракшу.
узнал про селективные аборты.
ох ебать же сука тарахтеть…. люди сука ебанутое племя, которое должно умереть. зачеркнуто.
"ну это ты со зла"
Люди ок, если их с детства воспитывать людьми, а не всякими коммунистами
We're in a museum* and there's two smelly holes. One is something like mint, the other jasmine.
While I identify the smells instantly I cannot for the love of it identify any color, or either as "cold" or "warm". @juliette does.
Just curious for others who've tried this: do you link smells to temperature and/or colors?
*Vejle Museum. Note for Dutch people: het is gratis!
Home Assistant 2025.11 is here! 🎉
🎯 Brand new target picker with full context
🤖 New way to add triggers, conditions, and actions
🏷️ Flexible entity naming in dashboard cards
🥧 Energy pie charts!
Plus tons of new integrations and improvements!
home-assistant.io/blog/2025/11…
#HomeAssistant #OpenSource #SmartHome
2025.11: Pick, automate, and a slice of pie 🥧
A brand new target picker with full context, redesigned dialog for adding automation blocks, flexible entity naming on dashboard cards, energy pie charts, and progress tracking for Home Assistant a...Home Assistant
Does anybody have suggestions for smaller/cheaper things to play with in HA?
I run proxmox at home, and am interested in this stuff but have been so anti-"connected" products I just don't even know what the product landscape is like.
I hate that the world has broken me so much that I read:
“PS: Oh, and pssst… Don’t tell anyone 🤫, but there might be something exciting being released on November 19th. Hit the bell on this announced YouTube stream to not miss it
. Stay tuned! 😀”
And I immediately think, - Oh it's some AI bullshit, isn't it.
Maximum PC - Fall 2007
books.google.com/books?id=fAIA…
Maximum PC
Maximum PC is the magazine that every computer fanatic, PC gamer or content creator must read. Each and every issue is packed with punishing product reviews, insightful and innovative how-to stories and the illuminating technical articles that enthu…Google Books
Pudutr0n
в ответ на srasmus • • •нравится это
srasmus, your_paranoid_neighbour, WheresTheFudge, sleepingoddish, Angel Mountain, Mac, Vicinus и humiddragonslayer нравится это.
paequ2
в ответ на srasmus • • •нравится это
srasmus, Pudutr0n, your_paranoid_neighbour, WheresTheFudge, Angel Mountain, Mac, Vicinus, humiddragonslayer и gerryflap нравится это.
Nightwatch Admin
в ответ на srasmus • • •нравится это
WheresTheFudge, Vicinus, humiddragonslayer и gerryflap нравится это.
Da Bald Eagul
в ответ на Nightwatch Admin • • •нравится это
humiddragonslayer, gerryflap и Nightwatch Admin нравится это.
Nightwatch Admin
в ответ на Da Bald Eagul • • •Da Bald Eagul нравится это.
wjs018
в ответ на srasmus • • •This is pretty much always going to be the case because the database query is much more complicated to filter by your subscriptions rather than the completely unfiltered views that are just sorted a certain way.
I don't have direct experience working in the lemmy codebase, but I do in piefed, and this is just an inherent limitation of how databases work. Basically, there is a big table in the db with all the posts that the instance knows about. As an example, let's say that you want to look at your Subscribed feed and sort it by New. First, the database sorts all the posts by newest first (this step is very quick). Then it will filter out all the entries that are not in a community that you are subscribed to (this step is a lot slower). So, views where the database doesn't need to do that filtering step are a lot faster than others. There are other things that slow down queries as well like blocks or keyword filters.
Smarter admins than I can employ strategies to tune their database for better performance. I don't have any knowledge in this area though, so others would be able to provide more insightful answers.
нравится это
undefined, Binette, srasmus, WheresTheFudge, sleepingoddish, frongt, Die4Ever, DABDA, bufalo1973, Goodlucksil, Angel Mountain, Blaze (he/him), Vicinus, DrCake, Da Bald Eagul, t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer, Ludicrous0251 и OccasionallyFeralya нравится это.
srasmus
в ответ на wjs018 • • •Interesting. So when you query subscriptions, it actually queries everything and then filters it.
I decided to look at the github for Lemmy and found this issue that seems to reflect what youre saying.
I'm having flashbacks of avoiding table scans during my internship. 🙂
Tackling the Big, Bad `post_view` query
subversive-dev (GitHub)нравится это
WheresTheFudge, SorteKanin, bufalo1973, Vicinus, t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer и Björn нравится это.
SlurpingPus
в ответ на srasmus • • •Strictly speaking, the db might be looking in an index to choose rows by the communities — but using such a condition is pretty much guaranteed to be slower than not using it, anyway.
The actual answer depends on the actual database organization, of course. Ideally the whole database should be organized around frequent queries.
нравится это
srasmus, Vicinus, DrCake и t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ нравится это.
poVoq
в ответ на srasmus • • •[Bug]: Blocking many communities renders Hot and New feeds unusable
Coolie2 (GitHub)нравится это
t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer, srasmus и Five нравится это.
your_paranoid_neighbour
в ответ на srasmus • • •Every instance is like this it seems, maybe lemmy doesn't make a batched select at the cache and the db, but idk.
Maybe a new ~~webscale~~ backend could solve this, but i'm just a java backend developer, not a rust one. Maybe could be an interesting project, scala + pulsar + batching, turning lemmy into a microservices hellscape.
Edit: but
нравится это
srasmus, WheresTheFudge, sleepingoddish, Vicinus и humiddragonslayer нравится это.
SlurpingPus
в ответ на srasmus • • •нравится это
frongt, Die4Ever, DABDA, Vicinus, ragingHungryPanda, Da Bald Eagul, humiddragonslayer, Björn и gerryflap нравится это.
wjs018
в ответ на SlurpingPus • • •This is probably true for anonymous (not logged in) users, but might not be if you are logged in. Things like user/community/instance blocks, votes, read/unread status, etc. need to be accounted for when generating the main feed for logged in users, and those are dynamic. It might be cached for some time, but the retention time would likely be short (a couple minutes maybe).
I haven't worked too much with the caching that piefed does, but I know it keeps some info in a redis cache to help speed things up (blocks, votes, etc.). That way getting all that info doesn't need to be a new db query every time except maybe the first time. Some pages also make use of etags so that if the content is unchanged, the request doesn't need to hit the db at all. I imagine lemmy has some mechanisms to do caching as well, but I am unfamiliar with the code at that level.
ETag header - HTTP | MDN
developer.mozilla.orgSlurpingPus
в ответ на wjs018 • • •Avid Amoeba
в ответ на srasmus • • •нравится это
Vicinus и humiddragonslayer нравится это.
Angel Mountain
в ответ на srasmus • • •нравится это
Vicinus, t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer, ℕ𝕖𝕞𝕠 и srasmus нравится это.
poVoq
в ответ на srasmus • • •нравится это
t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer, wizardbeard, ℕ𝕖𝕞𝕠, srasmus, gerryflap, northernlights, Five и ProdigalFrog нравится это.
poVoq
в ответ на srasmus • • •нравится это
t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ, humiddragonslayer, ℕ𝕖𝕞𝕠, srasmus, Five и ProdigalFrog нравится это.