Wiki, bandwidth, and server

Something wrong with it? Got an idea for it? Post here.

Moderator: Lucifer

Post Reply
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Wiki, bandwidth, and server

Post by Lucifer »

Ok, my webserver's got too much traffic now. It was getting noticeably bad with the cable connection, but since I started with this dsl connection that computer's become unusable. The webserver sent out 2.5GB so far this month. That doesn't sound like much, but when you consider that it's all something like 100k shots of php scripting, that translates into a lot of computing power being used.

None of the solutions are pretty, but here they are:

* Do something hardcore to reduce traffic. This depends largely on what I can figure out to do, and I"m no apache expert.

* Buy a new server that can handle the load, thus freeing up the machine that's back there.

* Move to a rented server (the most expensive option).

Most of the traffic is the wiki, which is what makes it y'all's problem too. The question is where is the money going to come from? I just plain don't have it, I'm pretty far behind on a number of important computer expenses. Hell, I only last week finally got a backup hard drive plugged in, and it wound up being $140 for a usb hard drive.

So, suggestions? (Naturally I have some of my own, but I want y'all to make some suggestions)
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6714
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Maybe some sort of round-robin on the wiki with the MySQL mirroring stuff?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11746
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

I offer what I have. The network connection is not bad (500 kbits upstream), but my server is :( 128 Mb Ram, 266 MHz. I don't need it for much else, mail maybe, so I would not mind if it's busy 100% with wiki stuff.
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

As a recall, the problem with the round-robin thing was where POSTs would be handled. How did you solve that problem with the forums?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6714
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

The mysql mirroring has each server use a specificied range of auto assign values and so then you avoid all the conflicts that way. Specific to the forums had to add a bit of code that changed the url. The real hard part which I never finnished writing was support for mirroring file attachments. If that's what you meant...
Image
Swampy
Core Dumper
Posts: 167
Joined: Wed Dec 08, 2004 1:33 am
Location: Southern New Jersey

Post by Swampy »

A quick Google of "free wiki hosting" provided some hits. Has anyone looked into one of those? I'm sure there's something out there that could be used, but people who browse it may be subjected to banners.
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Tank Program wrote:The mysql mirroring has each server use a specificied range of auto assign values and so then you avoid all the conflicts that way. Specific to the forums had to add a bit of code that changed the url. The real hard part which I never finnished writing was support for mirroring file attachments. If that's what you meant...
Mediawiki has built-in support for handling file uploads, but I don't recall right off-hand what it was. I'll look into mirroring, mediawiki supposedly supports it natively, now that I think about. How else would wikipedia be able to run on such a large server farm? :)
Swampy wrote: A quick Google of "free wiki hosting" provided some hits. Has anyone looked into one of those? I'm sure there's something out there that could be used, but people who browse it may be subjected to banners.
My personal take is if people are happy and willing to take advertising, I'd just as soon we run our own (google ads, more than likely, since I already have an adsense account) and pocket the money (read: use the money for development and/or to support the server).

Are y'all willing to take advertising on the wiki? If you are, then I'm interested in running some google adsense stuff and see how it does. If the integral of ad revenue over a 6 month period comes out around $600 USD, then it will probably sustain itself and allow for growth/upgrades. I probably only need a month of data to make reasonably good projections.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

The mediawiki site suggests memcached and a php accelerator before going distributed. So I've installed memcached and am building eAccelerator. I'll get those in tonight and we'll see if that makes a difference. To get the full benefit of both, more memory is required. Unfortunately the motherboard is so old, well, let's just say adding memory isn't exactly straightforward right now.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1992
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Post by kyle »

Lucifer wrote:are y'all willing to take advertising on the wiki? If you are, then I'm interested in running some google adsense stuff and see how it does. If the integral of ad revenue over a 6 month period comes out around $600 USD, then it will probably sustain itself and allow for growth/upgrades. I probably only need a month of data to make reasonably good projections.
where are you going to put then side or top or bottom

as long as they are not on top i'm fine lol maize as well get some money
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Check out my own website as an example. See, I'm a believer in placing ads where they'll make the most money honestly (i.e. without tricking people to click on them).

http://www.davefancella.com/
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Lucifer
Project Developer
Posts: 8758
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Ok, I think I have eAccelerator and memcached successfully installed and configured for the wiki. Subjectively it feels faster, but the only real test is to see if cpu load spikes hardcore like it has recently (really, waiting 10 minutes for the K menu to appear after clicking on it is quite unreasonable).
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Z-Man
God & Project Admin
Posts: 11746
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

If it's about free wiki hosting, I'd take www.wikia.com . I looked into it a bit for a university project, they even have the LaTeX plugin for slick math stuff, and the text only ads are placed in a bar on the right.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6714
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

I think trying google ads is an OK idea.
Image
Post Reply