书栈网 · BookStack 本次搜索耗时 0.014 秒,为您找到 68 个相关结果.
  • Riker

    2580 2019-06-25 《Riker - Rust框架》
    Riker 基于Actor的并发 自我修复 事件源和CQRS 通用 模块化 现代Rust设计 Riker Riker : 用于构建现代,并发和弹性应用程序的Rust框架. 基于Actor的并发 Actors暴露了基于消息的API,导致快速,无阻塞的代码执行,同时还消除了竞争条件,使并发代码变得轻而易举。 自我修复 构建隔离并从...
  • FAQ

    1717 2019-06-25 《Riker - Rust框架》
    FAQ Riker的目标是什么? Actor如何与Future相比? Actor如何与线程比较? Riker可以在多个主机上运行吗? 多个ActorSystem实例可以在同一个应用程序中运行吗? Riker是否使用不安全的代码? 有没有基准? FAQ Riker的目标是什么? Riker的主要目标是成为一个框架,使并发,弹性软件开发...
  • findOneAndUpdate

    How to Use findOneAndUpdate() in Mongoose Getting Started Atomic Updates Upsert The `rawResult` Option How to Use findOneAndUpdate() in Mongoose The findOneAndUpdate() fu...
  • Message Protocol

    437 2019-06-25 《Riker Document》
    Message Protocol Message Protocol In Riker a single actor system has a defined message type, the protocol. The protocol can be a simple type such as String . A simple String p...
  • Running Futures

    514 2019-06-25 《Riker Document》
    Running Futures Running Futures Riker can execute and drive futures to completion. In fact, internally actors are executed as futures by the dispatcher. This means Riker can ru...
  • 运行Future

    826 2019-06-25 《Riker - Rust框架》
    运行Future 运行Future Riker可以执行并推动Future 完成。 实际上,内部参与者由调度员作为Future 执行。 这意味着Riker可以与演员一起在同一个调度员上运行任何 Future 。 ActorSystem 和Context 都有一个接受 Future 运行的execute 方法: let handle = sys...
  • Configuration

    482 2019-06-25 《Riker Document》
    Configuration Basics File Paths Best Practises Default Values Using .config() Module Settings Configuration Basics Riker makes configuration straightforward by using tw...
  • 消息协议

    1187 2019-06-25 《Riker - Rust框架》
    消息协议 消息协议 在Riker中,单个actor系统具有定义的消息类型,即协议。 协议可以是简单类型,例如String。 简单的String协议在大多数现实世界的应用程序中都没有用,在这些应用程序中可能有多个actor,每个actor都有自己专门的消息类型要求 任何Rust类型都可以用作消息协议,只要它是Clone 和Send 即可。 此外,必须...
  • Model & Customization

    566 2019-06-25 《Riker Document》
    Model & Customization Model Trait Default Model Custom Model Model & Customization Riker requires a Model to set the message type used throughout the system and specify mod...
  • 模型和定制

    893 2019-06-25 《Riker - Rust框架》
    模型和定制 Model Trait 默认模型 自定义模型 模型和定制 Riker需要Model来设置整个系统中使用的消息类型,并指定提供核心服务的模块。 Model是一个可以在Rust类型上实现的特性,然后用于创建ActorSystem。 Model Trait 让我们来看看Model特征: pub trait Model : ...