Featured Post

Scraping Website: How to Write a Script in Python

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

Storage area network (SAN): Networks Vs Configurations

These are most popular terms used in Storage area networks area. Every developer must know these terms clearly. Highly useful to explain in interviews. Frequently used terminology in SAN given below for your quick reference. 

SAN Network

  • Fibre channel - Fibre channel denotes a fibre-optical connection to a device or component. This is typically abbreviated as FC.
  • Host bus adapter - A host bus adapter is used by a given machine to access a storage area network. A host bus adapter is similar in function to a network adapter and how it provides access for a machine to a local area network or wide area network. This is typically abbreviated as HBA.
  • Storage area network - A storage area network is a network of shared devices that can typically be accessed using fibre. Often, a storage area network is used to share devices between many different machines. This is typically abbreviated as SAN

SAN Configurations

  • Point to point - This is the simplest configuration. The devices are connected directly to the HBA.
  • Arbitrated loop - Arbitrated loop topologies are ring topologies and are limited in terms of the number of devices that are supported on the loop and the number of devices that can be in use at a given time. In an arbitrated loop, only two devices can communicate at the same time. Data being read from a device or written to a device is passed from one device on the loop to another until it reaches the target device. The main limiting factor in an arbitrated loop is that only two devices can be in use at a given time.
  • Switched fabric - In a switched fabric SAN, all devices in the fabric will be fibre native devices. This topology has the greatest bandwidth and flexibility because all devices are available to all HBAs through some fibre path.


Popular posts from this blog

7 AWS Interview Questions asked in Infosys, TCS

How to Decode TLV Quickly