Skip to content

Does CCF support batching of client transactions? #2183

Answered by achamayou
prakashngit asked this question in Q&A
Discussion options

You must be logged in to vote

This was discussed in the past, but there is currently no plan or design for this. Can I ask you what the motivation for this batching is?

If it's atomicity, I'm afraid that's impossible to guarantee outside one transaction at quite a fundamental level.

If it's transport efficiency/amortizing transport costs, it may be worth exploring the following avenues:

  1. Pipelining, clients need not wait for an answer to send the next request. Our performance test client typically allows 1000 requests to be outstanding before it backs off.
  2. Websockets, which reduces the size of the frame considerably, and can be pipelined too.

We are of course happy to discuss and consider alternatives :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@prakashngit
Comment options

@ashamis
Comment options

@achamayou
Comment options

Answer selected by achamayou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants