MongoDB (from "humongous") is an open source document-oriented database system developed and supported by 10gen.
0
votes
0answers
10 views
Mongodb update using Java [migrated]
I need help in updating MONGO DB. here is my document:
Functions : {
"cgi0-app" : {
"calculatedConfigValues" : {
"floor" : 0.0 ,
"ceiling" : 49.0 ,
...
1
vote
0answers
82 views
How to choose which schema design for a tree structured domain model
I have the following classes that I want to store.
public class StorableObject
{
public string Id { get; set; }
}
public class User : StorableObject
{
public string Name { get; set; }
}
...
0
votes
0answers
56 views
which of the following mongo documents structures are more suited for storing business rules for a loyalty program?
I have been going through MongoDB to evaluate it as an option for storing business rules which are to be applied before we calculate reward for an end-user. The platform in questions is a loyalty ...
1
vote
1answer
158 views
How to model hashtags with nodejs and mongodb
Existing architecture: nodejs server with mongodb backend.
I have strings coming in describing images that can have #hashtags in them.
I wish to extract the hashtags from the strings, store the ...
-1
votes
1answer
94 views
What are techniques used to make scalable, fast databases? [duplicate]
I'm studying the differences between NoSQL and SQL. If I understood correctly, there are two main techniques to optimize a database:
Indexing rows. Say you wanted to make a query such as WHERE x = 1 ...
2
votes
1answer
117 views
Should I / can I bundle node.js and mongod together with my application?
I'm working on a web application that runs on node.js and uses MongoDB. It's important to mention that I plan to release the application as commercial software. The way I wrote the installer, it asks ...
0
votes
0answers
23 views
mongo analytics strategy
Currently we have one mongodb replica set that we store all of our data in. Our appliation collects tons of analytics and its important that we keep the stats on the frontend side up to date for ...
1
vote
1answer
76 views
Sub-Resource data should be embedded in Resource entity or duplicated in NoSQL document?
I have a scenario similar to as depicted below,
public class Post {
private int id;
private int postType;
private int score;
private User originalPoster;
private String title;
...
0
votes
0answers
147 views
design pattern to expose MongoDB to REST api?
We are setting up something like a document library on Amazon AWS. The architecture is basically 1. AMI server running MongoDB 2. A bunch of PDF documents on elastic block storage 3. Some server-side ...
2
votes
1answer
195 views
Node.js API Architecture
I am currently working on a web app and want to design the interface between nodejs / mongoose and the backbone app.
A short description of the app:
A user signs up to the application and gets a ...
5
votes
3answers
267 views
DDD - Aggregate Roots - Dealing with Efficiency and Concurrency
First off, I'll admit that I'm a newbie to DDD and need to read the "blue book".
I'm building a system that has an AggregateRoot of type "Match". Each Match can have a collection of "Votes" and also ...
1
vote
1answer
354 views
Why would I use Redis? [closed]
I am currently using Node, Express and MongoDB (with Mongoose) as a datastore, I hear Redis is a persistant Memcached, but why would I use this? Is Memcached better if I'm using Mongo?
What's its ...
2
votes
1answer
349 views
What is the recommended MongoDB schema for this quiz-engine scenario?
I'm working on a quiz engine for learning a foreign language. The engine shows users four images simultaneously and then plays an audio file. The user has to match the audio to the correct image. ...
3
votes
2answers
478 views
Document-oriented vs Column-oriented database fit
I have a data-intensive application that desperately needs a database make-over.
The general data model:
There are records with RIDs, grouped together by group IDs (GID). The records have arbitrary ...
2
votes
1answer
147 views
In-memory DB to perform intersects on set slices
I have a specific programming need where I need to efficiently store large sorted sets in memory, query them for ranges, and intersect them against other sets that are also queried for ranged.
I am ...