Sunday, February 26, 2017
Friday, February 17, 2017
Thursday, February 16, 2017
Hypervisors
A hypervisor or virtual machine monitor (VMM) is computer software, firmware, or hardware, that creates and runs virtual machines.
A computer on which a hypervisor runs one or more virtual machines is called a host machine, and each virtual machine is called a guest machine. The hypervisor presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems.
There are 2 types of hypervisor
Wednesday, February 15, 2017
Node as web server using HTTP
HTTP
To use HTTP server and client one must use ('http');The HTTP interface in node are designed to support many features of the protocol which have been traditionally difficult to use.
In particular large chunk-encoded, messages.The interface is careful to never buffer entire requests or responses.
Monday, February 13, 2017
Angular 2 HTTP Requests with Observables
We use an http client to talk to a remote server.
- The Angular Http client communicates with the server using a familiar HTTP request/response protocol. The Http client is one of a family of services in the Angular HTTP library.
- Before you can use the Http client, you need to register it as a service provider with the dependency injection system.
Subscribing to an observable in angular2
- Observable are similar to promises but with major difference that make them better.
- Observables is an ES7 feature which means you need to make use of an external library to use it today. RxJS is a good one. RxJS also provides Observable operators which you can use to manipulate the data being emitted. Some of these operators are:
Tuesday, February 7, 2017
Measures for cost saving in the cloud
It is usually a better choice to select Paas (Platform as service) over Iaas (Infrastructure as service).If we spin off a VM in the cloud we need to start paying for it as soon as it is ready and running.
If we choose Paas we need to be smart for cost saving in the cloud.
If we choose Paas we need to be smart for cost saving in the cloud.
- Scale down resource if we can
- Turn off or decommission resources
- Develop with cost in mind
- Measure the usage of the applications
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
Friday, February 3, 2017
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#community2) Install mongodb by following the instructions
Subscribe to:
Posts (Atom)
Labels
- Algorithms (52)
- Apache Kafka (7)
- Apache Spark (21)
- Architecture (8)
- Arrays (23)
- Big Data (98)
- Cloud services (6)
- Cognitive technologies (12)
- Data Analytics (3)
- Data Science (6)
- Design (1)
- devOps (1)
- Hadoop (26)
- Hive (11)
- Java (2)
- JavaScript (65)
- JavaScript Run-time (12)
- Machine learning (11)
- Maths (6)
- mongoDb (2)
- MySQL (1)
- Networking (3)
- No SQL (2)
- Node (20)
- Python (28)
- Security (4)
- Spark Grpahx (1)
- Spark MLlib (1)
- Spark Sql (3)
- Spark Streaming (4)
- SQL (40)
- Sqoop (2)
- ssis (3)
- Strings (13)