~/talk

Data Analysis and Map-Reduce with mongoDB and pymongo

Talkat EuroPython 2015 · 2015-07-20..07-26· [databases]
slides:none on file

Live demos show mongoDB aggregation pipelines doing match project group unwind and date operators on a 37 GB dataset compressed to about 9 GB with 1.3 million playlists and ~17 million songs, driven from pymongo. Specific pitfalls include aggregation returning a cursor that is exhausted after list(), Python dicts losing sort order unless ordered, and BSON document and pipeline limits (16 MB result, ~100 stages). MapReduce remains useful when embedding JavaScript is required. iPython notebook and sample data are on the linked Bitbucket.

AI-written summary · about

  1. 0:00Intro
  2. 0:31MongoDB
  3. 1:25MongoDB aggregation framework
  4. 2:13mongoDB pipeline
  5. 3:05pymongo
  6. 4:14demo structure
  7. 5:04Taylor Swift
  8. 5:37Build the first pipeline
  9. 11:58unwind operator
  10. 16:32stages
  11. 17:46grouping
  12. 20:15dates
  13. 23:14Match operator
  14. 23:32Competition
  15. 24:08unwind
  16. 26:56arm
  17. 29:10map operator
  18. 30:36MapReduce
  19. 34:50Best practices
  20. 37:16Useful resources
~/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.