I am planning to develop an application in WINDOWS OS using ruby.
The front end of the application will be an web browser.
It is actually an NETWORK MONITORING SYSTEM comprising of about 80 UNIX
in each of the machine every five minutes a text file is generated
which gives the exception report of call failures of a TELECOM
subscribers divided into various categories like DIAL CODE,VOICE
CALL,DATA CALL etc .
The whole idea is to coallate these files from 80 machines and
represent them in web browser in tabular fashion in about 20 user PCs.
After some home work … i have encapsulated following thoughts
1> I need a server application that will run in each users’ PC which
will be reponsible for
a> Collecting the 80 files … for this I think the server will
need to use “rsh” service of WINDOWS.
b> Parse through these files and compare with the previous 5minutes’
data to see if there is any addition or deletion of failure case and
create/append/modify the html file accordingly to serve
2>The front end or the client application will be the standard web
browser. Here the users will point their browser to the “localhost” to
the appropiate location and the server will serve the file which will
update every 5 minutes.
I hope i could clearly state what I am trying to acheive.
With this background . I would share the confusions that i have from
1> With The standard WEBBRICK/MONGREL servers … will I be able to do
the rsh stuff?
2> What do you recommend to for data management … The data that flows
in every 5 minute will be small chunks like max 50 lines … should i
use YAML or MYSQL ?
3> Doing “rsh” will require system calls and that means threading will
be of not much help. Instead I need to fork subprocesses … but in
WINDOWS env … can it be done?