Site Map Register Lost Password Alerts Systems Status   Web logs: News Risk Commentary   Login >

The RCRT XML-Space

XML-Space Examples

RCRT Home > Our Software > Grid Computing > XML-Space > Examples rss feed
 
Page Navigator
 RCRT Home
   About Us
   Our Services
    Our Software
       Grid Computing
         Stibium
          XML-Space
            Introduction
            The XML API
            Examples
               XML Ping-Pong
               Hypersphere
               Enigma Cracker
               Gavonts
               AJAX Primes
            Documentation
            Distribution
            Releases
         Exciton
      CamAims Apps
      Risk Software
      Excalibur
      GRASP
      Licensing
      Support
   News & Updates
   Risk Management
   Grid Computing
   About This Site
   Presentations
   Documents
   On-Line Tools
   Information
   Contact Us
   Downloads
   Your Account
   Site Auditor
 
 
Other Links
Post A Message
 
 
Site Hits: 412570 Pages
From: 272196 Sessions

Some XML-Space Examples

A number of examples of the use od xml-space are available on-line, source-code has also been included for the simpler cases.

  • Example 1 - 'XML Ping Pong' - xml messages are passed backwards and forwards between two xml-space clients.
  • Example 2 - A Monte-Carlo simulation to compute the (hyper-)volume of a hypersphere.
  • Example 3 - Breaking the 'Enigma Code' by brute force using xml-space parallel processing.
  • Example 4 - GAVONTS genetic optimisation - the creation of a 'lunar lander' control system algorithm.
  • Example 5 - 'AJAX Primes' - Uses the processing power of connected web browsers to find prime numbers.

» Example 1 - XML 'Ping Pong'

In This example a pair of 'ping' and 'pong' xml messages are repeatedly exchanged between two distributed xml-space clients. Here, the xml-space 'command' documents are constructed explicitly in the example source-code.

In this example, xml messages are selected and extracted purely on the basis of their space-entry 'xtype'. More ...


» Example 2 - Computing The Volume of A Hypersphere

In this example, we compute the (hyper-)volume of an N-Dimensional hypersphere using parallel monte-carlo integration. This is a simple example of an xml-space parallel processing simulation algorithm.

We compute hyper-volumes for 2, 3, 5, 10 and 20 dimensional (hyper-)spheres, and compare the results to values obtained from direct analytical calculations. More ...


» Example 3 - Breaking The Enigma Code

This example shows how the xml-space can be used to solve a problem from classical cryptography - breaking the 'Enigma Code', by brute force, using parallel processing techniques.

This implementation uses a simple master-worker processing pattern - a 'master' inserts decrypt jobs into xml-space, many workers then compute and assess possible 'decrypts' in parallel. The best decrypt candidates are ranked, and returned the 'master'. More ...


» Example 4 - A 'GAVONTS' Genetic Algorithm Meta-Model

This example describes how we use xml-space to implement our GAVONTS Technology - Genetic Algorithm Vector Optimised Nonlinear Transformations.

This is a 'meta-model' for tackling a wide range of non-linear problems by using 'virtual-evolution'. We apply the principles of natural selection and survival of the fittest to the creation of mathematical solutions to non-linear problems.

GAVONTS is extremely computationally intensive, so to handle this computational burden, we use xml-space parallel processing techniques. More ...


» Example 5 - 'AJAX Primes' - Web Browsers Finding Prime Numbers.

This example illustrates the use of the AJAX xml-space connector, together with a technique that the author has dubbed the 'cyber-squirrel pattern'.

In this example, a script is embedded within a web page, which temporarily 'borrows' some of the processing power of any connected web browsers, and uses them to search for prime numbers.

When the web page is opened by a browser, a javascript script is loaded and run by the browser. This script connects to xml-space using AJAX and extracts a 'job', which is then run within the browser's local scripting environment. The results are then returned to the xml-space, and stored. More ...


 
© Risk-Capital Research and Technology | Site Map | Legal Info | Accessibility | About This Site