Skip to content

channel和网络连接之间的关系 #131

@gydong

Description

@gydong

从文档来看,使用brpc的http client,如果想达到长连接的效果,应该保存住channel实例并重用它。由此推断,channel和网络连接之间有关联关系。但在文档中又看到,rpc请求发出后,channel实例立马就可以析构了,不用等待结果回来后再析构。由此推断,channel和网络连接又好像没有关系。两个推断有矛盾的地方,求真相。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions