JasonPunyon
Joined 17 years ago
Karma
831
Submissions
92
Member since
Oct 26
- jasonpunyon.com
- cv.jasonpunyon.com
- https://hachyderm.io/@JasonPunyon
View on Hacker NewsJoined 17 years ago
Discussion from then https://news.ycombinator.com/item?id=36257523
And I'd be remiss if I didn't point out that their trade dress is MIT licensed. https://stackoverflow.design
Have fun.
Yep, my process is similar. It goes...
- decompress (users|posts)
- split into batches of 10,000
- xsltproc the batch into sql statements
- pipe the batches of statements into sqlite in parallel using flocks for coordination
On my M1 Max it takes about 40 minutes for the whole network. Then I compress each database with brotli which takes about 5 hours.