920
Lectures Watched
Since January 1, 2014
Since January 1, 2014
- A History of the World since 1300 (67)
- History of Rock, 1970-Present (50)
- A Brief History of Humankind (48)
- The Modern World: Global History since 1760 (35)
- Chinese Thought: Ancient Wisdom Meets Modern Science (33)
- The Bible's Prehistory, Purpose, and Political Future (28)
- Introduction aux éthiques philosophiques (27)
- Roman Architecture (25)
- Jesus in Scripture and Tradition (25)
- Sexing the Canvas: Art and Gender (23)
- Descubriendo la pintura europea de 1400 a 1800 (22)
- Introduction aux droits de l'homme (19)
- Buddhism and Modern Psychology (18)
- Calvin: Histoire et réception d'une Réforme (17)
- The Ancient Greeks (16)
- The French Revolution (15)
- À la découverte du théâtre classique français (15)
- Christianisme et philosophie dans l'Antiquité (14)
- Key Constitutional Concepts and Supreme Court Cases (14)
- Letters of the Apostle Paul (14)
- Egiptología (12)
- Western Music History through Performance (10)
- Phenomenology and the Conscious Mind (9)
- Human Evolution: Past and Future (9)
- Greek and Roman Mythology (9)
- Alexander the Great (9)
- The Great War and Modern Philosophy (9)
- The Rise of Superheroes and Their Impact On Pop Culture (9)
- Villes africaines: la planification urbaine (8)
- Masterpieces of World Literature (8)
- Programming Mobile Applications for Android (7)
- Introduction to Psychology (7)
- Fundamentos de la escritura en español (7)
- MongoDB for Node.js Developers (7)
- Pensamiento Científico (7)
- Greeks at War: Homer at Troy (7)
- Lingua e cultura italiana: avanzata (6)
- A Beginner's Guide to Irrational Behavior (6)
- The Emergence of the Modern Middle East (6)
- Reason and Persuasion Through Plato's Dialogues (6)
- Fake News, Facts, and Alternative Facts (6)
- Karl der Große - Pater Europae (6)
- The Rooseveltian Century (6)
- Exploring Beethoven's Piano Sonatas (5)
- Dinosaur Paleobiology (5)
- Understanding Einstein: The Special Theory of Relativity (5)
- L'avenir de la décision : connaître et agir en complexité (5)
- Designing Cities (4)
- Problèmes métaphysiques à l'épreuve de la politique, 1943-1968 (4)
- The Kennedy Half Century (4)
- Introduction to Public Speaking (4)
- Emergence of Life (4)
- War for the Greater Middle East (4)
- Postwar Abstract Painting (3)
- Découvrir l'anthropologie (3)
- Analyzing the Universe (3)
- The Music of the Beatles (3)
- La visione del mondo della Relatività e della Meccanica Quantistica (3)
- Initiation à la programmation en Java (3)
- Formation of the Universe, Solar System, Earth and Life (3)
- History of Rock and Roll, Part One (3)
- La Commedia di Dante (3)
- Devenir entrepreneur du changement (3)
- Moons of Our Solar System (3)
- Orientierung Geschichte (3)
- Paleontology: Early Vertebrate Evolution (3)
- Western Civilization: Ancient and Medieval Europe (3)
- Russian History: from Lenin to Putin (2)
- L'art des structures 1 : Câbles et arcs (2)
- Art History for Artists, Animators and Gamers (2)
- Introduction to Classical Music (2)
- Galaxies and Cosmology (2)
- The Science of Gastronomy (2)
- The Fall and Rise of Jerusalem (2)
- Søren Kierkegaard: Subjectivity, Irony and the Crisis of Modernity (2)
- Philosophy and the Sciences (2)
- Understanding Russians: Contexts of Intercultural Communication (2)
- The European Discovery of China (2)
- Our Earth: Its Climate, History, and Processes (2)
- Découvrir la science politique (2)
- Introduction à la programmation en C++ (2)
- Introduction à la philosophie de Friedrich Nietzsche (2)
- Géopolitique de l'Europe (2)
- Gestion des aires protégées en Afrique (2)
- Lingua e letteratura in italiano (2)
- The Changing Landscape of Ancient Rome (2)
- Materials Science: 10 Things Every Engineer Should Know (2)
- Highlights of Modern Astronomy (2)
- La Philanthropie : Comprendre et Agir (2)
- The Science of Religion (2)
- Advertising and Society (1)
- America Through Foreign Eyes (1)
- Superpowers of the Ancient World: the Near East (1)
- The Art of Poetry (1)
- Bemerkenswerte Menschen (1)
- Big History: From the Big Bang until Today (1)
- Controversies of British Imperialism (1)
- Age of Cathedrals (1)
- Christianity: From Persecuted Faith to Global Religion (200-1650) (1)
- Narratives of Nonviolence in the American Civil Rights Movement (1)
- Constitutional Law - The Structure of Government (1)
- Contagious: How Things Catch On (1)
- Care of Elders with Alzheimer's Disease (1)
- The American South: Its Stories, Music, and Art (1)
- Programming Mobile Services for Android Handheld Systems (1)
- Animal Behaviour (1)
- From the Big Bang to Dark Energy (1)
- Configuring the World (1)
- Introduction to Data Science (1)
- Design: Creation of Artifacts in Society (1)
- The Law of the European Union (1)
- 21st Century American Foreign Policy (1)
- Éléments de Géomatique (1)
- History and Future of Higher Education (1)
- The Age of Jefferson (1)
- The Magna Carta and its Legacy (1)
- A New History for a New China, 1700-2000 (1)
- The New Nordic Diet (1)
- A la recherche du Grand Paris (1)
- What Managers Can Learn from Great Philosophers (1)
- Introduction to Mathematical Philosophy (1)
- Exercise Physiology: Understanding the Athlete Within (1)
- Physique générale - mécanique (1)
- Subsistence Marketplaces (1)
- Practicing Tolerance in a Religious Society (1)
- Understanding the Brain: The Neurobiology of Everyday Life (1)
- Andy Warhol (1)
- Web Intelligence and Big Data (1)
- Miracles of Human Language: An Introduction to Linguistics (1)
- Learning How to Learn (1)
- Imagining Other Earths (1)
- Vital Signs: Understanding What the Body Is Telling Us (1)
- Développement durable (1)
- Dinosaur Ecosystems (1)
- The Civil War and Reconstruction (1)
- Shakespeare: On the Page and in Performance (1)
- Introducción a la genética y la evolución (1)
- Poetry in America: Whitman (1)
- Anthropology of Current World Issues (1)
- Escribir para Convencer (1)
- Découvrir le marketing (1)
- Créer et développer une startup technologique (1)
- Frontières en tous genres (1)
- Une introduction à la géographicité (1)
- Gestion et Politique de l'eau (1)
- Theater and Globalization (1)
- Handel’s Messiah and Baroque Oratorio (1)
- Hans Christian Andersen’s Fairy Tales (1)
- From Goddard to Apollo: The History of Rockets (1)
- Miracles of Human Language (1)
- Human Origins (1)
- The Computing Technology Inside Your Smartphone (1)
- Intellectual Humility (1)
- Introduction to Italian Opera (1)
- Magic in the Middle Ages (1)
- Making Sense of News (1)
- Introduction to Mathematical Thinking (1)
- Mobilité et urbanisme (1)
- Moral Foundations of Politics (1)
- Mountains 101 (1)
- The Biology of Music (1)
- Oriental Beliefs: Between Reason and Traditions (1)
- In the Night Sky: Orion (1)
- Visualizing Postwar Tokyo (1)
- The Renaissance and Baroque City (1)
- The Rise of China (1)
- Russian History: from Lenin to Putin (1)
- Социокультурные аспекты социальной робототехники (1)
- Science of Exercise (1)
- El Mediterráneo del Renacimiento a la Ilustración (1)
- Igor Stravinsky’s The Rite of Spring (1)
- The World of the String Quartet (1)
- Switzerland in Europe (1)
- The Talmud: A Methodological Introduction (1)
- William Wordsworth: Poetry, People and Place (1)
- Wine Tasting: Sensory Techniques for Wine Analysis (1)
- The World of Wine (1)
Hundreds of free, self-paced university courses available:
my recommendations here
my recommendations here
Peruse my collection of 275
influential people of the past.
influential people of the past.
View My Class Notes via:




