精灵王


  • 首页

  • 文章归档

  • 所有分类

  • 关于我

  • 搜索
设计模式-行为型 设计模式-创建型 设计模式-结构型 设计 系统设计 设计模式之美 分布式 Redis 并发编程 个人成长 周志明的软件架构课 架构 单元测试 LeetCode 工具 位运算 读书笔记 操作系统 MySQL 异步编程 技术方案设计 集合 设计模式 三亚 游玩 转载 Linux 观察者模式 事件 Spring SpringCloud 实战 实战,SpringCloud 源码分析 线程池 同步 锁 线程 线程模型 动态代理 字节码 类加载 垃圾收集器 垃圾回收算法 对象创建 虚拟机内存 内存结构 Java

系统设计:设计一个key-value存储

发表于 2023-03-31 | 分类于 架构设计 | 0
键值存储,也称为键值数据库,是一种非关系数据库。每个唯一标识符都存储为一个键及其关联值,这种数据配对称为“键值”对。
阅读全文 »

系统设计:一致性hash设计

发表于 2023-03-26 | 分类于 架构设计 | 0
为了实现水平扩展,在服务器之间高效、均匀地分配请求/数据非常重要,一致哈希是实现这一目标的常用技术。
阅读全文 »

系统设计:设计一个分布式限流器

发表于 2023-03-22 | 分类于 架构设计 | 0
DESIGN A RATE LIMITER
阅读全文 »

系统设计:从0到百万用户

发表于 2022-11-25 | 分类于 架构设计 | 0
System Design Interview CHAPTER 1:SCALE FROM ZERO TO MILLIONS OF USERS
阅读全文 »

设计模式:行为型-中介模式

发表于 2022-10-21 | 分类于 设计模式 | 0
Mediator pattern defines a separate (mediator) object that encapsulates the interaction between a set of objects and the objects delegate their interaction to a mediator object instead of interacting with each other directly.
阅读全文 »

设计模式:行为型-解释器模式

发表于 2022-10-19 | 分类于 设计模式 | 0
Interpreter pattern is used to defines a grammatical representation for a language and provides an interpreter to deal with this grammar.
阅读全文 »

设计模式:行为型-命令模式

发表于 2022-10-17 | 分类于 设计模式 | 0
The command pattern encapsulates a request as an object, thereby letting us parameterize other objects with different requests, queue or log requests, and support undoable operations.
阅读全文 »

设计模式:行为型-备忘录模式

发表于 2022-10-15 | 分类于 设计模式 | 0
Captures and externalizes an object’s internal state so that it can be restored later, all without violating encapsulation.
阅读全文 »

设计模式:行为型-访问者模式

发表于 2022-10-13 | 分类于 设计模式 | 0
Allows for one or more operation to be applied to a set of objects at runtime, decoupling the operations from the object structure.
阅读全文 »

设计模式:行为型-迭代器模式

发表于 2022-10-09 | 分类于 设计模式 | 0
迭代器模式(Iterator Design Pattern),也叫作游标模式(Cursor Design Pattern)。 迭代器模式将集合对象的遍历操作从集合类中拆分出来,放到迭代器类中,让两者的职责更加单一。
阅读全文 »

设计模式:行为型-状态模式

发表于 2022-09-28 | 分类于 设计模式 | 0
状态机有 3 个组成部分:状态(State)、事件(Event)、动作(Action)。
阅读全文 »

设计模式:行为型-职责链模式

发表于 2022-09-15 | 分类于 设计模式 | 0
Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
阅读全文 »

设计模式:行为型-策略模式

发表于 2022-09-13 | 分类于 设计模式 | 0
Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
阅读全文 »

设计模式:行为型-模板模式

发表于 2022-09-10 | 分类于 设计模式 | 0
模板模式主要是用来解决复用和扩展两个问题,结合 Java Servlet、JUnit TestCase、Java InputStream、Java AbstractList 四个例子来具体讲解这两个作用。
阅读全文 »

设计模式:行为型-观察者模式

发表于 2022-09-08 | 分类于 设计模式 | 0
Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
阅读全文 »
1 2 3
精 灵 王

精 灵 王

青春岁月,以此为伴

106 日志
14 分类
48 标签
RSS
Github E-mail
Creative Commons
Links
  • 添加友链说明
© 2023 精 灵 王
渝ICP备2020013371号
0%