Difference between revisions of "Cluster wikiload project"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 6: Line 6:
 
Another limitation is that its targeted to [www.mediawiki.org MediaWiki] and not as a general workload framework. Though I will try and separate the skeleton from the MediaWiki stuff, to make it easier to implement in other environments.  
 
Another limitation is that its targeted to [www.mediawiki.org MediaWiki] and not as a general workload framework. Though I will try and separate the skeleton from the MediaWiki stuff, to make it easier to implement in other environments.  
 
== Name ==
 
== Name ==
 +
[[Image:Lobster.gif|right|200px|thumb]]
 
To refer to the project it needs a name. I think I will call it Lobster.
 
To refer to the project it needs a name. I think I will call it Lobster.
[[Image:Lobster.gif|right|200px|thumb]]
+
 
 
=How it works=
 
=How it works=
 
A Lobster Management Station (LMS) will control a number of Lobster clients (LC), telling them how to load the server. From the LMS you set how the LC's should load the serverfarm they willreturn the worload results to the LMS, where it will be presented to you.
 
A Lobster Management Station (LMS) will control a number of Lobster clients (LC), telling them how to load the server. From the LMS you set how the LC's should load the serverfarm they willreturn the worload results to the LMS, where it will be presented to you.
Line 17: Line 18:
 
* IO::Socket::Multicast for the LMS auto discovering the LC's.
 
* IO::Socket::Multicast for the LMS auto discovering the LC's.
 
* TK for making a GUI on the LMS. (Takes a long time. Perhaps I will just use Curses also here)
 
* TK for making a GUI on the LMS. (Takes a long time. Perhaps I will just use Curses also here)
 +
* Storable for saving results to disk. (A bad idea but very fast to implement.)
 +
= Project faces =
 +
== LMS - Lobster Management Station ==
 +
== LC - Lobster clients ==

Revision as of 14:58, 15 March 2009

Purpose

The purpose of this project is to build a distributed program which run on several workstations loading a Wiki server farm. The aggregated load from all workstations can stress the serverfarm and gather information to get idea of how the serverfarm performs.

Limitations

This is not a program to measure the performance. The time needed to build such a system exceeds the time at hand.
Another limitation is that its targeted to [www.mediawiki.org MediaWiki] and not as a general workload framework. Though I will try and separate the skeleton from the MediaWiki stuff, to make it easier to implement in other environments.

Name

Lobster.gif

To refer to the project it needs a name. I think I will call it Lobster.

How it works

A Lobster Management Station (LMS) will control a number of Lobster clients (LC), telling them how to load the server. From the LMS you set how the LC's should load the serverfarm they willreturn the worload results to the LMS, where it will be presented to you.

Implementation

Because of the tight time schedule I've decided to implement it using Perl and the following modules.

  • WWW::Mechanize as the HTML Client engine.
  • POE::Session as the multitasking engine on the LC's to load the serverfarm
  • Curses for controling the Screens of the LC's (Perhaps also for the LMS)
  • IO::Socket::Multicast for the LMS auto discovering the LC's.
  • TK for making a GUI on the LMS. (Takes a long time. Perhaps I will just use Curses also here)
  • Storable for saving results to disk. (A bad idea but very fast to implement.)

Project faces

LMS - Lobster Management Station

LC - Lobster clients