async mode db & ws