You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use more db transactions to ensure atomic processor updates, eg:
db transactions for bulk update/upsert/delete
batch each processor phase into a single db transaction so that all updates and their cursor get updated together
review sql schema for indexes and ensure all indexes are setup nicely for performance optimization
add more clear and comprehensive guidelines on processor requirements (eg: idempotency?, progress-tracking? progress-requirements, being pedantic about types)
better error handling/logging/notification: it works ok already, but some things still to improve
metrics and alarming on errors so that we can get notified to fix
add errorList to fully process all known error tracks
handle metadata 404/526 errors automatically (cull those records or retry or retry or?)
catch processing errors from centralized apis better (eg: if api goes down or has empty data) so that a track will not move to processed if the api changes unexpectedly or returns bad data. there are likely some protections against this already but not 100% robust
automated delay/retries on errors, especially for handling slow ipfs pinning (eg: sometimes catalog drops dont get propogated properly across ipfs for a few minutes after release), slow/empty api responses (eg: sound tracks during the preview period)
fix noizd changing ids premint->postmint
some of the processors that are platform specific could likely still be refactored to be more generic & abstract, based on more of a JSON config or DSL, for example processCatalogTracks/categorizeZora -> generic addPlatformAPIData/splitSharedContract
process audio ourselves from lossless to lossy to ensure we have both for every track
add ipfs pinning processor to pin all metadata and media files ourselves, ideally with some edge caching solution too (maybe pinata or fleek are sufficient?)
make proper issues for all these todos :)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: