MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms. Questions about administrating it can be asked on dba.stackexchange.com
2
votes
0answers
48 views
Upload, convert, and store multiple different product data feeds into a database
I'm not sure if this right location for this question, but here it is.
I currently have about 30 different CSV or TXT product data feeds. I am trying to build a tool to
1) upload each feed
2) ...
2
votes
2answers
77 views
Is it appropriate to use id-s in MongoDb subdocuments?
I'm currently familiarizing myself with NoSQL by building a simple web application using MongoDb with the official C# driver. If i have understood the NoSQL concept correctly, then only the aggregate ...
0
votes
0answers
16 views
How do I do a custom sort in MongoDB? [migrated]
My usecase is this:
I have a collection of People who want to move to certain cities:
People {
cities: ['London', 'Denver', 'Tokyo']
}
The order of the cities tells me which city they prefer the ...
2
votes
1answer
59 views
How do I represent a schema diagram of my MongoDB database?
I have a MongoDB database that I want to properly document its schema design. I know that MongoDB is a NoSQL database and is schemaless by nature, but I do enforce a schema through my application and ...
1
vote
0answers
34 views
Is it OK to use mongodb's query object format as a parameter for my api?
I am designing an api that can give developers read-only access to a large dataset. The data is stored in a mongodb database.
All the results of the api, will basically either be a count of matches ...
2
votes
3answers
69 views
How to properly store messages in a webservice?
We are building a multitenant webservice with PHP and MongoDB. There is a need for communication between service employees and clients, communication can be established in many different ways. Some of ...
0
votes
1answer
26 views
Copying/cloning MongoDB database from production to development
I am struggling to find a good way to copy over our production MongoDB database to overwrite our development database on demand. db.copyDatabase doesn't work from the command line using mongo-cli. Is ...
1
vote
0answers
30 views
How to implement partial normalization while keeping data integrity across documents
I've been researching how to properly design a mongo schema and came across this blog post on their site: http://blog.mongodb.org/post/87892923503/6-rules-of-thumb-for-mongodb-schema-design-part-2
...
2
votes
1answer
74 views
Should I use MongoDB for reference data?
I have a need to implement a number of microservices that will provide validation and lookup services. Each will hold independent and (essentially) read-only reference data. In each case, the data ...
1
vote
1answer
62 views
Storing PageViews Count Data in MongoDB
I would like to ask for feedback for some programming logic concept & ideas. I am building a site where i would like to keep track on how many pageviews a page has daily. I have thought of 2 ways ...
1
vote
0answers
83 views
Authenticate Joomla User from an External App based on Node.js, Javascript and mongoDB
I have an iOS App which currently pulls in all the data from the MongoDB using a Node JS server. Currently my API / my node server handles all the data manipulation the iOS app/Swift only displays the ...
1
vote
2answers
79 views
Sign up user using Microsoft Exchange Account in Node.js MongoDB
I have a question about whether a programming technique is at all possible.
Most of the apps these days come with sign up with Facebook, Twitter or gmail functionality.
My company has its domain ...
1
vote
1answer
102 views
Expert advice needed for a NoSql Database
At our company, I have been given the task to develop a Mobile Application (iOS, Android and in the future, maybe Windows).
Given those devices, it's likely that we'll have a high number of ...
2
votes
3answers
169 views
Help me design this use case
I have following entities:
Data:
User_id
Categories: Interests, Disinterests, Categories A, B C...
Each categories have sub categories: Interests=Gaming, Physics, Programming etc..
Now each user ...
4
votes
0answers
97 views
inserting json document with `.` in key to mongodb
Firstly, this is more of a design question than a programming question.
I am creating an application where I have to fetch existing json data and insert it into mongoDB. I found that some of the the ...
0
votes
3answers
199 views
What is the best way to go about storing application options: file system or db? [closed]
We are looking to find the best way to store user options (skills, degrees, industries, languages, etc.) for drop downs. The options are between a JSON file we can store on the server file system or ...
2
votes
1answer
145 views
Best-matching comparative values using all items in array
I have two arrays of objects (items) in the exact same format. Each item represents a wager, and each array represents one of two outcomes for that wager (ex: Team A vs Team B). Both arrays look ...
0
votes
0answers
36 views
Synchronizing content between web-based app and game server
I have a MUD server, written in C, that I'm trying to move from file-based storage to MongoDB. Eventually, I'd like to offload administration of game content and settings to a web console, written in ...
0
votes
0answers
174 views
Is this MEAN stack design-pattern suitable at the 1,000-10,000 user scale?
Let's say that when a user logs into a webapp, he sees a list of information.
Let's say that list of information is served by one of two dynos (via heroku), but that the list of information ...
4
votes
3answers
167 views
Algorithm that generates a group of men and women who are each interested in everyone from the other gender
In my dating app, I need to compile lists of men and women where all of the men in the list are potentially interested in all of the women in the list, and vice versa.
That is, in a list of 10 men ...
0
votes
1answer
75 views
Planning complex Mongo (And possibly other NoSQL) Databases
There is no "right way" to do anything, but there are "better" and "worse" ways, as well as true and tested ways.
I'm studying Mongo and considering it for a project. It's gonna start small but ...
1
vote
0answers
87 views
Code structure with MongoDB in python
I am new to MongoDB and python. I know how to make basic use of pymongo in order to manipulate documents.
I am having trouble finding how to create some structure or governance in what gets inside ...
1
vote
2answers
105 views
What is better for scalability for this specific dataset, MongoDB or MySQL?
I have a web app which has users, forms, and volunteers signed up on those forms.
Currently I am using MongoDB and have it setup with a collection for admins, and a collection for forms with ...
0
votes
1answer
76 views
Can I include mongod.exe in my commercial destop based or user self hosted app withou open sourcing it?
I have read the doc and the apgl blog post, but I still have some concerns:
Can I include mongodb.exe in my commercial desktop based app?
Can I include mongodb.exe in my commercial user self hosted ...
1
vote
0answers
87 views
How to consume inconsistent REST API with Mongo DB backend?
We are using a third party REST API and we are building one of the pages on our ASP.NET site around the data it delivers. We get results in JSON, and interact with it mostly using .NET MongoDB Driver.
...
2
votes
4answers
493 views
Are NoSQL databases the best choice for more efficiently querying large amounts of data?
We are planning to build a travel website in which we will be integrating multiple APIs (eg. DOTW, GTA, Expedia) for Hotels. I have initially tried to use MySQL but since there are huge amounts of ...
0
votes
0answers
71 views
Syncing different nosql datasources efficiently
I have two dbs I am dealing with right now - Elasticsearch and Mongodb. Mongodb is legacy in the application in that I am not happy for its presence but it is there and in use, I am interested in ...
0
votes
1answer
921 views
Design Pattern for Cron/Schedule in MongoDB
I am looking for a good pattern to handle cron-type data in a MongoDB collection (or collections). I have been peeking at the O'Reilly book MongoDB Applied Design Patterns and poking around the ...
0
votes
0answers
32 views
I have two applications… use NoSQL or RDBMS? [duplicate]
I have two applications in the making: one is a budget management tool; the other is a article based places/restaurant guide.
The budget management tool works where users create accounts (e.g. bank ...
0
votes
1answer
93 views
How to determine which service to call
I have modeled my application using multiple 'user' domain objects.
Candidate
Recruiter
Administrator
Each entity extends from an AbstractUser implementing UserInterface.
interface UserInterface
...
2
votes
1answer
86 views
Proper tree NoSQL structure with focus on full-text searching
I developing an app with tree(folder-file) structure, on which I should perform full-text searches with MongoDB. I did a research on the best tree structure practices and found this great article, but ...
5
votes
1answer
4k views
Architecture for a mobile (Android) chat application
I want to develop a chat application that reminds a bit whatsapp, I am doing it as a learning project. I am currently doing it on Android just because I am doing an Android course.
The requirements ...
1
vote
0answers
98 views
Decreasing MongoDB Load
I have some stream workers. They are listening to twitter stream and save into mongodb. I need to aggregate saved tweets for intermediate analyze result. I have analyzer workers. They are periodically ...
1
vote
1answer
234 views
database migration with data already in the database in production
I don't know much about migrations, but this is a specific question I'm not sure how to answer.
In production, how can one change the database format/schema when there is already user data in there? ...
-1
votes
1answer
161 views
mongoDB user management (built in or own implementation) [closed]
I started to evaluate mongoDB for a product catalogue.
Regarding user management and access control: When to use the mongoDB's built in user management and when build one on the application layer?
...
1
vote
2answers
161 views
When should I implement authentication in a database?
I'm currently embarking on a MongoDB project (a simple user login system), and I notice that there is an option for authentication. Here is the server string, with the userinfo shown as optional ...
2
votes
1answer
7k views
How to connect Android App to MongoDB deployed on Google Cloud
Currently I am working on a simple app which will be able to connect to MongoDB which is deployed in Google Cloud. I have set it up MongoDB ocaly on my computer and I have made a little JAVA console ...
1
vote
1answer
447 views
MongoDB Embedded vs Reference Private info
I have searched extensively for a similar Mongo schema design and can't find relevant examples.
I have a store (with public info), each store has an account (with private account info).
// store ...
4
votes
3answers
551 views
Is MongoDB appropriate for systems that will be likely to change?
I've been using MongoDb (mainly with Meteor) and for me, it has been a great way to mock up prototypes and proof of concepts quickly.
I'm just wondering, after building the initial product, if your ...
0
votes
3answers
121 views
Help with database design with a strict and structured subset of clinical data
I'm developing an application to keep some of the data in chronic patients, the data came from a very strict subset of data, vital signs, exams, ecc.
On a first glance I thought to create a Patient ...
4
votes
1answer
294 views
Do serialization functions belong in a model or a controller?
I'm developing an application where:
Models keep data as a multi-dimensional array, which are saved as-is to a MongoDB database. The model is used to provide methods to manipulate the data, and ...
0
votes
1answer
170 views
Android -> Ruby Server Interface -> Mongodb
I've been wrecking my brain about this for a few days. I'll run my scenario by you and hopefully you can help me. In my head this is how it goes:
I have an Android App.
I want my Android App to make ...
2
votes
2answers
3k views
How to represent a tree structure in NoSQL
I'm new to NoSQL and have been playing around with a personal project on the MEAN stack (Mongo ExpressJs AngularJs NodeJs). I'm building a document editor of sorts that manages nodes of data. Each ...
1
vote
1answer
3k views
Storing data in elasticsearch vs mongodb
We are trying to create an online-shopping like application in which we have to store a huge amount of data,since the data that will be stored are mostly document like data, the suggestion was to ...
2
votes
0answers
604 views
How to link the data of MongoDB and Neo4j?
I want to implement a system which store the profiles of employee and the resources that they have. There are many types of resources, such as the documents they produced, the techniques they ...
1
vote
1answer
786 views
What is the best way to store multilingual data in MongoDB?
I want to save/serve multilingual data in my CMS application using Mongoose.
Is this the correct way?
name: {
global: {
type: String,
default: '',
trim: true,
...
0
votes
1answer
60 views
Mongo Licensing (AGPLv3)
I'm going to include MongoDb(AGPLv3) in my product. My product is SaaS, I don't install this to client directly. My software is ASP.NET MVC website. But MongoDb's drivers for .Net is under Apache
My ...
0
votes
1answer
215 views
MongoDB: Replicate data in documents vs. “join”
Disclaimer: This is a question derived from this one.
What do you think about the following example of use case?
I have a table containing orders.
These orders has a lot of related information ...
36
votes
2answers
4k views
Strategy for generating unique and secure identifiers for use in a “sometimes offline” web app
I have a web based project that allows users to work both online and offline and I'm looking for a way to generate unique ids for records on the client side. I'd like an approach that works while a ...
2
votes
1answer
183 views
Do I need to publish deployment scripts for deploying AGPL licensed work (MongoDB)
MongoDB is dual-licensed with AGPL (the engine) and ASL 2.0 (the drivers). In a nutshell, merely using MongoDB through the drivers does not dictate to release your source code (due to drivers' ASL 2.0 ...