Skip to content
项目

关于

:triangular_ruler: Project Orleans 的设计模式

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Orleans Design Patterns

  • Observer Allows an observer to be notified of any state changes that a grain can choose to publish.
  • Cadence Decouple the rhythm of grain interactions from external input using timers.
  • Reduce Provides a hierarchical structure to aggregate a value stored in many grains, which would unachievable with a fan-out.
  • Smart Cache A performance optimization which uses Orleans as a distributed caching system in front of a storage system. Allows reads to be served from memory, and writes to be optionally buffered.
  • Dispatcher A technique to send a batch of messages into Orleans in a single call, and have them distributed internally to the correct grains.
  • Hub Provides clients with a single well-known publishing endpoint by channeling events from multiple event sources, dramatically simplifying registration and management of transient subscriptions.

Approximate Performance Expectations

Using X-Large VMs (8 CPU Cores / 14 GB RAM) on Microsoft Azure, with one silo per VM:

  • A grain will handle a maximum of 1,000 requests per second.
  • A silo will handle a maximum of 10,000 requests per second.
  • A silo will hold 100,000 active grains.

探索相关项目

加载中…