Skip to content

Instantly share code, notes, and snippets.

@jmontross
Created August 3, 2012 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmontross/3243516 to your computer and use it in GitHub Desktop.
Save jmontross/3243516 to your computer and use it in GitHub Desktop.
rambles from the trenches
Went to a 10gen conference. Cornered smart man named antoinne and got below info.
use profiler built in..
check out google groups...
how to optimize design?
What is the objective of mongo?
denormalizing is about prejoining data.
When gaining read performance you lose write performance and vice versa.
optimizing for reading can give huge advantages...
What to watch for...
can make write speed lower
documents are getting too large
duplicating data and losing consistency.
logging levels for mongo
level 1... all things longer than 100 ms.
!!
when you use get_where...
where is implemented in javascript and it does a full table scan.
1000 documents you may not see. but once you get to millions it will be horrible
for the design pattern... have something you are comfortable with
We are doing full table scans.
"cursor": "BasicCursor",
We want this to say bi
"cursor": "BtreeCursor _id_ reverse",
post gis
from tallb0y
Using events in google analytics...
use parse.com
bignerdranch ios awesome book aaron something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment