Hacker News new | ask | show | jobs
by tomnipotent 1686 days ago
Is the WAL only used during restart, or also during normal operations? Trying to create a mental model of how data flows through the system and into destinations.
1 comments

During normal operations as well. Jitsu supports destinations in two modes: stream and batch. In case of using batch mode: all JSON events will be stored into WAL asynchronously (client doesn't have to wait) and then batch destination processes WAL files in background and stores data in batches. In case of using stream mode: all JSON events will be stored into queue (which is persistent) and will be processed one by one and stored with insert statements into the data warehouse.