Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Parallel write/delete operations

Received: by 10.224.31.20 with SMTP id w20mr5894791qac.2.1349374439879;
        Thu, 04 Oct 2012 11:13:59 -0700 (PDT)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.224.187.129 with SMTP id cw1ls5394754qab.9.gmail; Thu, 04 Oct
 2012 11:13:39 -0700 (PDT)
Received: by 10.224.70.131 with SMTP id d3mr5896877qaj.0.1349374419882;
        Thu, 04 Oct 2012 11:13:39 -0700 (PDT)
Received: by 10.224.184.14 with SMTP id ci14msqab;
        Thu, 4 Oct 2012 11:11:04 -0700 (PDT)
Received: by 10.52.72.197 with SMTP id f5mr1208738vdv.17.1349374264007;
        Thu, 04 Oct 2012 11:11:04 -0700 (PDT)
Date: Thu, 4 Oct 2012 11:11:03 -0700 (PDT)
From: OZAYAMA <markus.schneide...@googlemail.com>
To: mongodb-user@googlegroups.com
Message-Id: <df93138d-1328-46b5-87a0-d1dda0e5a86d@googlegroups.com>
Subject: Parallel write/delete operations
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_52_3568896.1349374263706"

------=_Part_52_3568896.1349374263706
Content-Type: multipart/alternative; 
	boundary="----=_Part_53_20678771.1349374263706"

------=_Part_53_20678771.1349374263706
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi List,

I'm new to mongodb and I'm not sure if parallel write/delete operations on 
one
collection can be a problem.

Use-Case:
---
There's a collection of the name 'message' and my program has two threads.
Thread 'A' adds continuously new documents to the collection 'message' and
thread 'B' removes old documents from the collection 'message' at the same 
time.
Both threads access the same collection but they operate on different 
documents.
Does mongodb manage this for me?

Maybe there are other concepts to handle this.

Thanks in advance.

Best Regards

OZ



------=_Part_53_20678771.1349374263706
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

Hi List,<br><br>I'm new to mongodb and I'm not sure if parallel write/delete operations on one<br>collection can be a problem.<br><br>Use-Case:<br>---<br>There's a collection of the name 'message' and my program has two threads.<br>Thread 'A' adds continuously new documents to the collection 'message' and<br>thread 'B' removes old documents from the collection 'message' at the same time.<br>Both threads access the same collection but they operate on different documents.<br>Does mongodb manage this for me?<br><br>Maybe there are other concepts to handle this.<br><br>Thanks in advance.<br><br>Best Regards<br><br>OZ<br><br><br>
------=_Part_53_20678771.1349374263706--

------=_Part_52_3568896.1349374263706--