Featured Post

Python Set Operations Explained: From Theory to Real-Time Applications

Image
A  set  in Python is an unordered collection of unique elements. It is useful when storing distinct values and performing operations like union, intersection, or difference. Real-Time Example: Removing Duplicate Customer Emails in a Marketing Campaign Imagine you are working on an email marketing campaign for your company. You have a list of customer emails, but some are duplicated. Using a set , you can remove duplicates efficiently before sending emails. Code Example: # List of customer emails (some duplicates) customer_emails = [ "alice@example.com" , "bob@example.com" , "charlie@example.com" , "alice@example.com" , "david@example.com" , "bob@example.com" ] # Convert list to a set to remove duplicates unique_emails = set (customer_emails) # Convert back to a list (if needed) unique_email_list = list (unique_emails) # Print the unique emails print ( "Unique customer emails:" , unique_email_list) Ou...

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.

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)

5 SQL Queries That Popularly Used in Data Analysis