WrongPlanet.net
WP Members: > 70,000

Aspie Affection

New Today: 10
New Yesterday: 30

Please can you get the server thing sorted out? Previous  1, 2, 3, 4, 5, 6, 7  Next  
Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion     
MyFutureSelfnMe
Phoenix
Phoenix


Joined: Feb 27, 2010
Posts: 1288

PostPosted: Mon Jun 11, 2012 7:38 pm    Post subject: Reply with quote

sliqua-jcooter wrote:
MyFutureSelfnMe wrote:
I understand, but there are certain issues that are pervasive and have been consistent for years.

Foremost among them, the lack of response from the server when posting occasionally. It's happened the same way, about the same frequency, for years. Nobody has ever, as far as I can tell, attempted to fix the problem, or else it would have stopped happening at some point.


That's not a problem - that's a symptom of a problem. The problem is, actually, "making an addition to a post takes too long to process" which, in turn, is really "the DB takes too long to commit writes to posts". There is no way to fix that without fundamentally altering how posts are stored in the DB, and how the application interacts with the DB.

This is *exactly* the sort of thing that I was talking about when I said that there are no open-source alternatives that work for a site this busy.


I find it almost unbelievable that there is no popular open source bulletin board software that can manage posts from more than a couple thousand simultaneous users. A post shouldn't be a whole lot more than a SQL INSERT. Can you enlighten me at all as to what it's trying to do that is overloading the DB? I'm honestly curious.
Back to top
View user's profile Send private message
PM
Lord Badgerchops
Phoenix


Joined: Oct 15, 2010
Age: 23
Posts: 1433
Location: Southeastern United States

PostPosted: Mon Jun 11, 2012 7:50 pm    Post subject: Reply with quote

On the subject of supported users:

http://www.phpbb.com/community/

Quote:
Total posts 3751220 • Total topics 630485 • Total members 428775

_________________
Who knows what evil lurks in the hearts of men?
Back to top
View user's profile Send private message
bcousins
Phoenix
Phoenix


Joined: May 02, 2011
Posts: 620
Location: On a failed Tangara set at Blacktown

PostPosted: Mon Jun 11, 2012 7:54 pm    Post subject: Reply with quote

MyFutureSelfnMe wrote:
sliqua-jcooter wrote:
MyFutureSelfnMe wrote:
I understand, but there are certain issues that are pervasive and have been consistent for years.

Foremost among them, the lack of response from the server when posting occasionally. It's happened the same way, about the same frequency, for years. Nobody has ever, as far as I can tell, attempted to fix the problem, or else it would have stopped happening at some point.


That's not a problem - that's a symptom of a problem. The problem is, actually, "making an addition to a post takes too long to process" which, in turn, is really "the DB takes too long to commit writes to posts". There is no way to fix that without fundamentally altering how posts are stored in the DB, and how the application interacts with the DB.

This is *exactly* the sort of thing that I was talking about when I said that there are no open-source alternatives that work for a site this busy.


I find it almost unbelievable that there is no popular open source bulletin board software that can manage posts from more than a couple thousand simultaneous users. A post shouldn't be a whole lot more than a SQL INSERT. Can you enlighten me at all as to what it's trying to do that is overloading the DB? I'm honestly curious.


Beginner web developer (But has some sort of background).

This site has 1500 active members, No? Well, SQL doesn't like that, and so many simultaneous connections sends it into overload. Think of it like your mind, When too many things are trying to be "inserted" at any given time, It dies, doesn't it?

Much the same principle.

SQL_INSERT is all well and good, But if you've pressed submit, Then Johnny down the street hits submit at the same time, Then your boss hits submit... It all adds up.

PM wrote:
On the subject of supported users:

http://www.phpbb.com/community/

Quote:
Total posts 3751220 • Total topics 630485 • Total members 428775


And HOW many are online at any given time?
_________________
http://aspergersnetwork.com - Still in development
Back to top
View user's profile Send private message
PM
Lord Badgerchops
Phoenix


