BourbonicPlague on Nostr: Ruby/Linux. It was pretty simple and I got the code written and tested in about an ...
Ruby/Linux. It was pretty simple and I got the code written and tested in about an hour. Just needed to do some simple database updates concurrently to finish a data migration from MySQL -> PostgreSQL in a timely fashion.
Doing them single threaded would have taken ≈24 hours. Doing them in parallel spread over about 170 threads on 64 core servers got it done in about 30 minutes.
Published at
2023-08-08 18:20:31Event JSON
{
"id": "a2c767efffb68997867838de34020dbbadef624761e237e214731c67743d4354",
"pubkey": "104a9e01bfa9fd7d89920636bf25bb28f1fa5ee4a12201fad462fb79c9b5b2e9",
"created_at": 1691518831,
"kind": 1,
"tags": [
[
"e",
"bcd7d2c193ff9628347c0d889742a401e0acf650e8cf9a18037f60fa35c6150f",
""
],
[
"e",
"8dc4c41c35395f27edb8b024f567014a1693a4cf5336dc0aa7ea83394c19d8a1"
],
[
"p",
"c1831fbe2653f76164421d57db6cee38b8cef8ce6771bc65c12f8543de4b39bf"
]
],
"content": "Ruby/Linux. It was pretty simple and I got the code written and tested in about an hour. Just needed to do some simple database updates concurrently to finish a data migration from MySQL -\u003e PostgreSQL in a timely fashion. \n\nDoing them single threaded would have taken ≈24 hours. Doing them in parallel spread over about 170 threads on 64 core servers got it done in about 30 minutes.",
"sig": "65518be29ac0b30baecaa9cf6db16f82a8b2655b7e3862efbe9f4d5faaa13e91c17d23f9c8f1cc280a7fd905b43d2b8e4e0c54f323eb59d0f91e1fc0b3d00bd3"
}