Toucan Toco can handle the data feeding in different ways. It has different kind of connections : direct query to the clients’ database, embedded Mongo database for files, API calls…
The front sends the request to the back which executes the query. From there the back end has two options:
- querying directly the database by proxying the request
- querying the Toucan’s Mongo database which acts as the main database or as a cache of the external databases.
You can combine the batch proprecessing mode (when you need Toucan Toco to pull data and cache it in its MongoDB database at given frequencies) and the live data mode (when you need your charts to reflect your own database in real time).