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
Asynchronous Java Driver 1.0.1 Released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rob Moore  
View profile  
 More options Oct 7 2012, 10:54 am
From: Rob Moore <robert.allanb...@gmail.com>
Date: Sun, 7 Oct 2012 07:54:40 -0700 (PDT)
Local: Sun, Oct 7 2012 10:54 am
Subject: [ANN] Asynchronous Java Driver 1.0.1 Released

Version 1.0.1 of the Asynchronous Java Driver is now available:

Release Notes:
http://www.allanbank.com/mongodb-async-driver/release-notes/1.0.1_cha...
Website: http://www.allanbank.com/mongodb-async-driver/
Getting Started Guide:
http://www.allanbank.com/mongodb-async-driver/usage.html
Download: http://www.allanbank.com/mongodb-async-driver/download.html
JavaDocs: http://www.allanbank.com/mongodb-async-driver/apidocs/index.html

This version is source and binary compatible with the 1.0.1 version of the
driver and contains bug fixes and 1 addition to the API.

Changes since the 1.0.1 release include:

   - Updated the MongoCollection<http://www.allanbank.com/mongodb-async-driver/apidocs/index.html?com/...>interface to support the save(...)/saveAsync(...) operation as a short cut
   for either an insert or update. See the JavaDoc<http://www.allanbank.com/mongodb-async-driver/apidocs/index.html>for the full details.
   - Updated the QueryBuilder.and(...)<http://www.allanbank.com/mongodb-async-driver/apidocs/index.html?com/...>to optimize away the
   $and operator when the sub-conditions of the query did not collide. In
   sharded environments, the mongos process does not route $and queries to
   a single shard and instead always relies on the scatter/gather strategy.
   Scatter/gather forces client update()s to set the multi-update flag to
   true. By optimizing the $and operator away, we can avoid having to set
   the multi-update flag.
   - Updated parsing of responses to inserts to throw a
   DuplicateKeyException<http://www.allanbank.com/mongodb-async-driver/apidocs/index.html?com/...>in the case of an "ok" value of 1 but still having an error message.
   - Improved error handling for the send and receive threads to ensure
   connections are never into a half open state.

Thanks to all those who provided feedback and helped with testing the
driver.

Keep the comments, suggestions, questions, and bug reports coming.

Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phillip Gates-Idem  
View profile  
 More options Oct 18 2012, 12:20 pm
From: Phillip Gates-Idem <phillip.i...@gmail.com>
Date: Thu, 18 Oct 2012 09:20:55 -0700 (PDT)
Local: Thurs, Oct 18 2012 12:20 pm
Subject: Re: [ANN] Asynchronous Java Driver 1.0.1 Released

Rob,

Perhaps you could move the project to GitHub? I have been looking for an
alternative MongoDB Java driver that utilizes non-blocking I/O and you seem
to have built your driver around that goal. I think community development
support would be a good thing to have for this driver. Maybe it could
eventually replace the synchronous driver that is officially supported.

Thanks,
Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gelin yan  
View profile  
 More options Oct 19 2012, 11:58 pm
From: gelin yan <gelin....@gmail.com>
Date: Fri, 19 Oct 2012 20:58:07 -0700 (PDT)
Local: Fri, Oct 19 2012 11:58 pm
Subject: Re: [ANN] Asynchronous Java Driver 1.0.1 Released

在 2012年10月19日星期五UTC+8上午12时20分55秒,Phil Gates-Idem写道:

Hi

   I am interested in using this driver on android. Does it work?

Regards

gelin yan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Moore  
View profile  
 More options Oct 22 2012, 8:54 pm
From: Rob Moore <robert.allanb...@gmail.com>
Date: Mon, 22 Oct 2012 17:54:15 -0700 (PDT)
Local: Mon, Oct 22 2012 8:54 pm
Subject: Re: [ANN] Asynchronous Java Driver 1.0.1 Released

Hi

>    I am interested in using this driver on android. Does it work?

To be honest I don't know.  It should work as the dependencies within the
JVM are from the "core" but I have not tried it.

Have you tried and run into a problem or are you wondering if someone has
been successful already?

I have not found an easy method for validating that a third party jar works
on the Dalvik runtime.  If anyone knows of one I'd be interested in the
details.

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Moore  
View profile  
 More options Oct 22 2012, 9:35 pm
From: Rob Moore <robert.allanb...@gmail.com>
Date: Mon, 22 Oct 2012 18:35:24 -0700 (PDT)
Local: Mon, Oct 22 2012 9:35 pm
Subject: Re: [ANN] Asynchronous Java Driver 1.0.1 Released

