Architecture with Perl Solution

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.

Youtube clone script

NYK007's picture

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

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState