Editing SJ1

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 +
= Sources =
  
 +
== ftp ==
 +
  Users could just transfer/submit their logs to the public ftp server.
 +
 +
== scp ==
 +
Developers could transfer the logs to the a specific folder on the server.
 +
 +
== Mail ==
 +
Users mail the benchmark file to "benchmark@brlcad.org"
 +
 +
== http API ==
 +
There is a http API which recieves the file as a post message which could be sent using curl or equivalent tool.
 +
 +
 +
= Mechanism =
 +
 +
== Web API ==
 +
A http API has to be made which accepts the benchmark file as a POST message or use a file upload mechanism. The http call is embedded into the benchmark shell script or a seperate script through which the user can just use "benchmark-post" or some such command. The file upload could be automated using urllib2(Python) or somesuch equivalent lib for other languages. If this mechanism is included in the benchmark shell script, one could just use an extra argument which could be something such as "--push-result-to-web=true".
 +
 +
== FTP sync ==
 +
Similar to the http push, one can also implement the FTP sync at the userend. The files are submitted to a queue folder and here the mechanism is a polling script which checks for any new file and introduces them into the db and the file storage folder. Here the polling script(say at a frequency of 5mins) can find the files which have been created after the last poll and then check if they are already introduced to the db by checking their md5sum(which could be stored in a separate table). This script dumps the log to a file which could be used to check if the script has worked properly. There could be another script which could be a cleaning script which checks the logs, pushes them to the db and file storage folders incase some of the log files have not been moved and emails if there are any discrepancies. The log files in the file storage folder could be stored as .gz
 +
 +
== scp sync ==
 +
Similar to that of an FTP client from the queue folder.
 +
 +
== Mail server ==
 +
Similar to the FTP/scp sync, a polling script could be written to check the IMAP server and bring in the attachments.
 +
 +
= Storage =
 +
== Values to be maintained in the db ==
 +
== flat file ==
 +
== Db Schema ==
 +
 +
= Things needed to be scrapped from the user for the analysis =
 +
== User-end tools ==
 +
== Other data needed for analysis ==
 +
= Handling of data for various nodes =
 +
 +
= Scripts =
 +
== FTP/scp sync ==
 +
== FTP/scp verifier ==
 +
== IMAP sync ==
 +
== IMAP verifier ==
 +
== files to db ==
 +
== http-push ==
 +
== ftp-push ==

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Retrieved from "https://brlcad.org/wiki/SJ1"