126 words — 1 minutes read

scaling twurli

twu.li starts to grow. We track almost 8000 twitterers for their updates and collect the URLs. This takes more and more time (there is quite some potential for optimizing it by requesting things in parallel). Right now, that’s about 3 hours to do a full scan (and it will get worse). New URLs can therfore show up with quite a delay. To alleviate that, we implemented a simple priority queue system. The result? The more URLs someone tweets, the more often we will read your timeline. Tweeting less drops the priority for this user and we will use longer intervals. So twitterers like timoreilly will get scanned more often than the huge bulk, that doesn’t tweet as often.

One more step to make twur.li really useful.

Jens-Christian Fischer

Maker. Musician