Quick and Easy Cluster Metadata Server using Python and Pyro4
In the Test Engineering department at DataStax, Python is frequently used for test infrastructure, especially in clustered environments. To access shared cluster metadata directly from Python, a single Python metadata object can be created at a central location and easily accessed from any node of the cluster using Pyro4. This allows Python code running on one machine to call native Python code on another machine. By installing Pyro4 on each node of the cluster and setting up a nameserver and metadata server, remote Python objects can be used across the nodes. The Metadata class is used to create a metadata object that can be accessed by other nodes in the cluster after being registered with the nameserver. This method provides fast setup, easy use, simple maintenance, and straightforward addition of new operations.
Company
DataStax
Date published
May 27, 2014
Author(s)
Michael Allen
Word count
707
Hacker News points
None found.
Language
English