Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo performance ideas #9

Open
hampelm opened this issue May 17, 2013 · 0 comments
Open

Mongo performance ideas #9

hampelm opened this issue May 17, 2013 · 0 comments

Comments

@hampelm
Copy link

hampelm commented May 17, 2013

Via @prashtx:

I was poking around for a way to get skip BSON parsing in the node mongodb driver. I found some interesting things on this page that could pertain to nodetiles/our performance investigations.
http://mongodb.github.io/node-mongodb-native/api-generated/cursor.html

In particular:

The raw flag might let us skip BSON parsing, but let's check the source to be sure. We can't use that data efficiently, but it'll help us better understand the "mongo time" piece of the puzzle.

The showDiskLoc flag might show us if we're doing a bunch of random reads for each request. On the mongolab shared plan, I'm pretty sure we're effectively using a magnetic hard drive underneath, as opposed to SSD.

The exhaust flag might avoid some round trips to issue the getMore requests.

If I get a chance to test these, I'll let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant