Why was the RethinkDB chosen as DB for the DeviceFarmer? #537
-
Greetings, this time I have a question about a design choice: why do you use a rethinkDB for your core database? I am a bit firm in postgreSQL and, after I had to revive our DeviceFarm's rethinkDB, in that too. But recently I was asked why the Devicefarm does use a RethinkDB and not a PostgreSQL... and wasn't able to answer that. That question came from the "monitoring department", which seems to be unhappy that they can't monitor the RethinkDB not as good as a PostgreSQL (something about limited recordsets and the document based structure). Also, a ticked was already spawned in which it's requested to switch to a PostgreSQL But I am lacking any useful arguments, beside that it is a huge undertaking and would require a fork from your repository. So, beside the work necessary to switch to another DB, what does the RethinkDB offer that makes it the best choice for the Devicefarm? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@ConfusedMerlin , In addition, you should know that the device reservation system relies heavily on the "changefeeds" mechanism of In any case, |
Beta Was this translation helpful? Give feedback.
-
This means that Also, I confess that I'm personally not a big fan of SQL databases, but if such a database were to be supported, it would require a deep rewrite of the STF code which is very much closed to So at present, given the complexity of such development with the risks it means to existing deployments and considering that obviously your need to migrate to |
Beta Was this translation helpful? Give feedback.
@ConfusedMerlin ,
This choice is historical and goes back to the initial
OpenSTF
project, I guessrethinkdb
was chosen because of all the advantages offered by noSQL databases precisely.In addition, you should know that the device reservation system relies heavily on the "changefeeds" mechanism of
rethinkdb
, to see if this is available inpostgreSQL
?In any case,
postgreSQL
support could be considered but as an alternative and not as a replacement forrethinkdb
.