Current time: 04-25-2014, 01:22 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"New Posts (X)" to mimic Social Networks
08-28-2011, 01:05 PM (This post was last modified: 08-28-2011 01:08 PM by aglioeolio.)
Post: #1
"New Posts (X)" to mimic Social Networks
What about something like this?

   

You can see something simmilar in Tomm´s website, is a great feature in my point of view (you must login) => http://resources.xekko.co.uk/index.php

Will a feature like this be compromised because creates a perfomance bottleneck?

[]s, Claudio

Tutorial: Jquery (by google API) with mybb (Prototype)
Distinction between Paid/Free Plugins Threads
Visit this user's website Find all posts by this user
Quote this message in a reply
08-28-2011, 07:14 PM
Post: #2
RE: "New Posts (X)" to mimic Social Networks
That welcome back block is shown on every page, so the queries to determine that information (number of new messages, etc) would have to be run with every page hit. It could definitely affect performance.
Find all posts by this user
Quote this message in a reply
08-29-2011, 02:04 AM
Post: #3
RE: "New Posts (X)" to mimic Social Networks
(08-28-2011 07:14 PM)laie_techie Wrote:  That welcome back block is shown on every page, so the queries to determine that information (number of new messages, etc) would have to be run with every page hit. It could definitely affect performance.
This, although I would assume you could cache the results and only update every x number of page loads.

[Image: 422.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2011, 03:25 AM
Post: #4
RE: "New Posts (X)" to mimic Social Networks
This user has been denied support. This user has been denied support.
What would be the point of caching a result to show you recent activity?

People often want features they see on immense sites but these are the types of features to cause high load and then people complain their site is slow. You can't have it both ways.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2011, 06:24 PM
Post: #5
RE: "New Posts (X)" to mimic Social Networks
It's just a couple of extremely simple select queries. It's fine up to a medium to large forum, but get to massive scale and you're wanting to save as a many queries as possible.
Find all posts by this user
Quote this message in a reply
08-30-2011, 11:02 PM (This post was last modified: 08-30-2011 11:05 PM by aglioeolio.)
Post: #6
RE: "New Posts (X)" to mimic Social Networks
(08-29-2011 03:25 AM)labrocca Wrote:  People often want features they see on immense sites but these are the types of features to cause high load and then people complain their site is slow. You can't have it both ways.

Make it an optional feature turned off by default:

Admin CP => Configuration => User Registration and Profile Options =>
Option: Turn on number of New Posts indicator?
Y - (N)


if Yes => (Recommended to turn on "cache to files" [or whatever] when using this feature)

[]s, Claudio

Tutorial: Jquery (by google API) with mybb (Prototype)
Distinction between Paid/Free Plugins Threads
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication