Skip to content

_HandleRead/_HandleWrite/_NewIoData等改为虚方法 #189

Description

@hezihang12

DelphiCrossSocket目前架构不支持零内存拷贝,因为采用了threadvar类型的buffer读取数据,这个buffer不能放入异步发送io中,因为io未发送完来新的接收io,将会覆盖发送io的内容。
为了绕开匿名函数方法的开销,并实现零内存拷贝需求,提高海量并发转发数据的性能。因此需要自定义内存块池,需要重载 _HandleRead/_HandleWrite/_NewIoData等方法。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions