eenblam / jtt

A JailTracker Tracker: monitoring the treatment of people incarcerated in US jails
4 stars 1 forks source link

Refactor to support batch requests #3

Closed eenblam closed 3 months ago

eenblam commented 4 years ago

I think this will be a little tricky, since new and old records show up adjacent to one another. For example, an existing intake might have a new charge associated.

Given this, it seems like we might have to try and match each record first to see if we get an id back, then maintain two different queues - one for inserts and one for updates.