Tuesday, September 20, 2011

Update on the changes to brps.js

After the post about potential upcoming change to brps.js. As of writing this post, the change has been taking effective.

For last two weeks, I tried to block bad IPs, which I found some blogs use bots repeatedly to bloat their viewer statistics. And the scale is quite high, by blocking subnets, the CPU cost reducing from $3+ to $0.

However, it's still not enough, datastore operations still cause $0.03 a day at least. Which, obviously, I wouldn't want to pay for. Heck, this is free app, I won't pay for anything to service.

It's a shame, crappy blogs cause me to take some measures in order to keep this service free.

Blocking IPs is not a good idea because they come from everywhere and many legitimate requests are also blocked. So I decided to do something on the client script.

I thought I would redirect, but I would like to try to make the list loading manual first to see if that would reduce requests.

From my experiences, I know less than one percent of people would really want to read you related posts list. The actually number is lower. Some people probably not notice you have such list on your blog if your blog looks like being splashed by colorful inks.

Anyway, at this moment, you should see a button instead of a list. I have updated the documentation, you can actually use own text for the button or set up automatically loading as before. But please, if you don't have no good reason, please don't turn on autoload.

It would be better if you can switch to the newer client script.

Friday, September 9, 2011

There might be a change to brps.js

This only affects brps.js users.

Long story short: In order to keep BRPS free, I most likely would redirect brps.js script to gas.js.

Currently, brps.js uses 96% of overall processing and GAE will start to use new charging model, which is certainly cause BRPS using all free quota and more. Please read this post for little more on it.

Basically, you don't need to do anything, at least not now. But some feature might be missing, I am not quite sure if two scripts have same features. It's been too long since last time I read them.

This is just a quick update. If you see something wrong with your widget on November 1st, you know what's going on.