I am working on RethinkDB and Golang and completely new to these two Technologies/Database.
Note
GOLang driver - I am using this driver for connecting rethinkDB.
Problem
There is no onChange on a table functionality in this driver.
Note - OnChange functionality is available in rethinkDB.
Any suggestion of golang driver which supports rethinkDB onChange.
Thanks in advance
Sorry for the delayed reply I dont check StackOverflow as often as I should.
GoRethink actually does offer support for Changefeeds. Unfortunately the documentation is currently a bit lacking and I hope to work soon, until then I recommend having a look at the tests. Hopefully that should give you an idea on how to use them.
https://github.com/dancannon/gorethink/blob/master/query_table_test.go#L215
If you have any further questions regarding change feeds or any other issues with the driver let me know.
That Go driver is provided by a third party and as you note they do not seem to have yet added support for changefeeds. It is hosted on GitHub, so you could file an enhancement request. There is recent activity in their repository, so there is hope that they will add it.
Related
I'm working on optimizing an app that interfaces with Parse.com and was wondering if anyone knew of a way to monitor/log all connections and/or queries executed.
I've looked through the documentation and clicked around and can't see anything readily available so hoping someone can help.
Thanks
I would like to use Meteor (Node.JS) to develop an application that will be used by 3,000+ concurrent users on a large size database.
I have looked at the nice examples and the idea to push changed data to the clients is very nice and very useful, but before I start the development I want to be sure how it works behind the scenes to be sure that when I have the application running with all these users it work fast with standard hardware.
I also require this to use Oracle as a database, but not sure that it is supported and if not, what are the requirements from an Oracle package to enable this facility.
I think that the server is having an active on going non-blocking query on the OPLOG table in mongodb and that is how we get the callback for all the changes in the database. Is that correct ? if so, is there a similar way to do it in Oracle ?
Thanks Roni.
I also require this to use Oracle as a database, but not sure that it is supported and if not, what are the requirements from an Oracle package to enable this facility.
Nope, meteor is currently mongo-only as they have implemented an in-browser library called minimongo. My guess is this project will never support oracle, but who knows. There is no mention of oracle support on the meteor project roadmap
Just happened to come across this question while searching at google.
However, if there are no native solutions. We can always figure out a way for a medium language to issue publishing.
Example Case:
Python will be used for synchronising data between Mongodb and Oracle (24/7 operation using cx_Oracle and MongoDB drivers from python)
Meteor Server will keep watch on what to publish
Meteor clients/browsers that subscribed to the channel that will be updated with oracle data.
I'm developing FB app on Heroku, using Ruby, Sinatra and Mongo. I think that sharing database connection is a good idea but I don't know how it looks on production.
I'm not sure where you have looked or researched.
In addition to #Stennie's link above, check out the following links -
Look at the actual source code of the ruby driver on github. There's ample information there, including a section and an example of connection pooling.
Check out the overall ruby driver information
Some notes on pooling within the drivers.
See also this question answered by the original Ruby driver author on So.
If you're not using connection pooling, you may see the following messages in your logs.
I am using the oAuth library for Codeigniter made by Alex Bilbie. It is made for MySQL.
Has anyone used it with MongoDB? I will try to "convert" it to MongoDB but there are som many files in the repo and only few of them is needed for the server setup.
Does anyone know if there is a ready made Mongodb of this repo and / or which files that
is the bare minimum for a server only setup?
Repo:
https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server
Thankful for all input!
This doesn't exactly answer your question but it might be what you're looking for.
Funnily enough Alex has already created a mongodb active record driver for CI. You will probably have a much easier time converting it to using this than anything else I'm guessing.
Blog
http://archive.alexbilbie.com/2010/04/17/a-codeigniter-active-record-library-for-mongodb/
Bitbucket
https://bitbucket.org/alexbilbie/codeigniter-mongo-library/wiki/Home
If you do get around to making a conversion github it and link here please :)
Supposedly ReportsAnywhere will talk with MongoDB to generate reports. I am not sure if it is using the JDBC driver or a different method. Hoping someone can help me on how to set up reports anywhere database driver/connection to mongodb?
So the ReportsAnywhere author makes mention of building such a product here. Based on his description, this is no using a JDBC driver but pulling data via the native driver.
It looks like he did a presentation at MongoBerlin in October 2010, unfortunately, I cannot any videos / slides from the presentation. The website is also completely devoid of examples.
Given that ReportsAnywhere is a paid-for product and this is an advertised feature, your best bet may be to go directly to ReportsAnywhere. Maybe you'll get lucky on SO, but I would definitely contact their team directly. Looks like Hans, the creator, is also available on twitter.