The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Does anyone have experience with loading the vBulletin tables into memory tables?
It seems this may speed up the forum 3000x in practice according to MySQL performance blog. http://www.mysqlperformanceblog.com/...vs+bdb+vs+heap The only thing you would need is a backup system (memory is erased on server restart) and enough ram for the tables. I am able to configure a varchar field up to 21k chars for MEMORY tables in PHPMyAdmin, which should be enough for most forums I think. |
#2
|
||||
|
||||
![]()
Only put stuff into memory if you are prepared to lose it. vb puts the session tables into memory but that's it.
|
#3
|
||||
|
||||
![]() Quote:
I think this problem can be overcome. And think about the benefits. Everything can just work as it does now, it will just work 3000x faster and requires some extra code for the failsafe. And most servers remain up for months easily, so it's not that the tables would need to be repopulated every day or so. And ram isn't very expensive anymore, you could easily install 32 gig extra ram for your tables for just about $1000 dollar (high quality ram). The benefit: a forum that can run as normally (also with the regular MySQL slave server configuration) but 3000x as fast as when using InnoDB or MyISAM tables. --------------- Added 26 Mar 2009 at 21:50 --------------- Intel is getting a memory like disk on the market: Intel? X25-E Extreme SATA Solid-State Drive Sustained sequential read: up to 250 MB/s Sustained sequential write: up to 170 MB/s http://www.intel.com/design/flash/na...reme/index.htm Compared to a 15k SCSI disk with a read speed of about 80MB/s it is very good! However, it is still nothing compared to DDR3-1600 ram speed: 12800 MB/s (about 250 times as fast as a regular SCSI disk) |
#4
|
||||
|
||||
![]()
You're going to have to move data to and from that failsafe - which will be slower than the RAM, meaning you would still lose data.
|
#5
|
||||
|
||||
![]() Quote:
If so, the user could be provided with a temporary "Under maintainance" message while the tables are repopulated. |
#6
|
||||
|
||||
![]()
Do you never have your servers go down unexpectedly? I know I do for reasons that have nothing to do with my site or anything I've done. I've even had one go down because some guy in the server building did an oops! and disconnected us. I would rather have my servers optimized to run well and have the data stored on the drive than count on the servers never having any sort of problem.
|
#7
|
||||
|
||||
![]() Quote:
And 3000x more speed for a big forum can make a huge difference, let alone in savings on hardware when you would use 64 gig ram (2000 USD) instead of a few extra servers (20k USD or more). How much time would it cost to repopulate the memory tables from disk? Even if it costs 10 minutes for very big forums, why not having the server show a temporary maintainance message during that time. (64 gig data from a disk with 100MB/s speed would take about 10 minutes to do it) The speed benefit would be so huge during the time the server remains online, I doubt any super expensive hardware setup will be able to beat it easily. |
#8
|
||||
|
||||
![]() Quote:
|
#9
|
|||
|
|||
![]()
Are there servers that use solid state drives? That might be your answer.
|
#10
|
||||
|
||||
![]() Quote:
12 x the fastest disk, for just 2k investment. What would you need hardware wise to get this capacity with just those disks? raid 10 with 240 disks? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|