Better HN
topnewbestaskshowjobs
Log inSign up

xtreding

5 karma · joined Aug 3, 2020 (6y ago) · 4 submissions

In charge of the software at Uber Ex First Enginner at Jitsu (YC S20)
Submissions

comment 4y ago · link · parent

Sure, thank you!

comment 4y ago · link · parent

Awesome project! Congratulations on Shipping! What ML frameworks are you going to support?

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Hi! My name is Sergey, I’m a Jitsu product engineer. I’ll gladly answer your question! AsyncLogger works asynchronously by design. There is a go channel which writes JSON’s to the log file. Answering your question: the service doesn’t wait until data is written to the log prior to returning success to the client. WAL log is designed for keeping events JSON’s between Jitsu instance restarts to prevent data loss. When you deploy your Jitsu application, it will handle service restart signals (e.g. sigterm) and closes database connections as well as other resources. All incoming events are stored in WAL log in this time. So, after the Jitsu starts, all events from WAL log will be passed to the main events JSON pipeline and stored to the destinations.