protocol VS twit

Compare protocol vs twit and see what are their differences.

protocol

Specification of the Farcaster Protocol (by farcasterxyz)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
protocol twit
13 1
1,775 0
4.3% -
6.1 10.0
22 days ago over 1 year ago
JavaScript Scala
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

protocol

Posts with mentions or reviews of protocol. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-22.

twit

Posts with mentions or reviews of twit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-07.
  • Mastodon.technology Is Shutting Down
    17 projects | news.ycombinator.com | 7 Oct 2022
    Which processes up to 8k requests at a time, waiting up to 10 ms for a batch.

    Similar techniques should work on read batching, but I haven't tried that. You can also speed that up some more with the COPY protocol, but IIRC you need to be more careful about escaping/SQL injection.

    On my 6 year old mid-range desktop (this CPU[1] and this disk[2]) this program can process ~30k `create`s per second. For about $1500, I could buy a new computer with a Ryzen 9 7950 with 4x the core count/8x the thread count and 2x the single-threaded performance, so around ~10x more processing power, 128 GB of RAM, and a Samsung 980 Pro SSD, which can do 1M Write IOPS (25x more than my SSD) or 5GB/s sequential writes (10x more). So a $1500 computer with a single disk should be able to do around 300k/s. PCIe gen 5 is now coming out, which will allow for another doubling of disk performance.

    128GB of RAM means you can keep at least 100M rows worth of index in memory. It's not that expensive (under $10k) to build a server with 1TB of RAM.

    Totally feasible for a hobbyist to do without tons of tricky optimization; people spend $20k on a jetski or $80k on a truck. Like I said, the most expensive part is going to be the storage, but you could do something like only store the most recent 1000 tweets per person, and charge $10 to bump that up to the most recent 10 million tweets or something. You'd come out at a substantial profit with that model if you got a few thousand takers. Similarly you could charge to let someone follow more than a few thousand people so you could pay for a read replica or two.

    [0] https://github.com/ndriscoll/twit/commit/19b245677b978b42a6f...

    [1] https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6600K...

    [2] https://www.disctech.com/SanDisk-SDSSDHP-256G-256GB-SATA-SSD

What are some alternatives?

When comparing protocol and twit you can also consider the following projects:

rpmsg-lite - RPMsg implementation for small MCUs

misskey_ynh - Misskey package for YunoHost

soapbox - Software for the next generation of social media.

matrix-spec - The Matrix protocol specification

multihash-serialise - Haskell libraries for interacting with IPFS

nostr - a truly censorship-resistant alternative to Twitter that has a chance of working

rebased - Fediverse backend written in Elixir. The recommended backend for Soapbox.

freebird - matrix based twitter clone

ens - Implementations for ENS core functionality: The registry, registrars, and public resolvers.