1. Conquering the Server Side with Node.JS
StartTechConf 2011 Caridy Patiño
Search Direct Team
YUI Evangelist
YUI Contributor
caridy@yahoo-inc.com
@caridy
Saturday, November 5, 2011
15. ut
O
old
S
Microsoft VBScript compilation error ‘800a03e9′
Out of memory
/LM/W3SVC/600510919/Root/dStore/http://global.asa, line 0
Saturday, November 5, 2011
21. Wow Amazon EC2 Is Expensive For Start Ups
“With EC2, I would pay 30 days * 24 hours * $0.1 * 1.19 (tax) = $85.
And that does not take into account backup space (S3),
traffic and true persistent storage (EBS) yet.”
Saturday, November 5, 2011
26. NarwhalJS RingoJS
Wakanda
Rhino Akshell
Saturday, November 5, 2011
27. Nuestros sistemas operativos y lenguajes derivan de los
sistemas diseñados para teletipos.
Saturday, November 5, 2011
28. Las plataformas modernas de software siguen imitando
estas interfaces antiguas.
Saturday, November 5, 2011
29. “Blocking system call” is a call into the kernel which waits for
some I/O to complete before before returning. Blocking syscalls
introduce unbounded latency into the current thread.
Saturday, November 5, 2011
30. Los procesos son buenos para mantener unidades
aisladas. Sin embargo, son demasiado pesados como
para dedicarle una conexión completa.
Saturday, November 5, 2011
31. Uno de los objetivos principales de Node es hacer
accesible la programación sin bloqueo para aquellos
usuario que no son expertos.
Saturday, November 5, 2011
32. Node ha tenido éxito en poner
servidor de alto desempeño al
alcance de los programadores
utilizando una API sin bloqueos
Saturday, November 5, 2011
33. Un solo stack por cada proceso
Saturday, November 5, 2011
34. Node.JS solo tiene 2.5
años de edad.
La version 0.6 es la 3ra
iteración estable.
Saturday, November 5, 2011
45. var result = db.query("select * from T");
// use result
Saturday, November 5, 2011
46. var result = db.query("select * from T");
// use result
Qué esta haciendo el software
mientras se ejecuta la query?
Saturday, November 5, 2011
47. db.query("select * from T", function (result) {
// use result
});
Saturday, November 5, 2011
48. db.query("select * from T", function (result) {
// use result
});
Este código le permite al programa
retornar al event loop
inmediatamente
Saturday, November 5, 2011
49. Node maneja todas los IO de la misma manera
Saturday, November 5, 2011
72. var YUI = require("yui3").YUI; Requiriendo YUI NPM Module
YUI().use('yql', function(Y) {
var query = ' select * from geo.states where place="Chile" and lang="es-CL" ';
Y.YQL(query, function(result) {
// =result= now contains the result of the YQL Query
// use the YQL Developer console to learn
// what data is coming back in this object
// and how that data is structured.
Y.log(result, 'info', 'demo');
});
});
http://developer.yahoo.com/yql/console/#h=select%20*%20from%20geo.states%20where
%20place%3D%22Chile%22%20and%20lang%3D%22es-CL%22
Saturday, November 5, 2011
74. YUI Library Who contributes?
Everyone, with committer review.
YUI Gallery Who contributes?
Everyone, with little review.
YUI Test Comprehensive unit testing
solution for any JS code
YETI YUI Easy Testing Interface: run
browser JS unit tests from console
Saturday, November 5, 2011
86. Yahoo! Manhattan es un ambiente de hosting para
aplicaciones basadas en Mojito que utiliza la nube de
Yahoo! para correr esas aplicaciones.
Saturday, November 5, 2011
90. Manhattan provides a simple interface for developers to
deploy, un-deploy and manage their Mojito-based
applications, leveraging the scale and performance of
Yahoo!’s technology infrastructure.
Saturday, November 5, 2011
101. Más sobre Yahoo! Mojito:
http://www.slideshare.net/rhyolight/mojito-sl-2011
Saturday, November 5, 2011
102. Más sobre Yahoo! Manhattan:
http://video.yahoo.com/yahoonet-24189541/yodel-24697328/
cocktails-in-action-27127763.html
http://video.yahoo.com/yahoonet-24189541/yodel-24697328/
introducing-cocktails-from-yahoo-27127762.html
Saturday, November 5, 2011