Tuesday, February 7, 2017

Need for Azure File storage and Redis Cache





  • We are used to In-memory cache for session state or used to store local files to serve as temp files.In azure we cannot rely on this, the reason ,when we use azure platform as a service we would not have single dedicated server. 
  • Resources are abstracted using Azure service fabric.This would take care of the web application running. Even if one of the data center fails, it would magically move to a different data center. This would make sure that our web applications are always running
       In memory cache and local files has to be shifted to Azure local File Storage or Redis cache


Sunday, February 5, 2017

Overview of Apache Spark



             Speed
    • Run programs up to 100x faster than Hadoop MapReduce in memory, or 10x faster on disk (Apache Spark has an advanced DAG execution engine that supports acyclic data flow and in-memory computing.)
           

Friday, February 3, 2017

MongoDB cheat sheet


Steps involved to see the existing database

We need to know that MondoD is the command line and Mongo runs the command line

1) We need to start the mongoDB daemon
2) Go the the bin folder and type mongo
C:\Program Files\MongoDB\Server\3.4\bin>mongo

CSS Preprocessors


Advantages of using CSS Preprocessors

  • Speed
  • Organization ( Can use different files for different screen widths )
  • Modification ( Small changes that cascade through entire style sheets )
  • Minification 
  • Errors

Wednesday, February 1, 2017

First run for mongodb

Steps involved for the first run of mongodb

1) Download the desired flavor of mongodb from https://www.mongodb.com/download-center#community

2) Install mongodb by following the instructions

NodeMon for monitorng Node.js applications


Nodemon: Monitors for any changes in node.js application and automatically restarts the server

Nodeman installation command
C:\Development\NodeProjects\bookstore>npm install -g nodemon

Installation and validation for Express


Installation


1.we can Install express globally or locally
$ npm install express -g

2 .Create package.json file