Tag

switch

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 26, 2025 · Backend Development

Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto

This article explains Go's flow‑control constructs—including conditional statements, loops, switch branches, and special statements like break, continue, and goto—provides syntax details, highlights key characteristics, and offers multiple code examples to help developers write clear and efficient Go code.

flow controlfor loopgo
0 likes · 9 min read
Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto
Raymond Ops
Raymond Ops
Jan 1, 2025 · Backend Development

Unlocking Go’s Switch‑True Trick: Efficient Service Status Checks Explained

This article explores an unconventional Go switch‑true pattern used for checking systemd service status, compares it with equivalent if‑else logic, examines the generated assembly, and discusses when this style is advantageous for handling multiple string‑prefix conditions.

backendcode generationgo
0 likes · 10 min read
Unlocking Go’s Switch‑True Trick: Efficient Service Status Checks Explained
Architects' Tech Alliance
Architects' Tech Alliance
Aug 14, 2022 · Fundamentals

Components of PCIe Architecture and Their Roles in Processor Systems

This article explains the main components of PCIe architecture—including Root Complex (RC), switches, and PCIe‑to‑PCI bridges—how they are implemented in different processor systems such as x86 and PowerPC, and the mechanisms for QoS, port arbitration, and extended configuration space.

EndpointPCIePort Arbitration
0 likes · 26 min read
Components of PCIe Architecture and Their Roles in Processor Systems
IT Services Circle
IT Services Circle
Feb 23, 2022 · Fundamentals

Understanding MAC Addresses, Switches, Routers, and Subnetting in Network Layers

This article explains how computers communicate over networks by introducing MAC addresses, the role of hubs and switches, the function of routers, IP addressing, subnet masks, ARP, and routing tables, illustrating the process of data transmission across different network layers.

ARPIPMAC address
0 likes · 19 min read
Understanding MAC Addresses, Switches, Routers, and Subnetting in Network Layers
IT Services Circle
IT Services Circle
Feb 19, 2022 · Fundamentals

Understanding Hubs, Switches, and Routers: From Physical Layer to Network Layer

This article explains the concepts and inner workings of network hubs, switches, and routers, covering their roles across OSI layers, the differences between them, and how devices communicate using MAC and IP addresses, with practical examples and diagrams.

NetworkingOSI modelRouter
0 likes · 22 min read
Understanding Hubs, Switches, and Routers: From Physical Layer to Network Layer
Refining Core Development Skills
Refining Core Development Skills
Mar 6, 2021 · Fundamentals

Understanding MAC Addresses, IP Addresses, Subnets, Switches, and Routers in Network Layers

This article explains how computers use MAC and IP addresses, subnet masks, ARP, hubs, switches, and routers to communicate across physical, data‑link, and network layers, illustrating the learning process with step‑by‑step examples and tables of address mappings.

ARPIP addressMAC address
0 likes · 19 min read
Understanding MAC Addresses, IP Addresses, Subnets, Switches, and Routers in Network Layers
FunTester
FunTester
Nov 19, 2020 · Fundamentals

Understanding Hubs, Switches, Routers, Gateways, Routing and Bridging in Network Fundamentals

This article explains the basic networking devices and concepts—including hubs, switches, routers, gateways, routing, static vs. dynamic routing, routing tables, and the differences between bridging and routing—illustrated with diagrams and step‑by‑step examples to clarify how data moves across networks.

BridgeNetworkingRouter
0 likes · 8 min read
Understanding Hubs, Switches, Routers, Gateways, Routing and Bridging in Network Fundamentals
Architects' Tech Alliance
Architects' Tech Alliance
Aug 26, 2020 · Fundamentals

Fundamentals of Network Switches: Overview, Types, Performance Metrics, Interfaces, VLANs, and Multilayer Switching

This article provides a comprehensive overview of network switches, covering their basic concepts, classifications, performance indicators, interface and link methods, virtual LANs, multilayer switching, and product introductions, while also including promotional information for related technical e‑books.

Hardware fundamentalsIT infrastructureNetworking
0 likes · 2 min read
Fundamentals of Network Switches: Overview, Types, Performance Metrics, Interfaces, VLANs, and Multilayer Switching
macrozheng
macrozheng
May 29, 2020 · Backend Development

Why Switch Beats If‑Else in Java: Up to 3.7× Faster (JMH Benchmark)

This article benchmarks Java's switch statement against equivalent if‑else chains using JMH, explains the underlying bytecode differences, shows how tableswitch and lookupswitch are generated, and demonstrates that switch can be up to 3.7 times faster as the number of branches grows.

BytecodeJMHJava
0 likes · 16 min read
Why Switch Beats If‑Else in Java: Up to 3.7× Faster (JMH Benchmark)
Practical DevOps Architecture
Practical DevOps Architecture
Jul 14, 2016 · Operations

Troubleshooting AR and Switch Communication Failure Caused by ARP Anti‑Attack Feature

The article details a network connectivity issue between an AR router and a switch, explains how the ARP anti‑attack user‑bind setting blocks AR traffic, and provides step‑by‑step diagnostics and a static binding solution to restore communication.

ARPDHCP SnoopingVLAN
0 likes · 4 min read
Troubleshooting AR and Switch Communication Failure Caused by ARP Anti‑Attack Feature
Practical DevOps Architecture
Practical DevOps Architecture
Nov 10, 2015 · Fundamentals

Configuring VLANs, Trunk Ports, and EtherChannel on Cisco Switches

This guide demonstrates how to create VLANs, assign them to interface ranges, configure trunk ports, and set up EtherChannel for redundant parallel connections on Cisco switches using CLI commands.

CiscoEtherChannelVLAN
0 likes · 3 min read
Configuring VLANs, Trunk Ports, and EtherChannel on Cisco Switches
Practical DevOps Architecture
Practical DevOps Architecture
Sep 30, 2015 · Operations

Step-by-Step Switch and Firewall Configuration Guide (VLAN, DHCP, NAT, and Routing)

This guide provides detailed commands to configure a switch for user access VLANs, set up a firewall as both a layer‑3 and layer‑2 device with VLAN interfaces, DHCP/DNS, security zones, static routing, and NAT to enable internal users to reach external networks.

DHCPNATVLAN
0 likes · 8 min read
Step-by-Step Switch and Firewall Configuration Guide (VLAN, DHCP, NAT, and Routing)
Practical DevOps Architecture
Practical DevOps Architecture
May 18, 2015 · Operations

Configuring Port Groups and VLAN20 on Huawei Switches

This guide explains how to create a permanent port group on a Huawei aggregation switch, add ten access‑switch interfaces to it, set the ports as trunk, allow VLAN20 traffic, and verify the configuration using display commands.

HuaweiPort GroupVLAN20
0 likes · 2 min read
Configuring Port Groups and VLAN20 on Huawei Switches
Practical DevOps Architecture
Practical DevOps Architecture
Apr 8, 2015 · Operations

Locating an IP Conflict on a Huawei S5700 Switch Using ARP Inspection

The article explains how to identify the MAC address and switch port of a device causing an IP conflict on a Huawei S5700 by disconnecting the server, ping testing, telneting to the switch, and executing a specific ARP display command.

ARPHuaweiIP conflict
0 likes · 2 min read
Locating an IP Conflict on a Huawei S5700 Switch Using ARP Inspection