To be fair, no, sorry.
Seeing as you are inserting stuff in DB then why can’t you just fetch the record that has the most recent value in inserted_at?
It would achieve the same without having to change a stream accumulator millions of times.
To be fair, no, sorry.
Seeing as you are inserting stuff in DB then why can’t you just fetch the record that has the most recent value in inserted_at?
It would achieve the same without having to change a stream accumulator millions of times.