+
Javascript as a data
processing language &
htlm5 integration
Qcon London 2013 – Quentin ADAM
InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese an...
Presented at QCon London
www.qconlondon.com
Purpose of QCon
- to empower software development by facilitating the spread o...
+
Who I am ?
n  Quentin ADAM
n  @waxzce on twitter
n  CEO of Clever Cloud, the most
powerful PaaS in Europe ;-)
clever
...
+Why we have to talk about
data processing ?
+
Big change in software industry
n  One instance
n  One organization
n  One data repository
n  One instance (distribu...
+
Instance for one
Organization
ACID
• Atomicity
• Consistency
• Isolation
• Durability
Powerful
data
management
•  Transa...
+
But it designs a bottleneck
+
Example : e-shop on classic mode
+
Example : e-shop on classic mode
User A buy a
hdd
Database Transaction :
•  Stock management
•  Order management
•  Invo...
+
Example : e-shop on classic mode
User A buy a
hdd
Database Transaction :
•  Stock management
•  Order management
•  Invo...
+
Example : e-shop on multi-tenant
mode
n  i.e. : Multiple shop of various sellers on the same instance
+
Example : e-shop on multi-tenant
mode
User A buy a
hdd on seller A
Database Transaction :
•  Stock management
•  Order m...
+
Who care the
synchronization of vendor
A & B ?
+
Destroy the bottle
neck and switch to
another storage
system
This is why the noSQL movement
start.
+
noSQL = not only SQL
+Now talking about how to get
data from storage
+ SQL don’t solve all the data processing
expression.
+
Some javascripts facts
n  Run for server needs at the beginning
n  Netscape Server in 1996, and then in IIS
n  Clearl...
+
So, can we use
javascript as a data
processing
language ?
+
Data processing is focus on
n  Find
n  Filter
n  Manage collection
n  CRUD order
+
Map / reduce => the big bang of
new data processing
n  Atomize the problem
n  Easy to parallelize
n  From the functio...
+
Do you wanna some functional
programing ?
Javascript is so flexible than we can apply several
patern on top of the langu...
+
And map/reduce ?
+
NoSQL we can considerate for
example
n  Object Store
n  Key/Value with documents capacities
n  Pure Document
n  Colu...
+
NoSQL we can considerate for
example
n  Object Store
n  Key/Value with documents capacities
n  Pure Document
n  Colu...
+
And one more !
With localStorage features
+
JSON domination
n  Store
n  Processing n  Access
+
Example with riak
n  Key/Value
n  http REST & protobuff data API
n  Store JSON data on a URL
n  Very good distributi...
+
Example with riak map/reduce
+
Put some real time
n  Lots lots of noSQL DB handle a _change_ pipe :
n  All datas and updates stream
n  Bind it on a ...
+
Data as a Service
API clients
•  Full web client : html5
+ local storage
•  Mobile : phonegapp
or native
•  Other server...
+
Data as a Service
n  Data as others service
n  With the same language the application
n  Build sync algorithm to star...
+
DataBase as a Service
n  Xeround
n  Amazon dynamo
n  Lots of heroku addon
n  Kinvey
PaaS
+
Transparent data consumption
n  Webkit JavaScriptCore
n  REST / JSON
n  Data Classes
n  auto-updatable
n  accessors...
+
Wakanda example
http://play.wakanda.org/
+
How to start ?
+
Find a toy project
+
Use hosted services
n  Less ops footprint
n  No more instalation
n  Quick learn curve
n  Focus on your needs & values
+ Innovate & write kick ass
apps
+
Thx for Listening & Q/A time
clever
c l o u d
http://twitter.com/waxzce
Quentin ADAM on google ;-)
quentin.adam@clever-c...
Upcoming SlideShare
Loading in...5
×

JavaScript as Data Processing Language & HTML5 Integration

546

Published on

Video and slides synchronized, mp3 and slide download available at http://bit.ly/15yAwdV.

Quentin Adam discusses the connections between NoSQL, data processing, message broking and JavaScript, and how one can quickly prototype with these tools. Filmed at qconlondon.com.

