寫點東西吧,懒人。

· ☕ 2 分钟

https://redis.io/topics/acl

ACL

The Redis ACL, short for Access Control List, is the feature that allows certain connections to be limited in terms of the commands that can be executed and the keys that can be accessed. The way it works is that, after connecting, a client is required to authenticate providing a username and a valid password: if the authentication stage succeeded, the connection is associated with a given user and the limits the user has. Redis can be configured so that new connections are already authenticated with a “default” user (this is the default configuration), so configuring the default user has, as a side effect, the ability to provide only a specific subset of functionalities to connections that are not explicitly authenticated.


· ☕ 10 分钟

https://redis.io/topics/cluster-spec

Implemented subset

Redis Cluster implements a concept called hash tags that can be used in order to force certain keys to be stored in the same hash slot. However during manual resharding, multi-key operations may become unavailable for some time while single key operations are always available.

Clients and Servers roles in the Redis Cluster protocol

In Redis Cluster nodes are responsible for holding the data, and taking the state of the cluster, including mapping keys to the right nodes. Cluster nodes are also able to auto-discover other nodes, detect non-working nodes, and promote replica nodes to master when needed in order to continue to operate when a failure occurs.


· ☕ 6 分钟

我是一个 Java 程序员,现在想系统学习一下 Rust。

作为一名经验丰富的 Java 程序员,您已经掌握了编程的核心概念(如变量、循环、函数、面向对象等),这会大大加速您的学习进程。然而,Rust 的核心理念——所有权(Ownership)借用(Borrowing)生命周期(Lifetimes)——对您来说将是全新的,也是学习的重点和难点。


· ☕ 1 分钟
  • 微服务各种流控技术
    *

  • 分布式一致性技术

    • 数据一致性协议
  • Java

    • 网络 Netty
    • Thread Pool
  • DB
    *