RPC communication via JSON RPC 2.0

The implementation

The RPC functionality is provided by the gemstone.TornadoJsonRpcHandler. It is important to note that the methods are not executed in the main thread, but in a concurrent.features.ThreadPoolExecutor.

In order to create a basic microservice, you have to create a class that inherits the gemstone.MicroService class as follows

import gemstone

class MyMicroService(gemstone.MicroService):

    name = "hello_world_service"
    ...

Check out the gemstone.MicroService documentation or Creating a microservice for the available attributes

Public methods

TODO

Private methods

TODO

Interacting with the microservice

TODO

Interacting with another microservice

TODO

FAQ

TODO