Quentin Adam is the CEO of Clever Cloud, a disruptive Platform as a Service allowing PHP, Java, Scala, Ruby or Node.JS apps to run directly as they are, quickly, with auto scaling of the resources they need. Quentin is an early server-side JavaScript evangelist, Scala enthusiastic, a JVM lover and distributed architecture user. Apart from Clever Cloud, he's also the founder of CompanyCamp.us.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
546
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of " JavaScript as Data Processing Language & HTML5 Integration"

  1. 1. + Javascript as a data processing language & htlm5 integration Qcon London 2013 – Quentin ADAM
  2. 2. InfoQ.com: News & Community Site • 750,000 unique visitors/month • Published in 4 languages (English, Chinese, Japanese and Brazilian Portuguese) • Post content from our QCon conferences • News 15-20 / week • Articles 3-4 / week • Presentations (videos) 12-15 / week • Interviews 2-3 / week • Books 1 / month Watch the video with slide synchronization on InfoQ.com! http://www.infoq.com/presentations /javascript-data-processing-html5
  3. 3. Presented at QCon London www.qconlondon.com Purpose of QCon - to empower software development by facilitating the spread of knowledge and innovation Strategy - practitioner-driven conference designed for YOU: influencers of change and innovation in your teams - speakers and topics driving the evolution and innovation - connecting and catalyzing the influencers and innovators Highlights - attended by more than 12,000 delegates since 2007 - held in 9 cities worldwide
  4. 4. + Who I am ? n  Quentin ADAM n  @waxzce on twitter n  CEO of Clever Cloud, the most powerful PaaS in Europe ;-) clever c l o u d
  5. 5. +Why we have to talk about data processing ?
  6. 6. + Big change in software industry n  One instance n  One organization n  One data repository n  One instance (distributed) n  Multiple organization + a lot of users n  One data repository Yesteday Now Multi-tenant
  7. 7. + Instance for one Organization ACID • Atomicity • Consistency • Isolation • Durability Powerful data management •  Transaction •  User management •  One above one Take advantage of ACID database
  8. 8. + But it designs a bottleneck
  9. 9. + Example : e-shop on classic mode
  10. 10. + Example : e-shop on classic mode User A buy a hdd Database Transaction : •  Stock management •  Order management •  Invoice generation •  Customer Account reward •  … Transaction user A is processed Stock & Order are just perfectly synchronize
  11. 11. + Example : e-shop on classic mode User A buy a hdd Database Transaction : •  Stock management •  Order management •  Invoice generation •  Customer Account reward •  … Transaction user A is processed Stock & Order are just perfectly synchronize User B buy a hdd Transaction user B is processed then
  12. 12. + Example : e-shop on multi-tenant mode n  i.e. : Multiple shop of various sellers on the same instance
  13. 13. + Example : e-shop on multi-tenant mode User A buy a hdd on seller A Database Transaction : •  Stock management •  Order management •  Invoice generation •  Customer Account reward •  … Transaction user A is processed Stock & Order are just perfectly synchronize User B buy a book on seller B Transaction user B is processed then
  14. 14. + Who care the synchronization of vendor A & B ?
  15. 15. + Destroy the bottle neck and switch to another storage system This is why the noSQL movement start.
  16. 16. + noSQL = not only SQL
  17. 17. +Now talking about how to get data from storage
  18. 18. + SQL don’t solve all the data processing expression.
  19. 19. + Some javascripts facts n  Run for server needs at the beginning n  Netscape Server in 1996, and then in IIS n  Clearly a major language n  Run on n  Browser n  Mobile n  Servers n  Easy to integrate n  Most peoples know it n  Most used language on github n  Event driven
  20. 20. + So, can we use javascript as a data processing language ?
  21. 21. + Data processing is focus on n  Find n  Filter n  Manage collection n  CRUD order
  22. 22. + Map / reduce => the big bang of new data processing n  Atomize the problem n  Easy to parallelize n  From the functional programing model Get the result Reduce : filter data & aggregate Map : transform data to what you need (apply function) Get a k/v data
  23. 23. + Do you wanna some functional programing ? Javascript is so flexible than we can apply several patern on top of the language
  24. 24. + And map/reduce ?
  25. 25. + NoSQL we can considerate for example n  Object Store n  Key/Value with documents capacities n  Pure Document n  Column based
  26. 26. + NoSQL we can considerate for example n  Object Store n  Key/Value with documents capacities n  Pure Document n  Column based
  27. 27. + And one more ! With localStorage features
  28. 28. + JSON domination n  Store n  Processing n  Access
  29. 29. + Example with riak n  Key/Value n  http REST & protobuff data API n  Store JSON data on a URL n  Very good distribution n  Good performances
  30. 30. + Example with riak map/reduce
  31. 31. + Put some real time n  Lots lots of noSQL DB handle a _change_ pipe : n  All datas and updates stream n  Bind it on a websocket : put some real time on your application
  32. 32. + Data as a Service API clients •  Full web client : html5 + local storage •  Mobile : phonegapp or native •  Other servers app API RESTFull Various backen DB
  33. 33. + Data as a Service n  Data as others service n  With the same language the application n  Build sync algorithm to start offline / online software n  Some protocol : atom, gdata, oData n  Some popular API : S3, twitter, EC2… n  Security and access layer : oauth…
  34. 34. + DataBase as a Service n  Xeround n  Amazon dynamo n  Lots of heroku addon n  Kinvey PaaS
  35. 35. + Transparent data consumption n  Webkit JavaScriptCore n  REST / JSON n  Data Classes n  auto-updatable n  accessors n  events n  Methods n  Cool html5 IDE n  Best use case : work oriented app Atomatic data access framework
  36. 36. + Wakanda example http://play.wakanda.org/
  37. 37. + How to start ?
  38. 38. + Find a toy project
  39. 39. + Use hosted services n  Less ops footprint n  No more instalation n  Quick learn curve n  Focus on your needs & values
  40. 40. + Innovate & write kick ass apps
  41. 41. + Thx for Listening & Q/A time clever c l o u d http://twitter.com/waxzce Quentin ADAM on google ;-) quentin.adam@clever-cloud.com n  http://www.clever-cloud.com n  http://engineering.clever-cloud.com/ Thx to the http://qconlondon.com

×