Who am I? Weibo:

Size: px
Start display at page:

Download "Who am I? Weibo:"

Transcription

1 Nodejs Javascript

2 Who am I? Weibo:

3 1. Hello world Nodejs Hello world 2. String = Buffer => Stream String Buffer, Buffer Stream Javascript Socket HTTP 3. Javascript Nodejs 4. Nodejs npm

4 Hello world

5 Nodejs

6 Nodejs, Tornado, Go, Netty Nodejs: Tornado: Go: Netty:

7 Python: Tornado from tornado.ioloop import IOLoop from tornado.web import RequestHandler, \ Application class MainHandler(RequestHandler): def get(self): self.write("hello, world") application = Application([ (r"/", MainHandler), ]) if name == " main ": application.listen(8080) IOLoop.instance().start()

8 Go: package main import ( "http" "io" ) func handler(w http.responsewriter, r *http.request) { io.writestring(w, "Hello, world") } func main() { http.handlefunc("/", handler) http.listenandserve(":8080", nil) }

9 Java: Netty private void handlehttprequest( ChannelHandlerContext ctx, HttpRequest req) throws Exception { HttpResponse res = new DefaultHttpResponse(HTTP_1_1, OK); res.setheader(content_type, "text/html; charset=utf-8"); setcontentlength(res, 11); res.setcontent( ChannelBuffers.copiedBuffer( "hello world", CharsetUtil.US_ASCII)); sendhttpresponse(ctx, req, res); }

10 Nodejs: var http = require('http'); http.createserver(function(req, res){ res.end('hello, World'); }).listen(8080);

11 Nodejs: 4CPU var cluster = require('cluster'), http = require('http'); var server = http.createserver(function(req, res) { res.end('hello World'); }); cluster(server).set('workers', 4).use(cluster.stats()).listen(8080);

12 CPU $ cat /proc/cpuinfo grep name cut -f2 -d: uniq -c 8 Intel(R) Xeon(R) CPU 2.33GHz 16GB $ cat /etc/issue grep Linux Red Hat Enterprise Linux Server release 5.4 (Tikanga)

13 $ ab -c 30 -n Name 30 threads rps 100 rps 1000 rps 5000 rps Nodejs 7,287 7,038 6,786 6,912 Tornado 2,967 2,966 2,967 2,982 Go 5,214 5,157 5,080 5,164 Netty 13,526 13,351 11,332 7,921 Nodejs 4P 14,826 14,332 12,161 8,287

14 ** Nodejs **

15 String => Buffer => Stream

16 Javascript Javascript Unicode String TCP Javascript V8 1GB 1GB

17 Buffer Buffer V8 the V8 heap V8 1GB Buffer

18 Buffer // buffer.js var a = new Buffer(10); console.log(a, a.tostring()); var b = new Buffer('QCon2011 '); console.log(b, b.tostring()); $ node buffer.js <Buffer e 00 2f 0f e> '\u0005\bn\u0000/\u000f&\u0005\u0004n' <Buffer f 6e e6 9d ad e5 b7 9e> 'QCon2011 '

19 fs, net, http(s) var fs = require('fs') I/O POSIX var net = require('net') streams ( ) HTTP var http(s) = require('http[s]') Node HTTP HTTP

20 fs, net, http(s) fs var fs = require('fs'); // $ touch /tmp/hellosync fs.renamesync('/tmp/hellosync', '/tmp/worldsync'); var stats = fs.statsync('/tmp/worldsync'); console.log('statssync:' + JSON.stringify(stats));

21 fs, net, http(s) fs var fs = require('fs'); // $ touch /tmp/hello fs.rename('/tmp/hello', '/tmp/world', function (err) { if (err) throw err; fs.stat('/tmp/world', function (err, stats) { if (err) throw err; console.log('stats: ' + JSON.stringify(stats)); }); });

22 fs, net, http(s) telnet (1) // chat.js var net = require('net'); var clients = []; net.createserver(function(client) { client.write('enter your name:\n'); client.once('data', function(data) { var username = data.tostring().trim(); clients.push(client); broacast(username + ' : Join!\n'); client.on('data', function(data) { var text = username + ' : ' + data; broacast(text); }); }); }).listen(11021);

23 fs, net, http(s) telnet (2) // function broacast(text) { console.log(text.trim()); var i = 0, l = clients.length; for(; i < l; i++) { var c = clients[i]; c.write(text); } };

24 fs, net, http(s) telnet (3) Server: $ node chat.js mk2 : Join! mk2 : Hello qcon2011 hangzhou! Client: $ telnet xxx Enter your name: mk2 mk2 : Join! Hello qcon2011 hangzhou! mk2 : Hello qcon2011 hangzhou!

25 fs, net, http(s) http server var http = require('http'); http.createserver(function(req, res) { if(req.url === '/') { res.end('hello world'); } else { res.end('http ' + req.method + ' : ' + req.url); } }).listen(8080);

