Architecture with Perl Solution
At first, let's look at the picture the following.
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)
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.
has some data must be to generate html archive. I also using csync to synchronize to each other node.
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.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Peppermint 7 Released
- Sony Settles in Linux Battle
- Libarchive Security Flaw Discovered
- Client-Side Performance
- Maru OS Brings Debian to Your Phone
- Profiles and RC Files
- Snappy Moves to New Platforms
- The Giant Zero, Part 0.x
- Git 2.9 Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide