Skip to content

[FEATURE REQUEST] Support batching and/or scripting #79

Description

@jharmer95

Feature Request: Support batching and/or scripting

Brief Summary of Request

Instead of calling remote functions in sequence, it is sometimes beneficial to have the server run several functions before returning the final result.

What Is The Value Added With This Feature

Provide a commonly helpful feature that can reduce latency and traffic required to compute something remotely if it requires multiple steps.

Possible Implementation

Provide some way for the client to specify multiple functions to be executed and how the results and/or parameters of those functions are related to each other.

This way the server could evaluate each function call in turn and only returns a value when the sequence is complete.

Desired Outcome

int final_result = client.batch_call<int>("func_last", result_of("func_2nd", result_of("func_1st", a, b), c, d));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiInvolves a change to the APIcomplexPotentially requires a lot of workenhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions