Mattermost, Inc.

How to run Mattermost with RethinkDB instead of MySQL?

Cross posted from: https://github.com/mattermost/platform/issues/70 by https://github.com/kamilion

What’s the best way to get rid of the mysql dependancy in the dockerfile and rely solely on rethinkdb for storage and changes()?

I can see that most of the structures in go are already using json to describe objects.
In general, I would expect rethinkdb to be able to take over for mysql’s storage and using redis to broadcast changes by using using @dancannon’s gorethink Go bindings to access rethinkdb’s changes() api.

I’m not all that familiar with Go’s syntax, but I could take a stab at an ugly PR if nobody else wants to.

1 Like