tarantool / jepsen.tarantool

Jepsen tests for Tarantool
https://www.tarantool.io/en/
Other
7 stars 0 forks source link

Access to Tarantool via SQL and using connector #53

Open ligurio opened 4 years ago

ligurio commented 4 years ago

There are two interfaces to access to data in Tarantool: using SQL and connector. I suppose we should make two flavors with each Jepsen tests to use both interfaces. Such approach used, for example, in tests for Yugabyte, that has ycql and ysql (https://github.com/jepsen-io/jepsen/tree/master/yugabyte/src/yugabyte)

Tarantool clients on Clojure:

Initial commit includes methods from a native Clojure connector, but these methods was never used - https://github.com/tarantool/jepsen.tarantool/commit/1b76c83c7cff5021a25a14bea4ff6525aac8853c#diff-9833d33163e019f95895e621c02b2bb5f1c883552d6bf83409de649b98ee2f3f

Totktonada commented 3 years ago

(I had intention to write this issue myself and then found your one :))

I like the idea about splitting different ways to access data (we can even call them different query languages in a very general sense). It seems, the main point of this issue is the following:

For the sake of completeness, I see the following possible 'query languages' worthful to test in a future:

Since you mentioned known Clojure connectors, I assume that you also consider the following blocks of work:


I'm thinking around implementing our own tiny connector, because it should be simple:

As result of this simplicity it may be very stable.

I would investigate existing solutions first, though. Maybe they're okay for us or requires only small improvements. Maybe they're stable enough.