isolates db streaming from twitter streaming