so i tried caching webpages and… um… whoops.
there are so many footguns with concurrency… i had to modify a record to also store a promise chain so that writes didn’t happen concurrently…
and i had run out of memory on a rebuild with cached elements which i assumed was because i was thrashing the filesystem by immediately closing file descriptors once things were read, so i set up an object to keep the file handles around but because of the async boundary they had gotten garbage collected…
urgh
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.