[keycloak-user] Considering removing Mongo support

Stian Thorgersen sthorger at redhat.com
Wed Dec 14 00:32:48 EST 2016


You can't go wrong with Oracle (other than price obviously) and PostgreSQL
is a good database as well. That's my 2 cents at least, but then again I'm
not a db guru ;)

On 3 December 2016 at 10:09, Byte Flinger <byteflinger at gmail.com> wrote:

> Does that mean that the only supported backends would be SQL databases? I
> have recently started to look into Keycloak and I was thinking that Mongodb
> support was nice for scalability as it can be sharded, something SQL dbs
> cannot. Wouldn't that mean giving up on scalability for large deployments?
>
> Are there plans to support any other more scalable type of database such
> as Cassandra?
>
> On Fri, 2 Dec 2016, 11:30 Stian Thorgersen, <sthorger at redhat.com> wrote:
>
>> All,
>>
>> We are considering removing Mongo support from Keycloak in 3.x. The
>> reasons
>> behind it is that there are a fair few issues in the current
>> implementation, especially around consistency due to lack of transaction
>> support in Mongo and often we update multiple documents. In many cases we
>> rely on transactions to rollback to prevent partial updates, but this
>> obviously doesn't work in Mongo.
>>
>> With the fact that Mongo is already partially broken and the constant
>> maintenance involved we're considering removing it and rather focus purely
>> on the relational database back-end.
>>
>> Another point to make is that we are not considering supporting Mongo in
>> the supported version of Keycloak (Red Hat Single Sign-On). So we are
>> never
>> able to provide the same level of care and attention to it as we can for
>> relational databases.
>>
>> If we do decide to remove it we would make sure we provide a seamless and
>> easy option to migrate from Mongo to a relational database!
>>
>> I would like to gather some feedback from the community before doing
>> anything. So please vote on the following Doodle:
>>
>> http://doodle.com/poll/nnimebpkx774ppus
>>
>> Also, comments to this thread is more than welcome!
>>
>> I'll end with a comment - Time spent by core developer on maintaining
>> Mongo
>> could be better spent on awesome new features, testing and bug fixing!
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>


More information about the keycloak-user mailing list