Toucan Toco can handle data feeds in different ways. It has different kinds of connections : direct query to clients’ databases, an embedded Mongo database for files, API calls…
The front sends the request to the back which executes the query. From there the backend has two options:
- querying directly the database by proxying the request
- querying Toucan’s MongoDB database which acts as the main database or as a cache for 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).