Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Human_Talk_-_Node.js_pour_l_internet_des_objets.pdf

Baptiste
January 15, 2014
13k

 Human_Talk_-_Node.js_pour_l_internet_des_objets.pdf

Baptiste

January 15, 2014
Tweet

Transcript

  1. L’internet des objets avec Node.JS Baptiste Gauduchon - Yann Jajkiewicz

    Mardi 14 Janvier 2014 Maison des projets - Angers
  2. Node.JS Apache + PHP Node.JS Technologie utilisée C Google V8

    Javascript Engine; C++ Architecture 1 processus / client Event-loop Opérations asynchrones Non Oui Non-bloquant Non Oui Mémoire / connection client 15 à 30 Mo 1 à 2 Ko Nombre de connexions simultanées fonctionnelles 100 à 200 20 000 à 100 000
  3. Application avec Arduino Client Arduino (C/S) INTERFACE CLIENT INTERFACE ARDUINO

    Requête HTTP Trame JSON Trame JSON Trame JSON TCP / IP HTTP Serveur REST Node.JS • Parsing HTTP • Construction JSON WEB Metier DAO (C/S)
  4. Retour d’expérience • Structure du programme (modèle en couches) •

    Interfaces de communication • Frameworks • Gestion des erreurs • Debuggage (types, conditions)
  5. Pour aller plus loin • SmartOS • Dépôt NPM •

    QR Code • Code source: github.com/yjajkiew/projet-ei5