Joined: Oct 15, 2010
Age: 23
Posts: 1433
Location: Southeastern United States

PostPosted: Mon Jun 11, 2012 7:58 pm    Post subject: Reply with quote

bcousins wrote:
PM wrote:
On the subject of supported users:

http://www.phpbb.com/community/

Quote:
Total posts 3751220 • Total topics 630485 • Total members 428775


And HOW many are online at any given time?


Quote:
Most users ever online was 8680


Users means server requests, whether it is from a member, guest, or bot.
_________________
Who knows what evil lurks in the hearts of men?
Back to top
View user's profile Send private message
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Mon Jun 11, 2012 8:18 pm    Post subject: Reply with quote

sliqua-jcooter wrote:
There aren't any open source forum solutions that scale to the level that's needed without extremely heavy customization/tweaking.


Note what I said. I never said phpBB couldn't support that many users - I said it couldn't support that many users without spending hours tweaking the hell out of it to get it to do what you need. I can guarantee you the complexity of the setup for WP pales in comparison to the phpBB forum.

If you give me 4 db servers, 3 memcache servers, a couple app servers, and a fleet of load balancers I can run whatever you want - but WP doesn't have that kind of budget, and likely never will.
_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
aghogday
KATiE MiA
Phoenix


Joined: Nov 26, 2010
Posts: 4746

PostPosted: Mon Jun 11, 2012 9:03 pm    Post subject: Reply with quote

Max000 wrote:
aghogday wrote:
I get way more internet explorer errors than WP errors. It's probably time to upgrade. But I look at it as an exercise of patience.


One word for that, "Firefox". You certainly don't need to upgrade your computer. I have a five year old Mac Book, an eight year old Dell piece of crap laptop, and a nine year old Power Mac G5. And they all have way more power then I need to read and post to web forums. Any computer made in the last ten will be more then adequate for WP. That is if the server is not down.


Thanks, that made a huge difference in speed. Looks like a great browser. The only issue I have with it is that the format of this website provides posting text that is washed out looking, with jagged edges. About the only adjustment I've found is that I can override the website font with Arial Black , which is overkill in the "bold" direction. All the other fonts I've tried have jagged edges, which I suppose is because they aren't in the Arial Black bold style.

Spell check is definitely a big improvement, as well.

If anyone has another suggestion that has encountered this issue with Fire Fox and this website formatting issue, with the posting font, I would appreciate the feedback.
Back to top
View user's profile Send private message Visit poster's website
Delphiki
Launchie
Phoenix


Joined: Apr 15, 2012
Age: 23
Posts: 1350
Location: My own version of reality

PostPosted: Mon Jun 11, 2012 9:06 pm    Post subject: Reply with quote

The font didn't look any different when I changed from safari to firefox
_________________
Trolls exist! They steal your socks, but only the left ones. I wonder what is up with that?
Back to top
View user's profile Send private message
MyFutureSelfnMe
Phoenix
Phoenix


Joined: Feb 27, 2010
Posts: 1288

PostPosted: Mon Jun 11, 2012 9:25 pm    Post subject: Reply with quote

sliqua-jcooter wrote:
sliqua-jcooter wrote:
There aren't any open source forum solutions that scale to the level that's needed without extremely heavy customization/tweaking.


Note what I said. I never said phpBB couldn't support that many users - I said it couldn't support that many users without spending hours tweaking the hell out of it to get it to do what you need. I can guarantee you the complexity of the setup for WP pales in comparison to the phpBB forum.

If you give me 4 db servers, 3 memcache servers, a couple app servers, and a fleet of load balancers I can run whatever you want - but WP doesn't have that kind of budget, and likely never will.


What kind of tweaks to phpBB would be needed to support more than a small number of users?

DBs (e.g. MySQL) even running on a single server should have no problem handling 1500 simultaneous INSERTs, and I doubt WP ever sees that many simultaneous ones. I kind of doubt MySQL is the issue.

Browsing the phpBB forums, it seems user count is rarely an issue, forum count can become one.

Also, like I said, this has been an ongoing issue for years, and I'd love to hear more about what the problem is. I would go so far as to say I'm still skeptical of your reasons, unless WP's user count is running into the hundreds of thousands.
Back to top
View user's profile Send private message
MyFutureSelfnMe
Phoenix
Phoenix


Joined: Feb 27, 2010
Posts: 1288

PostPosted: Mon Jun 11, 2012 9:33 pm    Post subject: Reply with quote

Refer to http://www.phpbb.com/community/viewtopic.php?f=14&t=2090394

phpBB's own forum is running smoothly with 387k users on one DB server.
Back to top
View user's profile Send private message
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Mon Jun 11, 2012 9:35 pm    Post subject: Reply with quote

MyFutureSelfnMe wrote:
sliqua-jcooter wrote:
sliqua-jcooter wrote:
There aren't any open source forum solutions that scale to the level that's needed without extremely heavy customization/tweaking.


Note what I said. I never said phpBB couldn't support that many users - I said it couldn't support that many users without spending hours tweaking the hell out of it to get it to do what you need. I can guarantee you the complexity of the setup for WP pales in comparison to the phpBB forum.

If you give me 4 db servers, 3 memcache servers, a couple app servers, and a fleet of load balancers I can run whatever you want - but WP doesn't have that kind of budget, and likely never will.


What kind of tweaks to phpBB would be needed to support more than a small number of users?

DBs (e.g. MySQL) even running on a single server should have no problem handling 1500 simultaneous INSERTs, and I doubt WP ever sees that many simultaneous ones. I kind of doubt MySQL is the issue.


Just as an example (and by far not the most egregious one) - each post in phpBB 3.0 spawns a variety of DB actions (and I may be missing some):

1 - it INSERTs a new entry into phpbb_posts
2 - by default, it adds the user to the thread watch list in phpbb_topics_watch (SELECT followed by another INSERT)
3 - it updates phpbb_topics_posted (UPDATE or INSERT)
4 - it updates phpbb_users with last post date and number of posts (UPDATE)

And it probably does a lot of other things that I'm not even aware of. Bottom line is it adds up really quickly.
_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Mon Jun 11, 2012 9:38 pm    Post subject: Reply with quote

MyFutureSelfnMe wrote:
Refer to http://www.phpbb.com/community/viewtopic.php?f=14&t=2090394

phpBB's own forum is running smoothly with 387k users on one DB server.


I'm sorry - did you happen to catch the specs of that "one" DB server?

Quote:
2X Quad-core Intel Xeon 5500 “Nehalem” Series Processors - 8 MB cache (max)
64GB 1333MHz, fully buffered, DDR-3 RDIMM memory
4X SATA HDDs - OS
8X SATA 64GB Intel X25-e solid state drives (512GB total) - Data


512GB of SSDs, and 64GB of RAM.
_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MyFutureSelfnMe
Phoenix
Phoenix


Joined: Feb 27, 2010
Posts: 1288

PostPosted: Mon Jun 11, 2012 9:55 pm    Post subject: Reply with quote

So? That's for 387k users, and those system specs are not that crazy. If you guys are that desperate, I'll buy you a server with those specs.
Back to top
View user's profile Send private message
MyFutureSelfnMe
Phoenix
Phoenix


Joined: Feb 27, 2010
Posts: 1288

PostPosted: Mon Jun 11, 2012 9:59 pm    Post subject: Reply with quote

sliqua-jcooter wrote:
MyFutureSelfnMe wrote:
sliqua-jcooter wrote:
sliqua-jcooter wrote:
There aren't any open source forum solutions that scale to the level that's needed without extremely heavy customization/tweaking.


Note what I said. I never said phpBB couldn't support that many users - I said it couldn't support that many users without spending hours tweaking the hell out of it to get it to do what you need. I can guarantee you the complexity of the setup for WP pales in comparison to the phpBB forum.

If you give me 4 db servers, 3 memcache servers, a couple app servers, and a fleet of load balancers I can run whatever you want - but WP doesn't have that kind of budget, and likely never will.


What kind of tweaks to phpBB would be needed to support more than a small number of users?

DBs (e.g. MySQL) even running on a single server should have no problem handling 1500 simultaneous INSERTs, and I doubt WP ever sees that many simultaneous ones. I kind of doubt MySQL is the issue.


Just as an example (and by far not the most egregious one) - each post in phpBB 3.0 spawns a variety of DB actions (and I may be missing some):

1 - it INSERTs a new entry into phpbb_posts
2 - by default, it adds the user to the thread watch list in phpbb_topics_watch (SELECT followed by another INSERT)
3 - it updates phpbb_topics_posted (UPDATE or INSERT)
4 - it updates phpbb_users with last post date and number of posts (UPDATE)

And it probably does a lot of other things that I'm not even aware of. Bottom line is it adds up really quickly.


Does it at least combine all of those actions in a single SQL request? If so it still doesn't sound that bad.
Back to top
View user's profile Send private message
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Mon Jun 11, 2012 10:01 pm    Post subject: Reply with quote

MyFutureSelfnMe wrote:
So? That's for 387k users, and those system specs are not that crazy. If you guys are that desperate, I'll buy you a server with those specs.


a) 387k users with 3751248 posts, vs ~68k users with 4665074 posts.

b) You completely missed the real point - that 1 request != 1 action.

c) buy two, we actually need a spare.
_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sliqua-jcooter
Phoenix
Phoenix


Joined: Jan 26, 2010
Posts: 814
Location: Burke, Virginia, USA

PostPosted: Mon Jun 11, 2012 10:03 pm    Post subject: Reply with quote

MyFutureSelfnMe wrote:
sliqua-jcooter wrote:
MyFutureSelfnMe wrote:
sliqua-jcooter wrote:
sliqua-jcooter wrote:
There aren't any open source forum solutions that scale to the level that's needed without extremely heavy customization/tweaking.


Note what I said. I never said phpBB couldn't support that many users - I said it couldn't support that many users without spending hours tweaking the hell out of it to get it to do what you need. I can guarantee you the complexity of the setup for WP pales in comparison to the phpBB forum.

If you give me 4 db servers, 3 memcache servers, a couple app servers, and a fleet of load balancers I can run whatever you want - but WP doesn't have that kind of budget, and likely never will.


What kind of tweaks to phpBB would be needed to support more than a small number of users?

DBs (e.g. MySQL) even running on a single server should have no problem handling 1500 simultaneous INSERTs, and I doubt WP ever sees that many simultaneous ones. I kind of doubt MySQL is the issue.


Just as an example (and by far not the most egregious one) - each post in phpBB 3.0 spawns a variety of DB actions (and I may be missing some):

1 - it INSERTs a new entry into phpbb_posts
2 - by default, it adds the user to the thread watch list in phpbb_topics_watch (SELECT followed by another INSERT)
3 - it updates phpbb_topics_posted (UPDATE or INSERT)
4 - it updates phpbb_users with last post date and number of posts (UPDATE)

And it probably does a lot of other things that I'm not even aware of. Bottom line is it adds up really quickly.


Does it at least combine all of those actions in a single SQL request? If so it still doesn't sound that bad.


No.
_________________
Nothing posted here should be construed as the opinion or position of my company, or an official position of WrongPlanet in any way, unless specifically mentioned.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Post new topic   Reply to topic    Wrong Planet Autism Forum Index -> WrongPlanet.net discussion   
Previous  1, 2, 3, 4, 5, 6, 7  Next  

 
Read more Articles on Wrong Planet



Wrong Planet is a Registered Trademark.
Copyright 2004-2013, Wrong Planet, LLC and Alex Plank. Alex does public speaking for Autism.

Advertise on Wrong Planet

Alex Hotchalk / Glam 

Alex Plank  Aspie Affection 

Terms of Service - You must read this as a user of Wrong Planet | Privacy Policy

Subscribe: RSS Feed  Wrong Planet News  Wrong Planet Forums




fine art