scrobbleIngest #13

Closed
opened 2025-06-12 00:09:43 +00:00 by mitteneer · 0 comments
Owner

See 36873053bc

Currently writing a function that takes in the data, and parses it, effectively writing my own jsonParse, but it's doing more than that.

Timeline:

  1. Load in data, loop over all data to verify and turn into intermediate struct, loop again to add to job data, then run job on all data at once (run checks on each piece of data in job)
  2. Load in data, loop over data to verify, turn into intermediate struct AND add to job data, then run job on all data at once (run checks on each piece of data in job)
  3. Load in data, loop over data to verify, turn into intermediate struct, AND add to job data, then run job on all data at once (use hashmap before job to reduce number of checks in job)

Now, what I'm currently writing: Load in data as the intermediate struct, loop over data to verify and add to job data, then run job on all data at once (with hashmap)

What I intend to arrive at: Verify data as it's being read, check against hashmap to see if job needs to be run on that data, and then run individual jobs on each piece of data

See https://git.sawebb.xyz/mitteneer/zuletzt/commit/36873053bca53dc5d39f3d0578701805c966f4a9 Currently writing a function that takes in the data, and parses it, effectively writing my own `jsonParse`, but it's doing more than that. Timeline: 1. Load in data, loop over all data to verify and turn into intermediate struct, loop again to add to job data, then run job on all data at once (run checks on each piece of data in job) 2. Load in data, loop over data to verify, turn into intermediate struct AND add to job data, then run job on all data at once (run checks on each piece of data in job) 3. Load in data, loop over data to verify, turn into intermediate struct, AND add to job data, then run job on all data at once (use hashmap before job to reduce number of checks in job) Now, what I'm currently writing: Load in data as the intermediate struct, loop over data to verify and add to job data, then run job on all data at once (with hashmap) What I intend to arrive at: Verify data as it's being read, check against hashmap to see if job needs to be run on that data, and then run individual jobs on each piece of data
mitteneer changed title from Create jsonParse function for type Scrobble to Create jsonParse function for each upload method 2025-07-06 03:07:13 +00:00
mitteneer changed title from Create jsonParse function for each upload method to scrobbleIngest 2025-07-07 15:56:30 +00:00
Sign in to join this conversation.
No labels
bug
enhancement
idea
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mitteneer/zuletzt#13
No description provided.