agirbal / umongo

Desktop app to browse and administer your MongoDB cluster
http://www.edgytech.com/umongo/
580 stars 94 forks source link

Timeout/lag issues #47

Closed JBaldachino closed 12 years ago

JBaldachino commented 12 years ago

First off, thank you for your work, JMongo is my favorite Windows admin UI for Mongo.

Version 1.1 seems to lag out very badly when a query is run at times. The issues seems the worse when you enter an "incorrect" query - e.g. if you query for {property:5} from documents with properties [4,7,12,3] the application will not respond until the query returns from the server or you kill the operation server side (either via command line or another instance of JMongo).

Lengthy queries also seem to cause substantial lag/non-responding issues.

None of these issues occurred in prior versions. Could this be a configuration problem? (I have not changed any default configurations in either 1.05 or 1.1).

agirbal commented 12 years ago

thanks a lot for report. Bug is due to a change in java driver that makes cursor.toString() a blocking call. Releasing 1.1.1 right now