Replying to Avatar ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ

having fun with the job today... got two days to get a working event store backend working for a database with extremely slow batch processing

yes, it's a blockchain, for those who don't realise this, when you synchronously send events to a blockchain and there is no queuing along the path each transaction is a block and that takes 2-4 seconds, at least, to commit

reading through all the code that my junior colleague wrote, bless him, was a lot of dejavu like reading the khatru code for the first time

all the errors... passing large structs as values, using interfaces like they are harmless, no batching of events... i am writing a scheduler goroutine now and i've added a new database function to commit more than one event in a pass, yes, i had to dirty my fingertips with rust code, thankfully it was just adding a simple for loop iterator

i'm gonna get this MVP done today, almost certainly, and i'm gonna be giving the junior colleague a walkthrough on all the things i had to do to make it work

Avatar
Sai 1y ago

I like these descriptions that give us a peak into the times and life of coders/devs.

💪

Reply to this note

Please Login to reply.

Discussion

No replies yet.