This article describes how to run multiple GenRocket Partitioned instances.  

Launching the GenRocket Realtime REST Engine

The partition engine runs from within the GenRocket Realtime REST Engine;  so, the first step, is to open a command line terminal and launch the GenRocket Realtime REST Engine.   

genrocket -T <portNumber> -d


  • genrocket -T 8181 -d

Partition Request URL

Use the following URL to request that the GenRocket Realtime REST Engine launch a set of partitions:



Launching Partitions Using Curl Command

If partitions need to be launched from a command line script, then using a curl command on Linux and Unix machines is a good solution.  The following example shows the partition engine being launched using a curl command (you'll want to copy and paste the curl example into a local editor to get a full view of the one line command).

curl -H "Accept:application/json;" -H "Content-Type:application/json" -d '{
    "numberOfRecords": 100000000,
    "numberOfServers": 1,
    "instancesPerServer": 10,
    "serverNumber": 1,
    "scenarioPath": "/Users/guest/Scenarios/Partition/",
    "scenario": "UserScenario.grs",
    "attributes": [
}' http://localhost:8181/grRest/partition

Launching Partitions Using the Advanced REST Client

Use the web developers helper program of choice, The Advanced REST Client (ARC), or any other REST client to send a request to the GenRocket Realtime REST Engine to launch a set of partitions.

Example: Using ARC and a Mac computer.