Skip to content

Batch invoke and execute support out of the box #1

@mengqiang81

Description

@mengqiang81

Maybe, we should add a support for batch invoke and batch execute a service out of the box.

In the client-side. If there is a api method with AllowBatch annotation. You can invoke the method such as object.batchXxx(local, params...params) or object.batchXxx(remote, params...params).

The previous will create multiple connections concurrently and invoke the xxx method.

The after will create a connection and invoke the batchXxx method generated in server-side.

The batchXxx method in server-side is a method generated by framewok, and execute the xxx method concurrently.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions