prologic

twtxt.net

"Problems are Solved by Method" 🇦🇺👨‍💻👨‍🦯🏹♔ 🏓⚯ 👨‍👩‍👧‍👧🛥 -- James Mills (operator of twtxt.net / creator of Yarn.social 🧶)

Recent twts from prologic

Problem 2: Your SSD-backed database has a usage-pattern that rewards you with a 80% page-cache hit-rate (i.e. 80% of disk reads are served directly out of memory instead of going to the SSD). The median is 50 distinct disk pages for a query to gather its query results (e.g. InnoDB pages in MySQL). What is the expected average query time from your database?

Share your solution via Twtxt and how you arrived at it and I’ll share my solution tomorrow!

#napkin-math

⤋ Read More
In-reply-to » I’ve been using Mastodon too much lately. The constant notifications are becoming too stressful. I really do prefer slow communication, like twtxt. ✌️

@movq@www.uninformativ.de It’s because Luke the “others”, it’s designed to be a “fast socials media” 🤣

⤋ Read More

Also interesting:

edit_hash: When a message is edited, a new message is created– this field holds the hash of the modified message. The client follows the chain of edit hashes to end up at the final, edited message to display. This lets us keep an “undo” history (not yet implemented) and is a marker so the client can display a marker that the message has been edited.

⤋ Read More

LOL the rest of it appears undocumented 🤦‍♂️

Messages

Message Hash

Bad Hashes

Edit Chain

Deleted Messages

Topic List

Replies

License

GPLv2

⤋ Read More
In-reply-to » Problem 1: How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

My solution to:

How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

  • 512 bytes logged per request
  • 100,000 RPS
  • ~50MB/s
    • ~4TB/day
  • $0.02/GB Blob Storage
    • $0 ingress
  • 90 days retention
    • ~400TB
    • $8k Blob Storage
  • Costs:
    • ~$88/day
    • ~$2.6k/month
    • ~$32k/year

⤋ Read More

Why is my @ mention is all over the place?

Just the way yarnd (my client) behaves, which I’m also refactoring and improving the way mentions are expanded and auto-completed.

⤋ Read More
In-reply-to » Problem 1: How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

A reminder of the problem:

How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

⤋ Read More
In-reply-to » Problem 1: How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

Anyone had a chance to have a go at this problem yet? 🤔I’ll post my solution in a few hours…

⤋ Read More
In-reply-to » Just the same view, ocean and sand! 🤣 Media

@bender@twtxt.net We went to Hoi An today and bought tickets to see the “old town”. We lasted about 2 hours before we’d had enough of the hustle, bustle, scammers, pollution, constant beeping and all manner of over capitalized nonsense! 🤣 We ate nothing! 😅

⤋ Read More
In-reply-to » Problem 1: How much will the storage of logs cost for a standard, monolithic 100,000 RPS web application?

Share your solution and how you arrived at it on Twtxt and tomorrow, I’ll share mine! 👌

⤋ Read More