FusionDale

FusionDale is applied Fusion and will be a collection of different services for use by applications and other libraries.

 

There's a component manager(Coma) which allows any process to create a component - identified by only a string at the moment - and provide methods and notifications. Other processes can get acess to the component and call methods or listen to notifications. Multiple component managers can exist with each one identified globally by a string.

 

You have the ability to create 'thread lcoal shared memory' and reuse it to avoid alloc/free for every RPC call with data not already in shared memory. Allocation will happen on first call or if the buffer needs to be extended, but there's a method to free it in case a big allocation has been done or just for cleanup.

 

Be aware that only method calls are synchronous. Notifications are sent out and execution returns to the sender immediately. Component implements can register a callback being called when there's no more recipient for a notification that was sent, e.g. to free the shared data associated with the notification.

 

FusionDale also contains a messaging API for notifications and data distribution using shared memory with lifecycle management. The attached data is freed after all recipients have processed the message, or existed, or died. Not that this functionality is not as efficient as the rest of FusionDale - some relevant improvements in Fusion are required here.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值