Too much traffic?

Post

Posted
Rating:
#7626 (In Topic #2240)
Avatar
Standard member
Malatesa is in the usergroup ‘Well-settled’
Howdy, folks. Recently people are telling me that it takes about a minute to post to the forums. That's about what I see on my side, too. Currently on my site there are 10 members logged in and 16 guests. My site is on Namecheap on a "business class" shared server.

I'm curious about the performance of other Composr sites that have 10 or more active members logged in at the same time, and something like 16 guests browsing the site. Also, my site uses the built-in chat system, and there are 7 people in there right now, maybe more, but in the future, it could be 50. I propose the following questions, keeping in mind the server is a typical shared server. Any insights are welcome.
  • At what point in the number of logged in members and guests should a Composr site consider a VPS or dedicated server?
  • What number of logged in members and guests on a Composr site is practical where the site speed is fast?
  • What number of logged in members and guests on a Composr site before the site can become throttled by the provider (Namecheap in this case)
  • If a site is throttled and slowed down because of the number of members logged in and guests browsing, is this a throttling of CPU or of bandwidth?
  • What percentage of CPU time does built-in Composr chat take up? In other words, is the site being taxed because of chat, or because of the number of members active and logged in, or simply because it's a low-end shared server?
  • What sort of server would be required if (eventually) video chat was added to the built-in Composr chat?
As a general survey, what sort of server do you use for your Composr site, and why?

Thanks!
 
Online now: No Back to the top

Post

Posted
Rating:
#7652
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I'm taking a look at this.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Important!
Posted
Rating:
#7653
Avatar
Site director
admin is in the usergroup ‘Administrators’

Automated fix message

Malatesa said

Howdy, folks. Recently people are telling me that it takes about a minute to post to the forums. That's about what I see on my side, too. Currently on my site there are 10 members logged in and 16 guests. My site is on Namecheap on a "business class" shared server.

I'm curious about the performance of other Composr sites that have 10 or more active members logged in at the same time, and something like 16 guests browsing the site. Also, my site uses the built-in chat system, and there are 7 people in there right now, maybe more, but in the future, it could be 50. I propose the following questions, keeping in mind the server is a typical shared server. Any insights are welcome.
  • At what point in the number of logged in members and guests should a Composr site consider a VPS or dedicated server?
  • What number of logged in members and guests on a Composr site is practical where the site speed is fast?
  • What number of logged in members and guests on a Composr site before the site can become throttled by the provider (Namecheap in this case)
  • If a site is throttled and slowed down because of the number of members logged in and guests browsing, is this a throttling of CPU or of bandwidth?
  • What percentage of CPU time does built-in Composr chat take up? In other words, is the site being taxed because of chat, or because of the number of members active and logged in, or simply because it's a low-end shared server?
  • What sort of server would be required if (eventually) video chat was added to the built-in Composr chat?
As a general survey, what sort of server do you use for your Composr site, and why?

Thanks!
 
This issue has now been filed on the tracker as issue #4576, with a fix.
Important!

Post

Posted
Rating:
#7654
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
So this was totally a bug, a nasty one. The more post replies, the slower it got to post further ones. The hotfix above is solid.
It's not really related to server capacity much.

Quickly going through your questions…

I can't give specific figures for any host, or talk about any individual host's policies. But very roughly a page hit should use less than 0.1 seconds of CPU time (very much depending on configuration and CPU).

Bandwidth is very rarely a factor, CPU is normally the main one.

Chat is pretty efficient. It has to continuously poll for new messages (every few seconds), but it can do this without fully bootstrapping Composr each time or even opening a DB connection.

Video chat, I couldn't really speak to that much OTTOMH. Depends on if the video server is having to do transcoding or not, but mainly I think it would be more of a bandwidth issue.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,828 members
  • Our newest member is Evelynnixon
Back to Top