Featured Post

15 Python Tips : How to Write Code Effectively

Image
 Here are some Python tips to keep in mind that will help you write clean, efficient, and bug-free code.     Python Tips for Effective Coding 1. Code Readability and PEP 8  Always aim for clean and readable code by following PEP 8 guidelines.  Use meaningful variable names, avoid excessively long lines (stick to 79 characters), and organize imports properly. 2. Use List Comprehensions List comprehensions are concise and often faster than regular for-loops. Example: squares = [x**2 for x in range(10)] instead of creating an empty list and appending each square value. 3. Take Advantage of Python’s Built-in Libraries  Libraries like itertools, collections, math, and datetime provide powerful functions and data structures that can simplify your code.   For example, collections.Counter can quickly count elements in a list, and itertools.chain can flatten nested lists. 4. Use enumerate Instead of Range     When you need both the index ...

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

How to Fix datetime Import Error in Python Quickly

SQL Query: 3 Methods for Calculating Cumulative SUM

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