Skip to content

Can't not create mutiple client in multiple thread #4

@phuongdo

Description

@phuongdo

Hi,
I gona write a web server application that handle large number of requests to 2 NodeEndpoints ( Eg.
http://NODE1:7895 and http://NODE2:7895 ) . I found that there is only one option for node endpoint in Global variable which can not be applied in multiple-thread environment.

Globals.setNodeEndpoint(new NodeEndpoint("http","NODE1",7895));

What's should I do?
Thanks

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