API accepting a set of URLs to call and async reports their result.
API call returns id for results
Results are pushed via web socket or can be queried with the id
(Insights) Frontends currently have several features that require it to pull and push a lot of data between server and client. For example, CSV/JSON export is in many applications done by pulling all data in batches and compile a file in the client. There is some work being done to have an async export API.
This project aims to be more abstract and provide an API to define Insights application API requests and execute them and a desired callback on the server side. One way for a callback would be to call a function via web sockets in the UI.
Core Idea
(Insights) Frontends currently have several features that require it to pull and push a lot of data between server and client. For example, CSV/JSON export is in many applications done by pulling all data in batches and compile a file in the client. There is some work being done to have an async export API.
This project aims to be more abstract and provide an API to define Insights application API requests and execute them and a desired callback on the server side. One way for a callback would be to call a function via web sockets in the UI.
Tech
Additional ideas