Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 967 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 967 Bytes

Metable

A distributed table-like metadata service for managing your large scale cluster with highly performance.
Note that this project is WIP.

Features

  • Managing your meta data/cluster information with SQL-like language.
  • The ability to subscribe the changing operations on a table.
  • State-based storage and delta notifications to let you keep a very consistant metadata.
  • P2P service registration and discovery to achieve a higher performance.
  • Highly performance for adhoc querying the metadata.

Usage

# Node1
create table A (
    int id,
    string message
);
# Node2
let func1 = (schemaof(A) record, event) {
    print record, event;
};
sub table A on RECORD_INSERTED, RECORD_DELETED with func1;
# Node3
let func1 = (schemaof(A) record, event) {
    print record, event;
};
sub table A on RECORD_INSERTED, RECORD_DELETED with func1;