The tingDB database service