Recent Syyncc bugfix: noticing better performance?

3 views
Skip to first unread message

Emlyn

unread,
Jun 21, 2011, 10:47:26 PM6/21/11
to syy...@googlegroups.com
I fixed some bugs over last weekend, just a little tweaking. The most
interesting was related to noticing Buzz comments and moving them to
Facebook.

To notice a user's posts in Buzz, Syyncc has to subscribe to the user
with Buzz, basically tell it "When a user makes a new post, come tell
me". To notice comments on a user's post in Buzz, Syyncc has to (or
used to have to) subscribe to the post; "When someone comments on this
post, tell me".

That second thing, subscribing to posts, was a real pain. I had some
code noticing new posts, and keeping a list of them in a big database
table, which some other code would periodically look at and work on,
making the subscriptions and deleting the records from the table...

... except, it wasn't keeping up. So, sometimes comments would go
unnoticed (and so wouldn't move to facebook), and the table grew
really, really big (hundreds of thousands of records over some
months).

Anyway, I made a fix to this to no longer use the table. I tested it,
it worked great. I rolled it out.

Then I noticed in my logs that the fix didn't work *at all*, was
throwing errors, doing nothing. But, Syyncc was happily working,
comments were moving, everything was fine.

It turns out, I think, that Google has changed Buzz. Now, when Syyncc
subscribes to a user, it gets notified of new posts *and* of new
comments on those posts. Which is awesome, totally what Syyncc would
prefer.

So, I went back and just removed everything to do with subscribing to posts.

Personally, I'm noticing two things now:

- Comments in Buzz are moving consistently to Facebook.

- Also, posts and comments in Facebook move back to Buzz much more
quickly than they used to. This is unrelated; there used to be a big
lag (up to 10 mins maybe) between when a Facebook user would post, and
when Syync would be notified by Facebook about it. Now, that
notification appears to be more or less instantaneous, like it is from
Buzz.

Has anyone else noticed these improvements?

--
Emlyn

http://my.syyn.cc - Synchonise Facebook, WordPress and Google Buzz posts,
comments and all.
http://point7.wordpress.com - My blog
Find me on Facebook and Buzz

Reply all
Reply to author
Forward
0 new messages