Open averissimo opened 5 months ago
Alternative:
note: Creating a future call has its own overhead. One way to minimize it is to define the globals
argument manually and it might be as slow as the write operation.
A benchmark should be done to assess the performance benefits.
Guidelines
Description
🏹 Goal: Add option to track inputs via JavaScript.
How?
Telemetry$.log_all_inputs
Telemetry
classBenefits:
Taking one step further
🏹 Goal: Delegate write operations to external API via JS
In other words, bypass using the DataStorage backend on the current R Shiny session and send the data to a deployment of the existing PlumberAPI
In turn, the Plumber API would write to the correct backend (LogFile, SQLite, SQL, ...)
Benefits:
Cons:
Additional work:
{future}
)Diagram
Alternatives Considered