On Thursday, October 18, 2012 12:20:55 PM UTC-4, Phil Gates-Idem wrote:

> Rob,

> Perhaps you could move the project to GitHub? I have been looking for an
> alternative MongoDB Java driver that utilizes non-blocking I/O and you seem
> to have built your driver around that goal. I think community development
> support would be a good thing to have for this driver. Maybe it could
> eventually replace the synchronous driver that is officially supported.

Phil,

Actually, the driver does not use non-blocking I/O.  Instead it uses a pair
of threads <http://www.allanbank.com/mongodb-async-driver/#Thread_Model>(reader/writer) and fast message passing between the application thread and
the read/write threads.  A very early version of the driver used NIO and
selectors but after testing the performance we found the threaded model was
better and the main win for NIO is handling lots of connections which is
exactly what the driver is trying to avoid.

On hosting: The driver is still in very young and we are working hard to
avoid fragmentation/breaks/cruft in the driver's API.  For this and a few
other reasons we don't plan to add the code to GitHub.

If there are a features that you would like to see added to the driver you
can either post a topic to this group or send me a message directly.  I do
hope to one day get a public ticket system created. So far the copy/paste
cycle for the few issues we have had people report has not caused enough
pain to cause me to actually get it setup and other work always jumps in
front.

Thanks for your feedback,
Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anucekay  
View profile  
 More options Dec 14 2012, 4:22 pm
From: anucekay <anuce...@gmail.com>
Date: Fri, 14 Dec 2012 13:22:41 -0800 (PST)
Local: Fri, Dec 14 2012 4:22 pm
Subject: Re: [ANN] Asynchronous Java Driver 1.0.1 Released

Hai Rob,

   I am looking at using your driver for reading from the oplog collection.
I got to the point where i create the db, open the oplog and
read the contents. Does the driver support tailable cursor?

thanks
Anu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[ANN] Asynchronous Java Driver 1.0.1 Released" by Robert Moore
Robert Moore  
View profile  
 More options Dec 14 2012, 7:52 pm
From: Robert Moore <robert.allanb...@gmail.com>
Date: Fri, 14 Dec 2012 19:52:20 -0500
Local: Fri, Dec 14 2012 7:52 pm
Subject: Re: [mongodb-user] Re: [ANN] Asynchronous Java Driver 1.0.1 Released
On 12/14/2012 04:22 PM, anucekay wrote:

> Hai Rob,

>    I am looking at using your driver for reading from the oplog
> collection. I got to the point where i create the db, open the oplog and
> read the contents. Does the driver support tailable cursor?

In theory all of the pieces exist.  I never exposed the capability
through the interfaces since I did not feel it had seen enough testing
and was worried about the impact it would have on other requests via the
same Mongo instance.

If you are willing to run a snapshot version and give me some feedback
on how it is interacting with other requests/usage of the
client/connection I'll send you a link to a version with the capability
exposed.

Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anucekay  
View profile  
 More options Dec 15 2012, 4:08 pm
From: anucekay <anuce...@gmail.com>
Date: Sat, 15 Dec 2012 13:08:19 -0800 (PST)
Local: Sat, Dec 15 2012 4:08 pm
Subject: Re: [mongodb-user] Re: [ANN] Asynchronous Java Driver 1.0.1 Released

Sure. Send us the link and we want to give it a try.

Anu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Moore  
View profile  
 More options Dec 20 2012, 12:26 am
From: Rob Moore <robert.allanb...@gmail.com>
Date: Wed, 19 Dec 2012 21:26:46 -0800 (PST)
Local: Thurs, Dec 20 2012 12:26 am
Subject: Re: [mongodb-user] Re: [ANN] Asynchronous Java Driver 1.0.1 Released

Wanted to check in on how the testing of the tailable cursors was going and
if you had an questions.  

Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Moore  
View profile  
 More options Jan 3, 1:11 am
From: Rob Moore <robert.allanb...@gmail.com>
Date: Wed, 2 Jan 2013 22:11:01 -0800 (PST)
Local: Thurs, Jan 3 2013 1:11 am
Subject: Re: [mongodb-user] Re: [ANN] Asynchronous Java Driver 1.0.1 Released

On Saturday, December 15, 2012 4:08:19 PM UTC-5, anucekay wrote:

> Sure. Send us the link and we want to give it a try.

Anu -

The 1.1.0 version of the driver has just been posted and contains the
tailable cursor capability you requested.

Download from: http://www.allanbank.com/mongodb-async-driver/download.html

Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »