Your SlideShare is downloading. ×
0
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Node.js, for architects - OpenSlava 2013
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Node.js, for architects - OpenSlava 2013

9,239

Published on

These are the slides that were used for my presentation on Node.js in OpenSlava 2013 (October 11th, 2013, Bratislava) and provide an introduction to Node.js as well as analyze the potential effects of …

These are the slides that were used for my presentation on Node.js in OpenSlava 2013 (October 11th, 2013, Bratislava) and provide an introduction to Node.js as well as analyze the potential effects of introducing Node.js in an enterprise and from an architectural perspective.

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

No Downloads
Views
Total Views
9,239
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
18
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Unashamedly inspired by: http://www.slideshare.net/sergimansilla/big-app-design-for-nodejs (slide 11)
  • Other approaches to deal with application parallelism:Onethread per connection – thereisanupperlimittothenumber of concurrentthreads, and thereis a memoryoverhead per threadFork a new process per connection – same as above; limitedbytheoperatingsystemprocessscheduler, and processes are heavierthanthreadsSynchronous – don’tbotherwithparallelprocessingNode.js’ approachtoparallelismscalesbetter and uses lessmemorytoprocess a largeramount of connections – butitrequiresthatwebuildapplicationsthat are not CPU-bound
  • Node-restifyisusedhere, butit can all be accomplishedwithout a frameworktoo.
  • JSON is Javascript’s native serialization formatIntegrates very well with things like JSON-based APIs,MongoDB, etc – things that speak JSON natively
  • http://www.meteor.com
  • Note on “boring CRUD-type web apps”: Node.jsframeworksdon’tmakeitneithereasiernor more difficulttowritetraditional web apps; Node.js and itsframeworksjustsimplymake no differencehere
  • Imagecredit: http://www.allmystery.de/i/bk33NhA_ayZYgl_USS_Enterprise_NCC_1701_A_by_cb93.jpg
  • https://groups.google.com/d/topic/nodejs/9afurRCTlOc/discussion
  • Note: Diagram inspired fromhttp://www.slideshare.net/BenLin2/webconf-nodejsproductionarchitectureNode.js processes are single threaded so scalability within the same server is dependent on the number of node processes that we run.In order to load balance the load within the same server, we can use a traditional load balancer running locally.The next step is to scale multiple servers, for which we need an additional load balanced layer on top of the local instances.Database/storage tier can be scaled according to the type of solution in use.
  • Imagesource: http://drtom.ch/talks/2012/06/jazoon/images/tip_of_the_iceberg.jpgOriginal idea:https://speakerdeck.com/anguscroll/the-politics-of-javascript
  • JavaScript is not better or worse than other languages; but it may look more accessible and easier to learn than it actually is.
  • Grunt = Ant,MavenYeoman = Maven, someparts of itincludingarchetypes (“generators” in Yeomanese)
  • Thereis no substitutefor a compilerNo provensuccess of Node.jsapplications in theenterpriseworld, yet
  • ×