(no title)
jimis | 5 years ago
But what's wrong with Twitter?
I'M GLAD YOU ASKED. There are two aspects of Twitter that just bug me as an engineer:
Ruby on Rails - Using rails to prototype a system is fine — scaling up to a million hits a day with it is just a bad idea. As the service grew, I'm sure it cost them a lot more time than it saved.
140 characters is not enough - I routinely write sentences longer than 140 characters, so I can't even begin to imagine making a point in such a small space. This textual confinement has led to the rise of URL shorteners, which are breaking the internet.
Blërg solves these problems by applying absurd reactionary engineering. Blërg's database backend is a custom C program that handles requests over HTTP and stores data in a very small and efficient indexed log-structured database. The frontend is done entirely in client-side Javascript. A single post can be up to 65535 bytes in length.
Which is not to say that I believe writing your service in C is the solution to all your problems. Clearly, this approach has just as many hairy problems that will bite you in the ass sooner or later. The best way, as with most things, lies somewhere in the middle of high-level abstraction and ZOMGHARDCORE OPTIMIZATION.
Or more politely described in the documentation page: Blërg is a minimalistic tagged text document database engine that also pretends to be a microblogging system. It is designed to efficiently store small (< 64K) pieces of text in a way that they can be quickly retrieved by record number or by querying for tags embedded in the text. Its native interface is HTTP — Blërg comes as either a standalone HTTP server, or a CGI. Blërg is written in pure C.
ramraj07|5 years ago
monsieurbanana|5 years ago
> Curious? Click this unbelievably obnoxious button!
> Blërg is a microblogging platform. Or maybe a miniblogging platform. Blërg is not sure.
> Blërg's author finds it entertaining to anthropomorphize Blërg in the third person.
This website, the documentation, the text from the comment you replied to, everything is just clearly humour.
Saint_Genet|5 years ago
DominikD|5 years ago
zxcvbn4038|5 years ago
lazyjones|5 years ago
f6v|5 years ago
f6v|5 years ago
The sad thing is that way too many developers never learn that programming language and framework is not the biggest bottleneck.
dnautics|5 years ago