Stay Hungry Stay Foolish

Alaways be curious to learn more and achieve more.

0%

南北流量 & 东西流量

南北流量和东西流量是数据中心环境中网络流量模式.

    1. 什么是南北向流量?
    1. 什么是东西向流量?
    1. 什么是动态流量?

当我们访问web应用时,会发生一下类型的网络流量:

1.客户端(位于数据中心一侧的浏览器)与负载均衡器(位于数据中心)之间的网络流量.
2.负载均衡器、应用服务器、数据库等之间的网络流量,他们都位于数据中心.

网络流量

阅读全文 »

Virsh Commands CheatSheet

Virsh interacts with Libviry which is a library aimed at providing a long-term stable C API. It currently supports Xen, QEMU, KVM, LXC, OpenVZ, VirtualBox and VMware ESX.

1
$ virsh [OPTION]… <command> <domain> [ARG]…
阅读全文 »

RAID

stands for Redundant Array of Inexpensive Disks(廉价磁盘冗余阵列)

  • Hardware RAID

    Hardware RAID using controllers or RAID cards to manage the RAID configuration independently from the operating system.

  • Software RAID

    Software RAID tends to be slower than hardware RAID.

阅读全文 »

The Websocket Protocol

  • Introduction

    • Background

      • variety of problem
        • The server is forced to use a number of different underlying TCP connections for each client: one for sending information to the client and a new one for each incoming message.
        • The wire protocol has a high overhead, with each client-to-server message having an HTTP header.
        • The client-side script is forced to maintain a mapping from the outgoing connections to the incoming connection to track replies.
    • Protocol Overview

      • The protocol has two parts: a handshake and the data transfer.
        • The handshake from the client looks as follows
          1

阅读全文 »

Patterns of Distributed Systems

  • Distributed systems - An implementation perspective
    Type of platform/framework Example
    Databases Cassandra, HBase, Riak
    Message Brokers Kafka, Pulsar
    Infrastructure Kubernetes, Mesos, Zookeeper, etcd, Consul
    In Memory Data/Compute Grids Hazelcast, Pivotal Gemfire
    Stateful Microservices Akka Actors, Axon
    File Systems HDFS, Ceph
阅读全文 »

SRE (Site Reliability Engineers)

  • Level 101
    • Fundamentals Series
      • Linux Basics
      • Git
      • Linux Networking
    • Python and Web
    • Data
      • Relational databasees(MySQL)
      • NoSQL concepts
      • Big Data
    • Systems Design
    • Metrics and Monitoring
    • Security
  • Level 102
    • Linux Intermediate
    • Linux Advanced
      • Containers and orchestration
      • System Calls and Signals
    • Networking
    • System Design
    • System troubleshooting and performance improvements
    • Continuous Integration and Continuous Delivery
阅读全文 »