How smart data sources work internally