Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1038
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Shoutbox (Heavy Load)

Started by Cermno1981, February 03, 2011, 06:49:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AngelinaBelle

This is great news.
And understanding php will help you understand and customize your SMF forum.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Robbo

Just so you know. Java and JavaScript are two very different things. The only reason it was called JavaScript was for easy marketing.


AngelinaBelle

Quote from: Cermno1981 on February 15, 2011, 03:30:27 PM
The new host is watching resource usage carefully, and we don't want to disable the auto refresh (it's just such a great feature), so.... is there a way to have the shoutbox deactivate itself after 'X' minutes of inactivity? Inactivity could be the last time you navigated the site or typed into the shoutbox.

Quote from: Cermno1981 on February 25, 2011, 07:09:23 PM
I declared a variable 'counter' as a default value of 0, and then increment this value on each refresh. I hard coded (as a test) a limit of 30, at which point it clears the refresh interval and ends the heavy load on the server.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Cermno1981

I'm back! With more problems, but I've solved them and thought I would share.

The heavy load was not only down to the Shoutbox but also the Aeva Media gallery modification I was running. I would appear the media (mainly YouTube) embedder that comes with Aeva Media was the culprit. I would therefore advise anybody who runs an even moderately busy site to avoid using the Aeva Media gallery modification.

Upon removal of the mod our usage dropped significantly, and the response times are far better.

We've also maintained our changes to the Shoutbox as it cuts the usage associated with that significantly as well.

AngelinaBelle

Thanks for that report. You might take the report of AEVA media load to that mod's support thread at SimpleMachines.org (Arantor often reads these), or to aeva.noisen.com, where the mods' author might (or might not) be interested in your report.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?