~/talk

MongoDB Rules

Talkat MountainWest RubyConf 2010 · 2010-03-11..03-12· [databases, ruby]
links:none on file
slides:none on file

Clear, concrete rules with runnable details: follow use ObjectIDs (12‑byte BSON id with timestamp), prefer embedded documents for carts/tags to avoid joins, and index array fields for efficient queries; use atomic update operators ($push/$inc) and findAndModify for single‑step reservations (concert seats) or vote handling; GridFS API stores files in files+chunks collections; BSON/Bon serialization and memory‑mapped files trade speed for per‑node durability so replicate; collections support up to 40 indexes and keep working set/indexes in RAM; auto‑sharding + replica sets for scale.

AI-written summary · about

  1. 0:00Intro
  2. 2:24Get to know the real MongoDB
  3. 6:05Use rich documents
  4. 11:32Array keys
  5. 13:32Atomic operators
  6. 16:16MapReduce
  7. 17:45Indexes
  8. 19:08Binary Data
  9. 20:08Speed Durability
  10. 21:35Drivers
  11. 23:45Sharding
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.