i am currently developing a rails3 app with mongomapper and file storage in gridfs.
after some trying around, i found grip and currently also use it in the app for storing the data. so far, so good - now i am trying to get my head around serving the files to the user -- what would be the best/fastest way to achieve that?
from:
http://ra...
Is it a good idea to use MongoDB in .NET desktop application?
...
I have a collection of articles in MongoDB that has the following structure:
{
'category': 'Legislature',
'updated': datetime.datetime(2010, 3, 19, 15, 32, 22, 107000),
'byline': None,
'tags': {
'party': ['Peter Hoekstra', 'Virg Bernero', 'Alma Smith', 'Mike Bouchard', 'Tom George', 'Rick Snyder'],
'g...
Object databases like MongoDB and db4o are getting lots of publicity lately. Everyone that plays with them seems to love it. I'm guessing that they are dealing with about 640K of data in their sample apps.
Has anyone tried to use an object database with a large amount of data (say, 50GB or more)? Are you able to still execute complex...
I need to connect to a MongoDB instance from my EJB3 application, running on glassfish 3.0.1. The Mongo project provides a set of drivers, and I'm able to use them in a standalone Java application.
How would I use them in a JEE application? Or maybe better phrasing: how would I make a 3rd party library available to my application when i...
Anyone knows a good tutorial for using Mongodb or MongoMapper with Ramaze?
Thanks
...
I'm looking for good tutorial or really simple code to integrate mongokit and django
...
I am working on a pretty simple web application (famous last words) and am working with Rails 2.3.5 + MongoMapper 0.7.2 and using embedded documents. I have two questions to ask:
First, are there any example applications out there using Rails + MongoMapper + EmbeddedDocument? Preferably on GitHub or some other similar site so that I can...
Since Cassandra doesn't have MapReduce built in yet (I think it's coming in 0.7), is it dumb to try and MapReduce with my Python client or should I just use CouchDB or Mongo or something?
The application is stats collection, so I need to be able to sum values with grouping to increment counters. I'm not, but pretend I'm making Google an...
Has anyone have any idea how to use MongoRegex for the document search?
I attempted this, but returns nothing back:
var spec = new Document();
spec.Add("Name", new MongoRegex("/" + searchKey + "*/", "i"));
collection.Find(spec)
Wondering why it doesn't work, I tried to execute following command from the console:
db.things.find({"Nam...
Hi,
The limitation of one document in MongoDB is 4Mo. I have some documents really heavy with a lot of data.
How I know my document's size inside MongoDB with the ruby driver ?
...
On a new project I need a hard use of lucene for a searcher implementation. This searcher will be a very important (and big) piece of the project. Is valid or convenient replacing Relational Database + Lucene with MongoDb?
edit: Ok, I will clarify: I'm not asking about risk, I can pay that price in this project. My point is: Is MongoDB ...
just installed mongokit and can't figure out why I get AssertionError
python console:
>>> from mongokit import Connection
>>> c = Connection()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/mongokit-0.5.3-py2.6.egg/mongokit/connection.py", line 35, in __init__
...
I have a date with a time. I'm using ruby, but the language shouldn't matter.
d = "2010-04-01 13:00:00"
What is the best way to format this date for Mongo DB? By 'best' I mean, is there a certain format I could use where Mongo would recognize it as a date and might give me more-advanced filtering optons?
ie: If formatted correctly, c...
Hello, I am beginning to think that my next project I am wanting to do would work better with a NoSQL solution. The project would either involve a ton of 2-column tables or a ton of dynamic queries with dynamically generated columns in a traditional SQL database. So I feel a NoSQL database would be much cleaner.
I'm looking at MongoDB ...
I have read a lot lately about 'NoSQL' databases such as CouchDB, MongoDB etc. Most of the websites I have seen using this are mainly text based websites such as The New York Times and Source forge.
I was wondering if you could apply this to websites where payment is a huge issue. I am thinking of the following issues:
How well can yo...
I wonder if it is possible to run MongoDB on iPad as it is or do I have to port it to iPhone OS?
...
I wrote these lines in My Application start event:
var mongo = new Mongo();
mongo.Connect();
var blog = mongo.GetDatabase("Blog");
mongo.Disconnect();
but on this line: mongo.Connect(); it gave me this error:
No connection could be made because
the target machine actively refused it
127.0.0.1:27017
I am a beg...
I am using MongoDB v1.4 and the mongodb-csharp driver and I try to group on a data store that has more than 10000 keys, so I get this error:
assertion: group() can't handle more than 10000 unique keys
using c# code like this:
Document query = new Document().Append("group",
new Document()
.Append("key", new Document().Append("myfieldn...
Hello,
After hearing so many good things about MongoDB's performance we decided to give Mongodb a try to solve a problem we have. I started by moving all the records we have in several mysql databases to a single collection in mongodb. This resulted in a collection with 29 Million documents (each one of them have at least 20 fields) whi...