26 fs, net, http(s) http client var http = require('http'); var options = { host: ' port: 80, path: '/' }; http.get(options, function(res) { console.log("got response: " + res.statuscode); res.on('data', function(data) { console.log(data.tostring()); }); }).on('error', function(e) { console.log("got error: " + e.message); });

27 Stream: Stream HTTP request stdout EventEmitter (Pipe)

28 fs.readstream var readstream = fs.createreadstream(uploadfile); data read

29 fs.readstream readstream.on('data', function(chunk) { console.log('write', chunk.length); // req.write(chunk); }); end readstream.on('end', function() { req.end(); });

30 Pipe data end pipe pipe ==> req.end() readstream.pipe(req); readstream upload_file.js

31 Pipe :)

32 fs.writestream var writestream = fs.createwritestream(savefile); ==> res.pipe(writestream);

33 fs.writestream writestream.on('close', function() { callback(null, res); }); WriteStream download_file.js

34 Pipe

35 Javascript Nodejs......

36 Web... IO

37 Web job:

38

39 Trello: 3

40

41

42

43 PaintChat:

44

45

46 Instagram Real-time API Demo: Instagram Socket.io

47 Cloud9: Web IDE

48

49 : Nodefox Nodefox: MySQL

50

51 : Nodefox Nodefox

52 : Loggly Loggly: syslog HTTP Web

53

54 NAE Proxy: Node App Engine Http proxy socket

55 : TermKit TermKit: next gen terminal / command application, built out of WebKit and Node.js.

56

57 : TermKit

58

59 : nodejs GTK+ demo

60 Nodejs 1152

61 Web Database Templating CSS Engines CMS Build and Deployment Openssl, Hashing SMTP TCP/IP RPC Web Sockets & Ajax Message Queues Testing JSON XML Debugging Compression Graphics Payment Gateways API clients Control flow / Async goodies I18n and L10n modules

62 : npm

63 : npm npm nodejs nodejs mysql $ npm install mysql

64 (1) Middleware Connect HTTP server Web Express, webjs node-mysql, redis-node, node-mongoskin

65 (2) Web Sockets & Ajax, RPC Socket.io, nowjs nodeunit, expresso / EventProxy, Jscex, async

66 Node's goal easy Provide an way to build scalable network programs.

67 Q & A

68 next("thanks ^_^")

END-TO-END JAVASCRIPT WEB APPS

END-TO-END JAVASCRIPT WEB APPS END-TO-END JAVASCRIPT WEB APPS HTML5, NODE.JS AND MONGODB CADEC 2013 by Peter Larsson JAVASCRIPT IS NOT EVIL TECH. INDEX, JAN 2013 Dice Job Posts Google 20,000 2,400,000,000 15,000 1,800,000,000 10,000

More information

node.js A quick tour (v4)

node.js A quick tour (v4) node.js A quick tour 15.02.2011 (v4) About Felix Geisendörfer 23 years Berlin, Germany @felixge Core Contributor & Module Author node-mysql node-formidable File uploading & processing as an infrastructure

More information

Lecture 18. WebSocket

Lecture 18. WebSocket Lecture 18. WebSocket 1. What is WebSocket? 2. Why WebSocket? 3. WebSocket protocols 4. WebSocket client side 5. WebSocket on server side 1. Case study, WebSocket on nose.js 2. Case study, WebSocket on

More information

Java with Node.js Powering the Next Generation of Web Applications

Java with Node.js Powering the Next Generation of Web Applications Java with Node.js Powering the Next Generation of Web Applications Oracle Code One, Oct 23rd 2018 Chris Bailey Chief Architect, Cloud Native Runtimes @IBM baileyc@uk.ibm.com @Chris Bailey CloudNativeJS.io

More information

Building Node web applications

Building Node web applications Building Node web applications This chapter covers Handling HTTP requests with Node s API Building a RESTful web service Serving static files Accepting user input from forms Securing your application with

More information

AWS Lambda + nodejs Hands-On Training

AWS Lambda + nodejs Hands-On Training AWS Lambda + nodejs Hands-On Training (4 Days) Course Description & High Level Contents AWS Lambda is changing the way that we build systems in the cloud. This new compute service in the cloud runs your

More information

Streams, Pipes and Mega Pipes

Streams, Pipes and Mega Pipes Streams, Pipes and Mega Pipes Felix Geisendörfer 11.06.2011 (v1) @felixge Twitter / GitHub / IRC Co-founder transloadit.com Core Developer & Module Author node-mysql node-formidable Streams Image Resizing

More information

Node.js. Mendel Rosenblum. CS142 Lecture Notes - Node.js

Node.js. Mendel Rosenblum. CS142 Lecture Notes - Node.js Node.js Mendel Rosenblum Threads versus Events request = readrequest(socket); reply = processrequest(request); sendreply(socket, reply); Implementation: Thread switching (i.e. blocking) and a scheduler

More information

A practical introduction

A practical introduction A practical introduction Felix Geisendörfer Øredev 09.11.2011 (v1) @felixge Twitter / GitHub / IRC Felix Geisendörfer (Berlin, Germany) Audience? JavaScript? Node.js? History Feb 16, 2009 Ryan Dahl starts

More information

NodeJS and JavaScripteverywhere

NodeJS and JavaScripteverywhere NodeJS and JavaScripteverywhere Matthew Eernisse YOW Conference: December 2011 Who am I? Matthew Eernisse Work at Yammer @mde on Twitter What is JavaScript- everywhere? A list of stuff Ruby JavaScript

More information

Smashing Node.JS: JavaScript Everywhere

Smashing Node.JS: JavaScript Everywhere Smashing Node.JS: JavaScript Everywhere Rauch, Guillermo ISBN-13: 9781119962595 Table of Contents PART I: GETTING STARTED: SETUP AND CONCEPTS 5 Chapter 1: The Setup 7 Installing on Windows 8 Installing

More information

Node.js: Asynchronous I/O for Fun and Profit. Stefan QCon London 2011

Node.js: Asynchronous I/O for Fun and Profit. Stefan QCon London 2011 Node.js: Asynchronous I/O for Fun and Profit Stefan Tilkov @ QCon London 2011 Stefan Tilkov @stilkov stefan.tilkov@innoq.com http://www.innoq.com Concurrent Request Processing read request read request

More information

Chris Bailey Bailey. Emerging Web Application Architectures With Java and Node.js

Chris Bailey Bailey. Emerging Web Application Architectures With Java and Node.js Chris Bailey IBM Emerging Web Application Architectures With Java and Node.js STSM, IBM Runtime Development 2 @seabaylea 2015 IBM Corporation 1 The Annual Death of Java Developer trend No. 2: Java s decline

More information

Module 6 Node.js and Socket.IO

Module 6 Node.js and Socket.IO Module 6 Node.js and Socket.IO Module 6 Contains 2 components Individual Assignment and Group Assignment Both are due on Wednesday November 15 th Read the WIKI before starting Portions of today s slides

More information

Microservices with Node.js

Microservices with Node.js Microservices with Node.js Objectives In this module we will discuss: Core Node.js concepts Node Package Manager (NPM) The Express Node.js package The MEAN stack 1.1 What is Node.js? Node.js [ https://nodejs.org/

More information

AWS Lambda. 1.1 What is AWS Lambda?

AWS Lambda. 1.1 What is AWS Lambda? Objectives Key objectives of this chapter Lambda Functions Use cases The programming model Lambda blueprints AWS Lambda 1.1 What is AWS Lambda? AWS Lambda lets you run your code written in a number of

More information

Mastering Node. Mastering Node 1

Mastering Node. Mastering Node 1 Mastering Node Node is an exciting new platform developed by Ryan Dahl, allowing JavaScript developers to create extremely high performance servers by leveraging Google's V8 JavaScript engine, and asynchronous

More information

MOdern Java(Script) Server Stack

MOdern Java(Script) Server Stack MOdern Java(Script) Server Stack Pratik Patel Pratik Patel CTO Triplingo JAVA CHAMPION PRESIDENT ATLANTA JUG POLYGLOT apple mac vintage 5" screen TURTLE MY FIRST PROGRAM TURING MY FIRST REAL PROGRAM JAVASCRIPT

More information

Introduction to RPC, Apache Thrift Workshop. Tomasz Powchowicz

Introduction to RPC, Apache Thrift Workshop. Tomasz Powchowicz Introduction to RPC, Apache Thrift Workshop Tomasz Powchowicz It is all about effective communication page 2 Synchronous, asynchronous execution Executor Executor A Executor B Executor A Executor B 1 1

More information

NODE.JS MOCK TEST NODE.JS MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST I http://www.tutorialspoint.com NODE.JS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Node.js Framework. You can download these sample mock tests at

More information

[Introduction to] Writing non-blocking code... in Node.js and Perl

[Introduction to] Writing non-blocking code... in Node.js and Perl [Introduction to] Writing non-blocking code... in Node.js and Perl Jay Janssen Percona, Inc. Problems solved Standard programs assume sequential execution of statements Long running statements block the

More information

COPYRIGHTED MATERIAL

COPYRIGHTED MATERIAL D TE GH RI PY CO RI TE MA AL INDEX INDEX Symbols [ ] operator, buffers and, 30 = operator Jade encoding and, 231 string appearance and, 231 A absolute file paths, 55.addListener() function, binding callbacks

More information

Java vs JavaScript. For Enterprise Web Applications. Chris Bailey IBM Runtime Technologies IBM Corporation

Java vs JavaScript. For Enterprise Web Applications. Chris Bailey IBM Runtime Technologies IBM Corporation Java vs JavaScript For Enterprise Web Applications Chris Bailey IBM Runtime Technologies 1 What Languages do you use? 120 Percentage of Audience 100 80 60 40 20 0 Java 2 JavaScript Both What Runtimes do

More information

Transitioning from C# to Scala Using Apache Thrift. Twitter Finagle

Transitioning from C# to Scala Using Apache Thrift. Twitter Finagle Transitioning from C# to Scala Using Apache Thrift and Twitter Finagle Steven Skelton September 19, 2013 Empathica Empathica provides Customer Experience Management programs to more than 200 of the world's

More information

What is Node.js? Tim Davis Director, The Turtle Partnership Ltd

What is Node.js? Tim Davis Director, The Turtle Partnership Ltd What is Node.js? Tim Davis Director, The Turtle Partnership Ltd About me Co-founder of The Turtle Partnership Working with Notes and Domino for over 20 years Working with JavaScript technologies and frameworks

More information

NODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js

NODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js NODE.JS SERVER SIDE JAVASCRIPT Introduc)on Node.js Node.js was created by Ryan Dahl starting in 2009. For more information visit: http://www.nodejs.org 1 What about Node.js? 1. JavaScript used in client-side

More information

Thursday, July 19, 12. [Introduction to] Writing nonblocking code... in Node.js and Perl

Thursday, July 19, 12. [Introduction to] Writing nonblocking code... in Node.js and Perl [Introduction to] Writing nonblocking code... in Node.js and Perl Problems solved Standard programming = sequential execution Long running statements block Non-blocking programming = do more stuff in the

More information

FunctionGraph. Best Practices. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD.

FunctionGraph. Best Practices. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 05 Date 2018-09-12 HUAWEI TECHNOLOGIES CO., LTD. Copyright Huawei Technologies Co., Ltd. 2018. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any

More information

Node.js. Node.js Overview. CS144: Web Applications

Node.js. Node.js Overview. CS144: Web Applications Node.js Node.js Overview JavaScript runtime environment based on Chrome V8 JavaScript engine Allows JavaScript to run on any computer JavaScript everywhere! On browsers and servers! Intended to run directly

More information

How we scaled push messaging for millions of Netflix devices. Susheel Aroskar Cloud Gateway

How we scaled push messaging for millions of Netflix devices. Susheel Aroskar Cloud Gateway How we scaled push messaging for millions of Netflix devices Susheel Aroskar Cloud Gateway Why do we need push? How I spend my time in Netflix application... What is push? What is push? How you can build

More information

Apple. Massive Scale Deployment / Connectivity. This is not a contribution

Apple. Massive Scale Deployment / Connectivity. This is not a contribution Netty @ Apple Massive Scale Deployment / Connectivity Norman Maurer Senior Software Engineer @ Apple Core Developer of Netty Formerly worked @ Red Hat as Netty Project Lead (internal Red Hat) Author of

More information

Corey Clark PhD Daniel Montgomery

Corey Clark PhD Daniel Montgomery Corey Clark PhD Daniel Montgomery Web Dev Platform Cross Platform Cross Browser WebGL HTML5 Web Socket Web Worker Hardware Acceleration Optimized Communication Channel Parallel Processing JaHOVA OS Kernel

More information

Full Stack boot camp

Full Stack boot camp Name Full Stack boot camp Duration (Hours) JavaScript Programming 56 Git 8 Front End Development Basics 24 Typescript 8 React Basics 40 E2E Testing 8 Build & Setup 8 Advanced JavaScript 48 NodeJS 24 Building

More information

Backend Development. SWE 432, Fall Web Application Development

Backend Development. SWE 432, Fall Web Application Development Backend Development SWE 432, Fall 2018 Web Application Development Review: Async Programming Example 1 second each Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy

More information

NODE.JS - NET MODULE

NODE.JS - NET MODULE NODE.JS - NET MODULE http://www.tutorialspoint.com/nodejs/nodejs_net_module.htm Copyright tutorialspoint.com Node.js net module is used to create both servers and clients. This module provides an aynchronous

More information

Developer Internship Opportunity at I-CC

Developer Internship Opportunity at I-CC Developer Internship Opportunity at I-CC Who We Are: Technology company building next generation publishing and e-commerce solutions Aiming to become a leading European Internet technology company by 2015

More information

this presentation code is on https://github.com/gabrielelana/node-examples

this presentation code is on https://github.com/gabrielelana/node-examples this presentation code is on https://github.com/gabrielelana/node-examples gabriele lana gabriele.lana@cleancode.it twitter: @gabrielelana this presentation code is on https://github.com/gabrielelana/node-examples

More information

delegator Documentation

delegator Documentation delegator Documentation Release 1.0.1 Daniel Knell August 25, 2014 Contents 1 Getting Started 3 1.1 Installation................................................ 3 1.2 Quickstart................................................

More information

Agenda. About Me JDriven The case : Westy Tracking Background Architecture Implementation Demo

Agenda. About Me JDriven The case : Westy Tracking Background Architecture Implementation Demo y t s e W g n i k c a r T and l a v a j # 6 1 h c r 8 Ma Agenda About Me JDriven The case : Westy Tracking Background Architecture Implementation Demo About me Proud dad of two kids and a '82 VW Westy

More information

Serverless Architecture meets Continous Delivery

Serverless Architecture meets Continous Delivery Serverless Architecture meets Continous Delivery Alex Krause alex.krause@cosee.biz @alex0ptr Andreas Mohrhard andreas.mohrhard@cosee.biz @amohrhard https://twitter.com/jeffbarr/status/805175000906928128

More information

DOT NET COURSE BROCHURE

DOT NET COURSE BROCHURE Page 1 1Pointer Technology Chacko Towers,Anna nagar Main Road, Anna Nager(Annai Insititute 2nd Floor) Pondicherry-05 Mobile :+91-9600444787,9487662326 Website : http://www.1pointer.com/ Email : info@1pointer.com/onepointertechnology@gmail.com

More information

Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet

Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet www.intel-software-academic-program.com paul.guermonprez@intel.com Intel Software 2014-02-01 Prerequisites and

More information

When learning coding, be brave

When learning coding, be brave Who am I? Web Technology Overview with a focus on JavaScript-based technologies Lawrence Yao l.yao@unsw.edu.au Lawrence Yao UNSW casual staff Developer Analyst at YTML Consulting Email me if you need technical

More information

Conversing in the Cloud. Ryan Kupfer, Scott Wetter, Bryan Welfel, Shekhar Pradhan

Conversing in the Cloud. Ryan Kupfer, Scott Wetter, Bryan Welfel, Shekhar Pradhan Conversing in the Cloud Ryan Kupfer, Scott Wetter, Bryan Welfel, Shekhar Pradhan Outline MixPool defined The hurdles A prime example of an application utilizing cloud technology The technologies The architecture

More information

Masters in Web Development

Masters in Web Development Masters in Web Development Accelerate your carrer by learning Web Development from Industry Experts. www.techgrad.in India s Leading Digital marketing Institute India s Leading Accademy 12,234+ Trainees

More information

Serverless in the Java ecosystem

Serverless in the Java ecosystem Serverless in the Java ecosystem Pratik Patel Pratik PateL CTO Triplingo Java Champion JavaScript Troublemaker Python Hacker Founder, PERL recovery group WHAT IS SERVERLESS? ARCHITECTURE ECOSYSTEM SERVERLESS

More information

Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web Backend Development SWE 432, Fall 2017 Design and Implementation of Software for the Web Real World Example https://qz.com/1073221/the-hackers-who-broke-into-equifax-exploited-a-nine-year-old-security-flaw/

More information

Adventures with BaseX and web applications. Andy Feb 2013

Adventures with BaseX and web applications. Andy Feb 2013 Adventures with BaseX and web applications Andy Bunce @apb1704 Feb 2013 BaseX and the Web GraphXQ RESTXQ + Graphviz ( Using a PaaS ) CellarXQ Angular.js + OAuth BaseX with Node.js + events RESTXQ http://docs.basex.org/wiki/restxq

More information

IEMS 5722 Mobile Network Programming and Distributed Server Architecture

IEMS 5722 Mobile Network Programming and Distributed Server Architecture Department of Information Engineering, CUHK MScIE 2 nd Semester, 2016/17 IEMS 5722 Mobile Network Programming and Distributed Server Architecture Lecture 10 Web Sockets for Real-time Communications Lecturer:

More information

Performance Case Study

Performance Case Study Performance Case Study @Fabian_Frank Yahoo! Search, Engineer Youthmedia.eu, Volunteer A Dynamic Website self-contained App self-contained App self-contained App node v0.4.x multi-core

More information

Application Acceleration Beyond Flash Storage

Application Acceleration Beyond Flash Storage Application Acceleration Beyond Flash Storage Session 303C Mellanox Technologies Flash Memory Summit July 2014 Accelerating Applications, Step-by-Step First Steps Make compute fast Moore s Law Make storage

More information

BraindumpsQA. IT Exam Study materials / Braindumps

BraindumpsQA.  IT Exam Study materials / Braindumps BraindumpsQA http://www.braindumpsqa.com IT Exam Study materials / Braindumps Exam : 70-532 Title : Developing Microsoft Azure Solutions Vendor : Microsoft Version : DEMO Get Latest & Valid 70-532 Exam's

More information

Javascript. Some tools for building web- based groupware. Javascript. Javascript. Master Informa-que - Université Paris- Sud 1/15/14

Javascript. Some tools for building web- based groupware. Javascript. Javascript. Master Informa-que - Université Paris- Sud 1/15/14 Some tools for building web- based groupware Michel Beaudouin- Lafon mbl@lri.fr More powerful than you think Func-onal: func-ons are first- class objects func%on map(a, f) { var sum = 0; for (var i = 0;

More information

A RESTful Java Framework for Asynchronous High-Speed Ingest

A RESTful Java Framework for Asynchronous High-Speed Ingest A RESTful Java Framework for Asynchronous High-Speed Ingest Pablo Silberkasten Jean De Lavarene Kuassi Mensah JDBC Product Development October 5, 2017 3 Safe Harbor Statement The following is intended

More information

IERG 4080 Building Scalable Internet-based Services

IERG 4080 Building Scalable Internet-based Services Department of Information Engineering, CUHK MScIE 2 nd Semester, 2015/16 IERG 4080 Building Scalable Internet-based Services Lecture 9 Web Sockets for Real-time Communications Lecturer: Albert C. M. Au

More information

Serverless Architecture meets Continuous Delivery. Andreas

Serverless Architecture meets Continuous Delivery. Andreas Serverless Architecture meets Continuous Delivery Andreas Mohrhard andreas.mohrhard@cosee.biz @amohrhard ANDREAS MOHRHARD Cloud Engineer @ cosee Expert on AWS topics Software engineer with focus on Java

More information

Outline. 1. Load Testing 2. Frontend Tips 3. Server-side Tips

Outline. 1. Load Testing 2. Frontend Tips 3. Server-side Tips Performance Outline 1. Load Testing 2. Frontend Tips 3. Server-side Tips Load Testing Load testing is the process of putting demand on a system or device and measuring its response. Load testing is performed

More information

LECTURE 7. Web-Technology

LECTURE 7. Web-Technology LECTURE 7 Web-Technology Client-Server Architecture 2 Models of computing Standalone computing Mainframe computing o Terminal access, teleprocessing, time sharing File server o Central storage, distributed

More information

Enabling Full-Duplex Communications in APEX

Enabling Full-Duplex Communications in APEX Enabling Full-Duplex Communications in APEX Me Curt Workman - workmancw@ldschurch.org Education University of Utah Work Micron Electronics Evans&Sutherland The Church of Jesus Christ of Latter-Day Saints

More information

Apache, PHP, and MySQL on Itanium Challenges and Goodies

Apache, PHP, and MySQL on Itanium Challenges and Goodies Apache, PHP, and MySQL on Itanium Challenges and Goodies Migrating PATHWAY applications from Screen Cobol to web-based GUIs ETUG 10-12 November 2008 Christian Weber Index About my person Why migrating

More information

Networking & The Web. HCID 520 User Interface Software & Technology

Networking & The Web. HCID 520 User Interface Software & Technology Networking & The Web HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol

More information

get() method, 119, 190 Google s V8 JavaScript engine, 1

get() method, 119, 190 Google s V8 JavaScript engine, 1 Index A addeventlistener() method, 208 add() method, 235 address() method, 152 ArrayBuffer Views bytelength, 118 byteoffset, 119 constructor information, 117 data values, 118 description of, 115 empty

More information

Persistence. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Persistence. SWE 432, Fall 2017 Design and Implementation of Software for the Web Persistence SWE 432, Fall 2017 Design and Implementation of Software for the Web Today Demo: Promises and Timers What is state in a web application? How do we store it, and how do we choose where to store

More information

Hackveda Appsec Labs Java Programming Course and Internship Program Description:

Hackveda Appsec Labs Java Programming Course and Internship Program Description: Hackveda Appsec Labs Java Programming Course and Internship Program Description: The training program includes a complete training of java core and advanced concepts. After the training program students

More information

NoSQL & Firebase. SWE 432, Fall Web Application Development

NoSQL & Firebase. SWE 432, Fall Web Application Development NoSQL & Firebase SWE 432, Fall 2018 Web Application Development Review: Nouns vs. Verbs URIs should hierarchically identify nouns describing resources that exist Verbs describing actions that can be taken

More information

Edge Foundational Training

Edge Foundational Training Edge Foundational Training Give your team the tools to get up and running with Edge Edge Foundational Training provides the tools and information needed to start using Edge whether in the cloud or on premises.

More information

Getting Started With NodeJS Feature Flags

Getting Started With NodeJS Feature Flags Guide Getting Started With NodeJS Feature Flags INTRO We ve all done it at some point: thrown a conditional around a piece of code to enable or disable it. When it comes to feature flags, this is about

More information

Red Hat Mobile Application Platform Hosted 3

Red Hat Mobile Application Platform Hosted 3 Red Hat Mobile Application Platform Hosted 3 Getting Started For Red Hat Mobile Application Platform Hosted 3 Last Updated: 2018-11-15 Red Hat Mobile Application Platform Hosted 3 Getting Started For

More information

Let s say that hosting a cloudbased application is like car ownership

Let s say that hosting a cloudbased application is like car ownership Let s say that hosting a cloudbased application is like car ownership Azure App Service App Service Features & Capabilities All features and capabilities are shared across all of App Service application

More information

Real Life Web Development. Joseph Paul Cohen

Real Life Web Development. Joseph Paul Cohen Real Life Web Development Joseph Paul Cohen joecohen@cs.umb.edu Index 201 - The code 404 - How to run it? 500 - Your code is broken? 200 - Someone broke into your server? 400 - How are people using your

More information

Copyright by Object Computing, Inc. (OCI). All rights reserved. Strata

Copyright by Object Computing, Inc. (OCI). All rights reserved. Strata Overview npm install [-g] strata var strata = require('strata'); Node.js streaming HTTP server Based on Web Server Gateway Interface (WSGI) - a Python standard at http://wsgi.org Rack - a Ruby Webserver

More information

Application monitoring with BELK. Nishant Sahay, Sr. Architect Bhavani Ananth, Architect

Application monitoring with BELK. Nishant Sahay, Sr. Architect Bhavani Ananth, Architect Application monitoring with BELK Nishant Sahay, Sr. Architect Bhavani Ananth, Architect Why logs Business PoV Input Data Analytics User Interactions /Behavior End user Experience/ Improvements 2017 Wipro

More information

Delphi XE. Delphi XE Datasheet

Delphi XE. Delphi XE Datasheet Delphi XE Datasheet DATASHEET Delphi XE Embarcadero Delphi XE is the fastest way to deliver ultrarich, ultra-fast Windows applications. Used by millions of developers, Delphi combines a leading-edge object-oriented

More information

Open Source Library Developer & IT Pro

Open Source Library Developer & IT Pro Open Source Library Developer & IT Pro Databases LEV 5 00:00:00 NoSQL/MongoDB: Buildout to Going Live INT 5 02:15:11 NoSQL/MongoDB: Implementation of AngularJS INT 2 00:59:55 NoSQL: What is NoSQL INT 4

More information

RAD Studio XE Datasheet

RAD Studio XE Datasheet RAD Studio XE Datasheet DATASHEET Embarcadero RAD Studio XE Complete solution for Windows,.NET, PHP and Web application development Embarcadero RAD Studio XE is a comprehensive rapid application development

More information

ElasterStack 3.2 User Administration Guide - Advanced Zone

ElasterStack 3.2 User Administration Guide - Advanced Zone ElasterStack 3.2 User Administration Guide - Advanced Zone With Advance Zone Configuration TCloud Computing Inc. 6/22/2012 Copyright 2012 by TCloud Computing, Inc. All rights reserved. This document is

More information

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error The request returns http 200 OK, but the xhr status is 0, error. jquery Ajax Request to get JSON data fires error event to make an ajax

More information

Cisco Configuration Engine 2.0

Cisco Configuration Engine 2.0 Cisco Configuration Engine 2.0 The Cisco Configuration Engine provides a unified, secure solution for automating the deployment of Cisco customer premises equipment (CPE). This scalable product distributes

More information

A Web Service for Scholarly Big Data Information Extraction

A Web Service for Scholarly Big Data Information Extraction A Web Service for Scholarly Big Data Information Extraction Kyle Williams, Lichi Li, Madian Khabsa, Jian Wu, Patrick C. Shih and C. Lee Giles Information Sciences and Technology Computer Science and Engineering

More information

From the Beginning: Your First Node.js Web Service

From the Beginning: Your First Node.js Web Service From the Beginning: Your First Node.js Web Service P. Venkatramen Data Access Development Oracle Database 10 April 2018 Copyright 2017, Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement

More information

Kurento Real Time Media Stream Processing. Juan Ángel Fuentes Software Developer. Stream Oriented GE

Kurento Real Time Media Stream Processing. Juan Ángel Fuentes Software Developer. Stream Oriented GE Kurento Real Time Media Stream Processing Juan Ángel Fuentes Software Developer. Stream Oriented GE jafuentes@naevatec.com Introducing multimedia infrastructures Peer-to-Peer Application (without media

More information

We are assuming you have node installed!

We are assuming you have node installed! Node.js Hosting We are assuming you have node installed! This lesson assumes you've installed and are a bit familiar with JavaScript and node.js. If you do not have node, you can download and install it

More information

CDM.DEPAUL.EDU MASSIMO DI PIERRO

CDM.DEPAUL.EDU MASSIMO DI PIERRO CDM.DEPAUL.EDU 90 full time faculty 300 courses/quarter 1858 graduate students in 20 programs (CS, IS,...) 1763 undergraduate students in 16 programs DHS and NSA center of excellence MASSIMO DI PIERRO

More information

ArcGIS for Server: Administration and Security. Amr Wahba

ArcGIS for Server: Administration and Security. Amr Wahba ArcGIS for Server: Administration and Security Amr Wahba awahba@esri.com Agenda ArcGIS Server architecture Distributing and scaling components Implementing security Monitoring server logs Automating server

More information

Nubo on premise POC requirements for VMWare ESXi

Nubo on premise POC requirements for VMWare ESXi for VMWare ESXi Version 1 Date October, 2015 page 1 Table of Contents 1. About this document 2. Nubo POC Architecture Diagram 3. Hardware Requirements 4. Software Requirements 5. Network & Settings Requirements

More information

Finagle your application to prevent outages using Twitter s Finagle. Presenters: Brian Ko and Mike Pallas, Behr Paint Company

Finagle your application to prevent outages using Twitter s Finagle. Presenters: Brian Ko and Mike Pallas, Behr Paint Company Finagle your application to prevent outages using Twitter s Finagle Presenters: Brian Ko and Mike Pallas, Behr Paint Company Behr Paint RPC History Corba EJB Web Services (eg. SOAP) JMS REST ESB RPC Servers

More information

This tutorial is meant for software developers who want to learn how to lose less time on API integrations!

This tutorial is meant for software developers who want to learn how to lose less time on API integrations! CloudRail About the Tutorial CloudRail is an API integration solution that speeds up the process of integrating third-party APIs into an application and maintaining them. It does so by providing libraries

More information

AT&T Flow Designer. Current Environment

AT&T Flow Designer. Current Environment AT&T Flow Designer A Visual IoT Application Development environment that includes reusable components, drag & drop design capabilities, team collaboration, and cloud deployment that allows M2M/IoT developers

More information

MySQL & NoSQL: The Best of Both Worlds

MySQL & NoSQL: The Best of Both Worlds MySQL & NoSQL: The Best of Both Worlds Mario Beck Principal Sales Consultant MySQL mario.beck@oracle.com 1 Copyright 2012, Oracle and/or its affiliates. All rights Safe Harbour Statement The following

More information

JavaScript on the Command Line & PRATIK PATEL CTO TripLingo Labs

JavaScript on the Command Line & PRATIK PATEL CTO TripLingo Labs JavaScript on the Command Line & Server @prpatel TripLingo Labs PRATIK@mypatelspace.com Topics Modern JavaScript Why? Ecosystem Node Grunt Yesterday s JavaScript Today s JavaScript is cool What s changed?

More information

Practical Node.js. Building Real-World Scalable Web Apps. Apress* Azat Mardan

Practical Node.js. Building Real-World Scalable Web Apps. Apress* Azat Mardan Practical Node.js Building Real-World Scalable Web Apps Azat Mardan Apress* Contents About the Author About the Technical Reviewer Acknowledgments Introduction xv xvii xix xxi Chapter 1: Setting up Node.js

More information

Modern app programming

Modern app programming Modern app programming with RxJava and Eclipse Vert.x #QConSP @vertx_project Who am I? Vert.x core team member since 2016 Working at since 2012 Contributing specifically to monitoring and clustering @tsegismont

More information

COS 333: Advanced Programming Techniques. Copyright 2017 by Robert M. Dondero, Ph.D. Princeton University

COS 333: Advanced Programming Techniques. Copyright 2017 by Robert M. Dondero, Ph.D. Princeton University COS 333: Advanced Programming Techniques Copyright 2017 by Robert M. Dondero, Ph.D. Princeton University 1 Agenda Introductions Course Overview Resources Topics Assignments Project (briefly) Schedule (briefly)

More information

TRex Realistic Traffic Generator

TRex Realistic Traffic Generator DEVNET-1120 TRex Realistic Traffic Generator Hanoch Haim, Principal Engineer Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the Cisco

More information

KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE. Wednesday, September 11, 13

KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE. Wednesday, September 11, 13 KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE TYLER BAKER TECHNICAL ARCHITECT HTTP://WWW.LINARO.ORG LAVA DEVELOPER LAVA EVANGELIST FORMER PLATFORM ENGINEER KERNEL HACKER MT. BAKER, WA LAVA

More information

CSC443: Web Programming 2

CSC443: Web Programming 2 CSC443: Web Programming Lecture 20: Web Sockets Haidar M. Harmanani HTML5 WebSocket Standardized by IETF in 2011. Supported by most major browsers including Google Chrome, Internet Explorer, Firefox, Safari

More information

IEMS 5722 Mobile Network Programming and Distributed Server Architecture

IEMS 5722 Mobile Network Programming and Distributed Server Architecture Department of Information Engineering, CUHK MScIE 2 nd Semester, 2016/17 IEMS 5722 Mobile Network Programming and Distributed Server Architecture Lecture 1 Course Introduction Lecturer: Albert C. M. Au

More information

MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M

MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M COURSE OBJECTIVES Enable participants to develop a complete web application from the scratch that includes

More information

User Workspace Management

User Workspace Management Access the Interface, page 1 User Management Workspace User Types, page 4 Projects (Admin User), page 5 Users (Admin User), page 9 CML Server (Admin User), page 11 Connectivity, page 30 Using the VM Control

More information

MongoDB Web Architecture

MongoDB Web Architecture MongoDB Web Architecture MongoDB MongoDB is an open-source, NoSQL database that uses a JSON-like (BSON) document-oriented model. Data is stored in collections (rather than tables). - Uses dynamic schemas

More information