<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Twitter on despatches</title><link>https://icle.es/tags/twitter/</link><description>Recent content in Twitter on despatches</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 18 Mar 2026 15:13:17 +0000</lastBuildDate><atom:link href="https://icle.es/tags/twitter/index.xml" rel="self" type="application/rss+xml"/><item><title>Twitter is better</title><link>https://icle.es/2009/12/15/twitter-is-better/</link><pubDate>Tue, 15 Dec 2009 13:13:47 +0000</pubDate><guid>https://icle.es/2009/12/15/twitter-is-better/</guid><description>&lt;p>A little while ago,
&lt;a href="https://icle.es/2009/03/09/making-twitter-bettermaking-twitter-better/">I wrote about my pet peeves to do with twitter,&lt;/a>
and while they probably didn&amp;rsquo;t read my specific ramblings, they have certainly
addressed my key concerns.&lt;/p>
&lt;p>My biggest concern was of course, about security and twitter-apps. A little
while ago, I noticed that this has been resolved. Twitter is now linked with
applications in a more security conscious way. I love the way twitter now asks
if an application should be  authorised to access information. Yay! No more
giving my twitter account details to third party websites.&lt;/p></description><content:encoded><![CDATA[<p>A little while ago,
<a href="https://icle.es/2009/03/09/making-twitter-bettermaking-twitter-better/">I wrote about my pet peeves to do with twitter,</a>
and while they probably didn&rsquo;t read my specific ramblings, they have certainly
addressed my key concerns.</p>
<p>My biggest concern was of course, about security and twitter-apps. A little
while ago, I noticed that this has been resolved. Twitter is now linked with
applications in a more security conscious way. I love the way twitter now asks
if an application should be  authorised to access information. Yay! No more
giving my twitter account details to third party websites.</p>
<p>I also covered an issue that I had with grouping users to see relevant tweets
together. This has also been resolved with the use of lists. In fact, lists have
changed how twitter works to an extent. There is a blog post about how
<a href="http://corethinking.com/2009/12/13/how-twitters-new-lists-feature-will-dramatically-impact-follower-count/" title="How twitters lists feature will dramatically impact follower count">lists will impact follower counts</a>
Lists provide a powerful mechanism to follow a group of people - now, if only I
could have an option to see all the tweets made my the people that I am
following as well as the lists - that would be cool. It probably should&rsquo;t be the
default, but an option to do that would be useful.</p>
<p>I also like the new feature where it tells you that there are new posts since I
last viewed a timeline - saves me from having to click reload randomly to see if
there are no posts. The little grey line differentiating the new posts help in
that I know how far down I have to read to see just the new posts&hellip; :-D</p>
]]></content:encoded></item><item><title>Making Twitter Better</title><link>https://icle.es/2009/03/09/making-twitter-better/</link><pubDate>Mon, 09 Mar 2009 15:01:40 +0000</pubDate><guid>https://icle.es/2009/03/09/making-twitter-better/</guid><description>&lt;p>I think that twitter is a fantastic service and has a bright future. However,
like a lot of new things, the question of whether it will flourish or perish is
really all down how the growth is managed, planned and executed.&lt;/p>
&lt;p>I should point out that I don&amp;rsquo;t know the people at twitter at all and is very
much an outsiders opinion. I have been running a business for about nine years,
and while it is of nowhere near the success of twitter, I&amp;rsquo;ve definitely learned
some hard lessons. I am not complaining - I am however, voicing some ideas on
how things could be made better.&lt;/p>
&lt;p>My experience also includes working very closely with megabus.com, which grew
from a fledgling website 6 years ago to what it is today servicing over a
100,000 visitors every day.&lt;/p>
&lt;p>My gut instinct about Twitter is that the guys and gals are working hard to
delivery one really good service really well. However, it is of a size now where
service delivery should be happening in the background with little or no effort.&lt;/p></description><content:encoded><![CDATA[<p>I think that twitter is a fantastic service and has a bright future. However,
like a lot of new things, the question of whether it will flourish or perish is
really all down how the growth is managed, planned and executed.</p>
<p>I should point out that I don&rsquo;t know the people at twitter at all and is very
much an outsiders opinion. I have been running a business for about nine years,
and while it is of nowhere near the success of twitter, I&rsquo;ve definitely learned
some hard lessons. I am not complaining - I am however, voicing some ideas on
how things could be made better.</p>
<p>My experience also includes working very closely with megabus.com, which grew
from a fledgling website 6 years ago to what it is today servicing over a
100,000 visitors every day.</p>
<p>My gut instinct about Twitter is that the guys and gals are working hard to
delivery one really good service really well. However, it is of a size now where
service delivery should be happening in the background with little or no effort.</p>
<p>When megabus.com first launched and over the first couple of years, we spent a
lot of time managing the hardware, software and processes till we got it right.
It went through a dramatic re-architecture in 2005 and since then, the
management time has dropped dramatically.</p>
<p>To take twitter to the next level so that it can be bigger than facebook, in my
opinion, requires twitter to a lot of things:</p>
<p><strong>Reliability &amp; Performance</strong></p>
<p>I don&rsquo;t know the architecture / infrastructure of twitter but having used it
fairly heavily over the last few days, have noticed intermittent outages. This
has to be solved. Not just in the short term, but in the medium and long term.
Twitter has to be a service that just works. All websites suffer glitches and
outages but the mean time to failure needs to be a lot higher and it should be
cheap and cost effective to scale.</p>
<p><strong>TwitApplications</strong></p>
<p>There are a lot of services and applications that link into twitter. I
consistently use tweetburner, tweetdeck and have looked at / considered a range
of other services / applications. While the wiki page can point someone in the
right direction. This needs to be integrated better into twitter itself</p>
<p>Facebook really took off and removed bebo and myspace as competitors, in my
opinion the day it introduced facebook applications.</p>
<p>It should be a different process from facebook as facebook applications are of a
different breed and different target market. Twitter simply needs to make it
easier for applications to integrate in to solve two problems</p>
<ol>
<li>Easy launchpad to add them in and use them</li>
<li>Remove the need to provide the twitter username/password in other websites.
I currently have to do this with tweetburner to post directly which makes me
very uncomfortable.</li>
</ol>
<p><strong>Accessibility</strong></p>
<p>I am not talking about makes it easier for people with disabilities to access
the site. I am talking about people who are not technically savvy or more
importantly twitter savvy.</p>
<p>I joined twitter a while back and just felt a bit lost. There was no guidance as
to what a tweet was, what it meant to be a follower or what it meant for people
to follow you.</p>
<p>It took an article on a magazine explaining it to make it easier for me to
understand and re-boot my twitter life.</p>
<p>Help &amp; Support are good and useful but it should not be necessary if the help
and support is present throughout the site. Facebook does this well and makes it
easy to learn and do new things. It does not need to be idiot proof but it does
need to have just enough information for a newbie to get started.</p>
<p>There are numerous blogs, articles and websites that cover this information but
that means that someone has to spend enough effort getting out there and finding
out.</p>
<p>This can be difficult when you don&rsquo;t know what you are searching for as well.</p>
<p><strong>Functional Integrations</strong></p>
<p>There are several integrations that would be useful. There are websites that do
some of these things but it would be useful to have them integrated within the
site. Examples include:</p>
<ul>
<li>Easy way to see the last tweet of all the people you are following / your
followers</li>
<li>Popularity of the people you are following / your followers</li>
<li>Group people, so that you can follow people who blog about different things
but read them together</li>
</ul>
<p><strong>Conclusion</strong></p>
<p>From my perspective, this is of course a starting point, the tip of the iceberg.
Twitter is involved in a lot of new things but without the soft aspect, I think
it is making its life harder than it has to be to get the masses.</p>]]></content:encoded></item><item><title>Making Twitter Faster</title><link>https://icle.es/2009/03/04/making-twitter-faster/</link><pubDate>Wed, 04 Mar 2009 17:36:35 +0000</pubDate><guid>https://icle.es/2009/03/04/making-twitter-faster/</guid><description>&lt;p>From my perspective, Twitter has a really really interesting technical problem
to solve. How to store and retrieve a large amount of data really really
quickly.&lt;/p>
&lt;p>I am making some assumptions based on how I see twitter working. I have little
information about how it is architected apart from some posts that suggests that
it is running ruby on rails with MySQL?&lt;/p>
&lt;p>Twitter is in the rare category where there is a very large number of data being
added. There should be no updates (except to user information but there should
be relatively very small amount of that). There is no need for transactionality.
If I guess right, it should be a large amount of inserts and selects.&lt;/p>
&lt;p>While a relational database is probably the only viable choice for the time
being, I think that twitter can scale and perform better if all the extra bits
of a relational database system was removed.&lt;/p>
&lt;p>I love challenges like this. Technical ones are easier ;-)&lt;/p>
&lt;p>If I didn&amp;rsquo;t have a lifetime job, I would prototype this in a bit more depth.
&lt;a href="http://garry.blog.kraya.co.uk" title="Garry&amp;#39;s Blog">Garry&lt;/a> pointed me in the
direction of &lt;a href="//hadoop.apache.org/" title="Hadoop">Hadoop&lt;/a>. Having had a quick look at
it, it can take care of the infrastructure, clustering and massive horizontal
scaling requirements.&lt;/p></description><content:encoded><![CDATA[<p>From my perspective, Twitter has a really really interesting technical problem
to solve. How to store and retrieve a large amount of data really really
quickly.</p>
<p>I am making some assumptions based on how I see twitter working. I have little
information about how it is architected apart from some posts that suggests that
it is running ruby on rails with MySQL?</p>
<p>Twitter is in the rare category where there is a very large number of data being
added. There should be no updates (except to user information but there should
be relatively very small amount of that). There is no need for transactionality.
If I guess right, it should be a large amount of inserts and selects.</p>
<p>While a relational database is probably the only viable choice for the time
being, I think that twitter can scale and perform better if all the extra bits
of a relational database system was removed.</p>
<p>I love challenges like this. Technical ones are easier ;-)</p>
<p>If I didn&rsquo;t have a lifetime job, I would prototype this in a bit more depth.
<a href="http://garry.blog.kraya.co.uk" title="Garry&#39;s Blog">Garry</a> pointed me in the
direction of <a href="//hadoop.apache.org/" title="Hadoop">Hadoop</a>. Having had a quick look at
it, it can take care of the infrastructure, clustering and massive horizontal
scaling requirements.</p>
<p>Now for the data layer on top. How to store and retrieve the data.
<a href="http://hadoop.apache.org/hbase/" title="HBase - a scalable distributed database">HBase</a>
is probably a good option but doing it manually should be fairly straightforward
too.</p>
<p>From my limited understanding of twitter, there are two key pieces of
functionality, the timelines and search.</p>
<p>The timelines can be solved by storing each tweet as a file within a directory
structure. My tweets would go into</p>
<p><code>/w/o/r/d/s/o/n/s/a/n/d/&lt;tweet-filename&gt;</code></p>
<p>The filename would be <code>&lt;username&gt;-&lt;timestamp&gt;</code></p>
<p>For the public timeline, you just have a similar folder structure, but with the
timestamp, for example, the timestamp 1236158897 would go into the following
structure as a symlink</p>
<p><code>/1/2/3/6/1/5/8/8/9/7/&lt;username&gt;</code></p>
<p>For search, pick up each word in the tweet and pop the tweet as a symlink into
that folder. You could have a folder per word or follow the structure above.</p>
<p><code>/t/w/i/t/t/e/r/&lt;username&gt;-&lt;timestamp&gt;</code> OR</p>
<p><code>twitter/&lt;username&gt;-&lt;timestamp&gt;</code></p>
<p>You would then have an application running on top with a distributed cache with
an API to ease access into the data easier than direct file access. Running on
Linux, the kernel will take care of the large part of the automatic caching and
buffering as long as there is enough RAM on the box.</p>
<p>This can in theory be done without Hadoop in between and separating the
directory structures across multiple servers but that can have complications of
its own, especially with adding and removing boxes for scalability.</p>
<p>You are also likely to run into issues with the number of files /
sub-directories limits but they can be solved by &lsquo;archiving&rsquo; - multiple options
for that too&hellip;</p>
<p>Thinking about this problem brought me back to the good old days of working on
the search mechanism within megabus.com. We needed the site to deal with a large
number of searches on limited hardware when the project was still classified as
a pilot.</p>
<p>With some hard work and experimentation, we were able to reduce the search time
to a tenth of the original time.</p>
<p>I&rsquo;ll admit that I don&rsquo;t know the details or the intricacies of the requirements
that twitter has. I have probably over-simplified the problem but it was still
fun to think about. If you can think of problems with this - let me know; I
wanna turn them into opportunities ;-)</p>]]></content:encoded></item></channel></rss>