Featured Post

Scraping Website: How to Write a Script in Python

Image
Here's a python script that you can use as a model to scrape a website. Python script The below logic uses BeautifulSoup Package for web scraping. import requests from bs4 import BeautifulSoup url = 'https://www.example.com' response = requests.get(url) soup = BeautifulSoup(response.text, 'html.parser') # Print the title of the webpage print(soup.title.text) # Print all the links in the webpage for link in soup.find_all('a'):     print(link.get('href')) In this script, we first import the Requests and Beautiful Soup libraries. We then define the URL we want to scrape and use the Requests library to send a GET request to that URL. We then pass the response text to Beautiful Soup to parse the HTML contents of the webpage. We then use Beautiful Soup to extract the title of the webpage and print it to the console. We also use a for loop to find all the links in the webpage and print their href attributes to the console. This is just a basic example, but

How to achieve Virtualization in cloud computing real ideas

In order to run applications on a Cloud, one needs a flexible middleware that eases the development and the deployment process.

Middleware Approach to Deploy Application on Cloud

  1. GridGain provides a middleware that aims to develop and run applications on both public and private Clouds without any changes in the application code. 
  2. It is also possible to write dedicated applications based on the map/reduce programming model. Although GridGain provides a mechanism to seamlessly deploy applications on a grid or a Cloud, it does not support the deployment of the infrastructure itself.
  3. It does, however, provide protocols to discover running GridGain nodes and organize them into topologies (Local Grid, Global Grid, etc.) to run applications on only a subset of all nodes.
    Elastic Grid infrastructure provides dynamic allocation, deployment, and management of Java applications through the Cloud. 
  4. It also offers a Cloud virtualization layer that abstracts specific Cloud computing provider technology to isolate applications from specific implementations

Virtualization in CLOUD Computing

With the rapid expansion of Information Technology (IT) infrastructures in recent years, managing computing resources in enterprise environments has become increasingly complex.

In this context, virtualization technologies have been widely adopted by the industry as a means to enable efficient resource allocation and management, in order to reduce operational costs while improving application performance and reliability.
  1. Generally speaking, virtualization aims at partitioning physical resources into logical resources that can be allocated to applications in a flexible manner.
  2. For instance, server virtualization is a technology that partitions the physical machine into multiple Virtual Machines (VMs), each capable of running applications just like a physical machine. By separating logical resources from the underlying physical resources, server virtualization enables flexible assignment of workloads to physical machines.
  3. This not only allows workload running on multiple virtual machines to be consolidated on a single physical machine but also enables a technique called VM migration, which is the process of dynamically moving a virtual machine from one physical machine to another.

Comments

Popular posts from this blog

7 AWS Interview Questions asked in Infosys, TCS

How to Decode TLV Quickly