verdict-project / verdict

Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing
http://verdictdb.org
Apache License 2.0
248 stars 66 forks source link

Verdictdb on postgresql and concurrency #389

Closed AdaZheng98 closed 4 years ago

AdaZheng98 commented 5 years ago

I couldn't find any information about concurrency in the documentation, is it supported? In my application, I have several clients selecting from the same database at the same time. How can I achieve this using verdictdb?

pyongjoo commented 5 years ago

Your database must support concurrent queries. If so, you can simply issue multiple queries concurrently using threads in your application.

FYI, some databases process queries one by one; then, of course, there is not much stuff we can do about it.