Skip to content

Reducing the cost of building a ClientApplication #681

Answered by rayluo
aukeschaap asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your input, Auke. You clearly did your homework. Good job.

How long is "long-lived"? A minute, hour, day, or even longer?

OK, "long-lived" is not about a specific length of time. It is about suggesting you to reuse it. In general, any API that is designed in an Object-Oriented fashion, it kind of implies that you can construct an instance and then reuse it for as long as you possibly can, contrary to a function-based design which is clearly an one-off run for each function call.

How to create a long-lived, session unique CCA? Specifically, how new requests can use the same CCA.

A CCA in the web app context has its unique challenge, indeed. Rather than writing some lengthy h…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rayluo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #549 on March 26, 2024 20:40.