Support for PostgreSQL as alternative to MongoDB
Elephants don't fly, most of the time: http://meteor-postgres.readthedocs.org https://github.com/meteor/postgres-packages
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
More context in https://about.gitlab.com/2015/08/22/gitlab-7-14-released/ To ship in 8.0 we need something to integrate around September 7 I think (@maxlazio knows more) so that will be really tight. Alternatively we can ship in 8.1. Please keep us posted.
http://info.meteor.com/blog/an-early-look-at-sql-in-meteor
Some approach to consider http://www.postgresql.org/docs/9.4/static/datatype-json.html
An early look at SQL in Meteor https://forums.meteor.com/t/an-early-look-at-sql-in-meteor/8736
More people wanting this to happen https://github.com/RocketChat/Rocket.Chat/issues/639
+1
Mongo can be a pain and can be very expensive to scale in the cloud. At least allowing to swap the data store to AWS DynamoDb (also noSQL as a scalable Db-as-a-service) would alleviate some of this for large deployments or in an enterprise setting. But PostgreSQL 9.3 would work too.
We found a few temporary road blocks that the our team is having to deal with.
- Meteor is yet to release the official support to SQL, so we are playing only with alpha implementations at this point. That means that some of the core packages, like the accounts, don't work 100% with SQL yet. We are patching what we can to make it work, and hopefully can contribute something back to the to meteor master branch. https://github.com/RocketChat/Rocket.Chat/compare/postgresql
- The third party packages we use, also do not support SQL yet, for obvious reasons. We are creating an abstraction layer that overwrites some meteor APIs to make they work without having to fork them (at least most of them) using https://github.com/goodybag/mongo-sql
- We are refactoring the all the source code to isolate all DB calls into a package. The idea is to turn it into a replaceable package with the DB of choice. This should be finished this week. https://github.com/RocketChat/Rocket.Chat/compare/models
Still early days to commit to a date.. but I'll update this issue more regularly on our progress.
@engelgabriel thanks for the update!
Any updates?
Any update on this?
We finished to isolate all DB calls into a package, and now it is helping with the multi tenant support. Once that's done, will jump back into this issue with MDG to get the work done.
Hi @engelgabriel what is the ticket with the multi-tenant support? Is that #404?
no @sammcj it is https://github.com/RocketChat/Rocket.Chat/issues/658
Thanks @engelgabriel , great work :+1:
+1
+1
+1
We are starting right now:
https://github.com/RocketChat/meteor/tree/release-1.3-refactor-model-layer-v1
Stay tuned :wink:
Fantastic!
All the best and thank you again.
On 4 Feb 2016, at 8:19 AM, Gabriel Engel [email protected] wrote:
We are starting right now: https://github.com/RocketChat/meteor
Stay tuned
— Reply to this email directly or view it on GitHub.
Eagerly waiting for it ... :smiley: