Thursday, April 16, 2009

Service tweaks

To be honest, as of late I haven't really logged into the FollowWatch account or done much with it the past few weeks because of stressing over getting my taxes done. Well tax day has come and gone, so that's a burden off my back.

Before I mention the tweaks, I wanted to talk about invites for a quick moment. If you're queued for an invite, nothing's going to happen to your place on the queue. You won't be removed. You only run the risk of being removed from the queue if you unfollow the page. Queued users are deleted from the front of the list as invites are sent out to those individuals. When a block of X (could be any amount) invites are being handed out, it automatically goes down the list of people in the queue in order they joined the queue. It generates that person's unique invite, deletes them out of the queue, and attempts to send the invite. DMs can't be sent to people who don't follow you, so if you're not following, that invite fails to send. If that invite fails to send, it's deleted and the process moves on to the next person in the queue until X invites are successfully sent. What this also means is, following/unfollowing/following again won't affect your position in the queue UNLESS the attempt to invite you already came by.

And most importantly, the big reason invites are delayed, twitter's moving way too slow these days, don't want to break the app for the people already signed up.

Regarding the tweaks, made some adjustments to report processing. Most users report more than once a day, but some keep it once a day and stick with the defaulted 12 am eastern report hour as their single hour. Still though, even for most users, their followers don't change in the hundreds daily. But there are a couple users of the application who do. And most of their changes are adds not drops. Leveraging their follower information for their reports reduces the number of calls to twitter which brings speed improvements to the reporting process when there are a lot more users to process reports for in a particular hour. It also increases capacity for number of people that I can allow access into the application. So some more invites should be coming soon.

The other adjustment corrected a bug. Well, not so much a bug, but a nature of the design of the system. After reports are generated, the follow changes recorded (adds/drops) gets deleted from the system. The "bug" occurs when twitter's running sluggish and causes one hour to overlap another, where changes recorded for the current hour were deleting with the changes recorded for the previous hour. Changes have been made to eliminate that conflict.

1 comment: