|
Home > Archive > MySQL ODBC Connector > February 2006 > RE: MYSQL: Unlimited Forums, Scalablity Issues, advice please? - Bayesian Filter detected spam
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
RE: MYSQL: Unlimited Forums, Scalablity Issues, advice please? - Bayesian Filter detected spam
|
|
| Gordon Bruce 2006-02-28, 8:28 pm |
| Let's try to characterize the load and sizing. If the posts are mostly
text.
100 forums X 100,000 posts X 2,000 bytes per post =3D 20GB large but not
huge
We have people reading the posts. Even speed readers will take minutes
to read the new posts. Maybe 1 in 10 - 100 readers will do a new post. A
person writing a new post will take at least 5 minutes to type the 2000
bytes.
So, while this site might have 100's to 1000's of concurrent users, the
load profile on the database is much lower than a dynamic database
driven web site where users are constantly searching/linking and the
time spent on a specific page is seconds.=20
I suspect if you watch some "typical" forum activity and build a crude
database interaction model, you will find that even with 1000's of
connected users the database server will need to run less than 100
relatively simple selects per second and many of them will be served by
the query cache. =20
This is a very rushed analysis with lots of assumptions, but if close
then I think you are looking at at most a pair of dual dual-core 4GB
systems running Master Slave replication.
-----Original Message-----
From: J. Pow & #91;mailto:jpo245@gm
ail.com] On Behalf Of jay
Sent: Monday, February 27, 2006 6:06 PM
To: Philip Hallstrom
Cc: mysql@lists.mysql.com
Subject: [SPAM] - Re: MYSQL: Unlimited Forums, Scalablity Issues, advice
please? - Bayesian Filter detected spam
Hi Philip, thanks for the reply.
Single master + many read only slaves would only solve the problem of=20
handling many many concurrent read accesses, by distributing the load=20
across all slaves.
However, I guess the real problem, is that the writes would still need=20
to be performed across ALL databases, and the DB would be HUGE, would it
not?
Lets say I host 100 forums, with 100k posts each, every write would need
to be replicated to as many slaves as I have.
Thanks!
Jay
Philip Hallstrom wrote:
>
>
> What about having a single write master with many read-only slaves? =20
> Then modify your code so that posts go to the master and everything=20
> else happens on the slaves?
>
[color=darkred]
>
>
> Create a table on a "central" server that contains this mapping. This
> server could also hold the login tables as well...
>
> Just a thought.
>
--=20
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql? unsub...
rint.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
|
|
|
|
|