Which puts the most pressure on the forum, New Posts or Unread Posts?

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

User avatar
suzyne
Lunatic
Lunatic
Posts: 398
Joined: 2023-06-28, 22:43
Location: Australia

Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by suzyne » 2024-04-16, 23:11

When I want to see what's new on the forum, before I always used New Posts, but now I have been trying out Unread Posts.

In terms of minimising the load on the forum, which of these Quick Links is the kindest to use?
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35797
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by Moonchild » 2024-04-16, 23:16

I don't think there's much difference.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
RealityRipple
Astronaut
Astronaut
Posts: 679
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by RealityRipple » 2024-04-16, 23:27

If it's sanely designed, it'd just be a different column for the WHERE query.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1549
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by athenian200 » 2024-04-16, 23:42

Well, it probably doesn't make a difference, but if it did make one, I would tend to assume unread posts would be a bit more complicated simply because it has to construct which posts you individually have not read, whereas if it only needs to return new posts, it just focuses on recent datestamps that would be the same for everyone.

But then again, I don't know much about databases, what gets cached, how expensive multiple hits for a query are to display, and what is or isn't computationally expensive, so if MC says there's not much of a difference, you should probably take his word over mine, which is just a guess anyway.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35797
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by Moonchild » 2024-04-17, 00:32

MariaDB is exceedingly good at efficient querying, so any difference there would be, would be mostly just academic and have no real impact for something the size of a forum.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 784
Joined: 2020-05-31, 04:33

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by andyprough » 2024-04-17, 04:55

I had always heard that it's all the avatars (and to a lesser degree signatures) that are the bigger burden on forum software.

Lucio Chiappetti
Astronaut
Astronaut
Posts: 664
Joined: 2014-09-01, 15:11
Location: Milan Italy

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by Lucio Chiappetti » 2024-04-17, 11:37

Cannot comment. I kept display of avatars and signatures disabled :D
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35797
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by Moonchild » 2024-04-17, 11:41

I don't think we have to worry about what exactly is causing the most or least load per request, at least not until traffic would probably 10-fold or so...
Attachments
load_day.png.1139.png
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2414
Joined: 2012-08-19, 20:32

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by back2themoon » 2024-04-17, 12:08

Thankfully, this remains mostly a text-driven forum.

Now imagine those abominations containing chat-boxes, all kinds of useless widgets, awards/badges/achievements every x number of posts (who the hell started this BS anyway?) with promotions and demotions, huge animated GIFs/stickers/whatever, upvotes/downvotes, music playing in the background, YouTube/Twitch embedded videos all over etc. etc.

Yuck!

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5023
Joined: 2015-12-09, 15:45
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by moonbat » 2024-04-17, 22:25

back2themoon wrote:
2024-04-17, 12:08
awards/badges/achievements every x number of posts
We do have that here ;)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
suzyne
Lunatic
Lunatic
Posts: 398
Joined: 2023-06-28, 22:43
Location: Australia

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by suzyne » 2024-04-18, 08:12

moonbat wrote:
2024-04-17, 22:25
back2themoon wrote:
2024-04-17, 12:08
awards/badges/achievements every x number of posts
We do have that here ;)
No one wants to be neophyte Moongazer forever. :D
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5023
Joined: 2015-12-09, 15:45
Contact:

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by moonbat » 2024-04-18, 08:35

suzyne wrote:
2024-04-18, 08:12
No one wants to be neophyte Moongazer forever. :D
Poast moar ;)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2414
Joined: 2012-08-19, 20:32

Re: Which puts the most pressure on the forum, New Posts or Unread Posts?

Unread post by back2themoon » 2024-04-18, 11:04

moonbat wrote:
2024-04-17, 22:25
back2themoon wrote:
2024-04-17, 12:08
awards/badges/achievements every x number of posts
We do have that here ;)
Not really what I meant though. These are simple "text categories" that occur silently and automatically in the background.

I'm talking about actual graphic badges with pop-up messages that inform you about your "promotion", urging you to achieve the next one ("10 more posts to earn the next award") etc.

"First post badge", "First like badge", "Tenth post badge", "First private message badge"... I'm sure you get the idea.

Post Reply