|
In Site Infrastructure
Revamping DNS
|
#7
04-26-2007 09:55 PM |
Hello all!
For the past four years or so, we've been using the nameservers provided by the hosting company owned by Kaitou Ace and myself (http://www.neoservers.com/). For those of you who don't know, nameservers are used by the Internet to determine what URL's go where. Without them, the Internet doesn't work properly ^_^
Anyway, I've been working on a new DNS system which is operated on the site servers rather than through Neoservers LLC infratructure. So far I've created "agns1.neoservers.com and agns2.neoservers.com" and hope to have one per webserver in the near future.
So being the stubborn person that I am (okay, s/stubborn/lazy/), I tend to write programs which do everything for me, and this was no exception. Whenever you add a domain, make changes, blah blah blah you
...More
|
|
» Current Mood: Accomplished
|
In AIM Bots
Ignore Function
|
#6
04-22-2007 08:46 PM |
Some of you people have been harassing the bot with anywhere from flooding it to telling it to do naughty things. With that in mind, I am going to write an ignore function for it.
Rather than ignore you, the bot will either ignore you entirely or respond with some insult or nonsense. Here's how we'll do it!
Code:
#!/usr/bin/perl
use strict;
use warnings;
my @ignore;
@ignore = (
'God',
'Gregory'
);
## need a count() subroutine
sub count {
my $var;
my $count = 0;
foreach $var (@_) {
$count = $count + 1;
print "Here\n";
}
return $count;
}
## need an in_array subroutine
sub in_array {
my $val = shift(@_);
my $elem;
foreach $elem(@_) {
if( lc($val) eq lc($elem) ) {
return 1;
...More
|
|
» Current Mood: Accomplished
|
In AIM Bots
In-Show Searches Now Work
|
#5
04-21-2007 11:24 PM |
Hey all!
You can now search within shows to find specific albums. Example:
Quote:
[23:09] Jakiao: show "my goddess" belldandy
[23:09] AGNet Bot:
Show: Aa! Megamisama / Ah! My Goddess - http://www.animegalleries.net/category/4
Belldandy - http://www.animegalleries.net/album/14
Belldandy and Keiichi - http://www.animegalleries.net/album/18
|
Quote:
[23:08] Jakiao: show bleach rukia
[23:08] AGNet Bot:
Show: Bleach - http://www.animegalleries.net/category/87
Abarai Renji and Kuchiki Rukia - http://www.animegalleries.net/album/4368
Kuchiki Rukia - http://www.animegalleries.net/album/4322
Kurosaki Ichigo and Kuchiki Rukia - http://www.animegalleries.net/album/4365
|
Give it a try =D
|
|
» Current Mood: Accomplished
|
|
In AIM Bots
AGNet Bot Up and Running!
|
#4
04-21-2007 07:34 PM |
Well, I got this crazy idea in my head and I ran with it.
Why don't we have an AIM bot for AnimeGalleries.net that works like smarterchild? So I made one!
On AOL Instant Messenger, you can now message "AGNet Bot" and do various things which will help you use our sites more. Currently, you can do the following:
- Search for a show
`-- Will return a list of links to all shows matching your terms
- Search for a user gallery
`-- Will return a list of user galleries matching your term
- Search for a registered member
`-- Will return a partial profile for the specified user. Will also show if they're logged on and if they're logged into chat.
Currently I am working on creating a search tool which will let you search within shows. Example: You want to find the album for
...More
|
|
» Current Mood: Accomplished
|
|
In Site Infrastructure
The Coming Changes
|
#3
04-21-2007 07:23 PM |
As it currently stands, we have one web server handling everything. If that web server has a problem, then the entire site has a problem. Furthermore, we've been known to saturate our LAN between the web server and the database server. Currently, the LAN only supports 10/100 connections (aka 100Mbps maximum).
That's all changing.
In two weeks, I will be adding a new piece of equipment. The equipment is an HP ProCurve 2848 Switch (http://www.animeforum.com/vbimghost.php?do=displayimg&imgid=9230) which sports 48 ports each capable of handling a 10/100/1000 connection (aka 1Gbps or 1000Mbps). The switch can handle a total of 96Gbps bandwidth and provides DOS protection to some degree.
The next piece of equipment we'll be adding is a Foundry ServerIron XL 16-port with a dual 100
...More
|
|
» Current Mood: Accomplished
|
|
In Site Infrastructure
The Hardware Powering the Sites
|
#2
04-21-2007 07:05 PM |
Hello everyone,
Something I love talking about is the hardware that we use to run these sites. So here is a rundown of the equipment that we currently have.
Primary Web Server ======
CPU: Dual Intel Xeon E5335 (2.0 Ghz, quad-core, 1333Mhz FSB, 8MB L2 Cache)
RAM: 12GB DDR2-667 FB-DIMM ECC (12x1GB)
RAID Array: 4x74GB 10000RPM Western Digital SATA 16MB Buffer RAID10
RAID Controller: AMCC/3Ware 9650SE-4LPML 128MB Buffer
Motherboard: Supermicro X7DB8+
Chassis: Supermicro SC-815TQ-560V-B
OS: CentOS 4.4 x86_64 using a vanilla 2.6 kernel
Database Server ======
CPU: Dual Intel Xeon 5160 (3.0 Ghz, dual-core, 1333Mhz FSB, 4MB L2 Cache)
RAM: 8GB DDR2-667 FB-DIMM ECC (8x1GB)
RAID Array (MySQL partition): 4x36GB 15000RPM U320 SCSI - Seagate Cheetah RAID10
RAID Array (OS partition):
...More
|
|
» Current Mood: Accomplished
|
|