11. “Node.js® is a JavaScript runtime built
on Chrome's V8 JavaScript engine.
Node.js uses an event-driven, non-
blocking I/O model that makes it
lightweight and efficient. Node.js'
package ecosystem, npm, is the largest
ecosystem of open source libraries in
the world.”
12. “Node.js® is a JavaScript runtime built
on Chrome's V8 JavaScript engine.
Node.js uses an event-driven, non-
blocking I/O model that makes it
lightweight and efficient. Node.js'
package ecosystem, npm, is the largest
ecosystem of open source libraries in
the world.”
13. “Node.js® is a JavaScript runtime built
on Chrome's V8 JavaScript engine.
Node.js uses an event-driven, non-
blocking I/O model that makes it
lightweight and efficient. Node.js'
package ecosystem, npm, is the largest
ecosystem of open source libraries in
the world.”
14. Javascript en el servidor
Orientado a Eventos: Event-loop
No bloqueante: I/O asíncrona
Un único thread
33. “MongoDB is an open-source schema-
free document database that provides
high performance, high availability, and
automatic scaling.”
34. NoSQL
Pros:
Se ejecutan en máquinas de poco recursos
Escalabilidad horizontal
Grandes cantidades de datos
Scheme-less
Frente SQL:
No utilizan SQL
Scheme-less
No permiten JOINs
35. MongoDB
Orientada a documentos (BSON)
Se basa en colecciones
Balanceo de carga automático (auto-sharding)
Soporte para índices
36. MongoDB
Ciertas aplicaciones web
Gestión de contenido semiestructurado
Analíticas en tiempo real & Trazabilidad en alta velocidad.
Caching y Alta escalabilidad
Bueno para….
42. Problemas
Full text search: mejor Elasticsearch
No es relacional
No es transaccional
Problema con updates
Composición con agregados
Sincronización de documentos en updates