At first, let's look at the picture the following.

http://netkiller.hikz.com/article/architecture/perl_solution.png

you saw Load balancing it might be hardware as F5 BigIP or four layer swith as LVS(Linux Virtual Server).

here we need two machine for that. one is Primary, the other is Secondary. the Primary and Secondary connect to each other by heartbeat. the heartbeat line you might choose serial port(ttyS0) or ethernet(eth1).

secondly, it is cache by reverse proxy. I thought that I needn't said it. we have a lot of node for cache.

next, has three part of cluster on the application.

1. static cluster (html archives)
2. active cluster (perl script)
3. multimedia cluster (image, flash and extra)

active cluster

we have two way for you.

one way, apache with mod_perl, two way is lighttpd with fastcgi. whichever ways is OK all.

also we have a lot of node for active cluster, and each node to synchronize to each other via csync software.

I used memcached in the between perl script and database.

the database is MySQL Cluster, also has a lot of node.

static cluster

has some data must be to generate html archive. I also using csync to synchronize to each other node.

multimedia cluster

I will all of multimedia put on else cluster.

and using DFS(Distributed Filesystem) by storage.

also has a lot of node for multimedia cluster.

welcome to discuss with me.

__________________________
http://netkiller.hikz.com
http://netkiller.8800.org

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
NYK007's picture

Youtube clone script

On February 4th, 2009 NYK007 says:

Hi guys,

In this Internet era any information you look for is available readily at your finger tip. You can catch up with friends, chat, play games, get to know new people, socialize, bank, shop, watch videos, and do just about anything online. Thanks

NYK
MLS

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

December 2009, #188

If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.







Read this issue