Receive My Class Notes via E-Mail:
Contact Me via E-Mail:
edward [at] tanguay.info
Notes on video lecture:
MongoDB Introduction
Notes taken by Edward Tanguay on June 4, 2014 (go to class or lectures)


Choose from these words to fill the blanks below:
joins, shell, relational, Blink, REST, tables, machine, bytecode, Java, out, challenging, hierarchical, Chromium, unrecognizable, discontinued, JSON, functionality, node, WebKit, Konqueror, schema, V8
what is MongoDB
non-relational
doesn't store in
stores in documents
key/value
can also be key/array
and key/array(key/...)
MongoDB is a JSON document store
MongoDB data looks a lot more like the data you have in your programs than data does
schemaless
two documents don't need to have the same as two SQL rows do
where does MongoDB fit in the world?
two axis:
scalability and performance
memcached
scalable and has good performance, but offers little
depth of functionality
Oracle
DB2
SQL Server
not known for being particularly scalable: easy to scale up but not easy to scale (use commodity hardware)
MongoDB strikes the balance between these two
what is missing from MongoDB which classic RDBMS have?
no
each document is stored in a collection
the reason is: joins is one of the items which scales particularly poorly when you try to scale out
no transactions
sounds bad, but you often don't need them in applications which use MongoDB
because documents are s, you get some of this functionality
and it also is the case in real-world RDBMS scenarios that you do not have transactions between separate databases anyway
what is included in MongoDB which RDBMS have?
indexes
secondary indexes
although these are to get them to perform well on a system which is horizontally scalable
browser --> layout engine --> JavaScript engine
Firefox --> Gecko --> SpiderMonkey
Safari --> WebKit --> Nitro
Chrome --> WebKit -->
2013: Chrome --> Blink --> V8
Opera --> Presto --> Carakan
2013: Opera --> Blink --> V8
Internet Explorer --> Trident --> Chakra
layout engines
Gecko
Firefox
KHTML
Konqueror
Trident
Internet Explorer
WebKit
Safari
Google Chrome (2013: using it)
Presto
Opera (2013: phased it out)
Blink
Chrome
April 2013: Google forked from
even before the split, Chrome never used WebKit in same way as Safari, e.g. Chrome ignored WebKit's JavaScriptCore and used V8 instead
Opera
July 2013: Opera switched to
Opera 15+
Webview (Android)
as of 4.4
JavaScript engines
SpiderMonkey
1995: Brendan Eich, Netscape
C/C++
SpiderMonkey name has remained the same but modern engine is from 1995 engine
JIT compilers for SpiderMonkey
TraceMonkey
JägerMonkey
IonMonkey (current)
translates SpiderMonkey into a control flow graph
default engine in Firefox since version 18
Rhino
1997: Netscape
developed entirely in
separate from the SpiderMonkey
Apple Safari 4's Nitro
Google Chrome's V8 engine
converts JavaScript into classes
works in compiled and interpreted mode
intended for server-side applications
no built-in support for web browser objects
JavaScriptCore
Apple forked KJS ( ) to create JavaScriptCore for WebKit (layout engine)
2008 WebKit gets SquirrelFish
SquirrelFish Extreme, Nitro, Nitro Extreme, compiles JavaScript directly to machine code (like V8)
JavaScriptCore source code resides in the WebKit source tree
V8
2008 with Chrome 2, in response to Nitro
compiles JavaScript to native code
intended to be used both in a browsers, e.g. Chrome and (open source web browser project from which Google Chrome draws its source code, the browsers share the majority of code and features)
goal for Chrome is to be a "a tabbed window manager, or for the web, as opposed to it being a traditional browser application"
Chakra
as of Internet Explorer 9
uses GPU for 3D graphics and video
MongoDB from 10,000 feet
clients
web browsers
any client sending requests, e.g. consuming API
application server
running .js
C++ program that you control using V8 JavaScript
all code for it are written in JavaScript
server responds to requests from clients
this application needs to store persistent data, that is where MongoDB comes in
MongoDB server
written in C++
application server acts as client and communicates with MongoDB server which is listening for requests
Mongo Shell
has similarities with node.js
C++ application that you control with V8
makes requests to MongoDB
looking at the data
debugging your application
the driver
handles all the connections, fail over
provides API which handles the communication to MongoDB
Vocabulary:
People:
![]() |
######################### (1964-) Danish computer programmer who currently works for Google where he has contributed to the Chrome browser by developing the V8 JavaScript engine
|
Spelling Corrections:
persistant ⇒ persistent