Monday, April 23, 2007

the buddystumbler team has a new member!

besides moving to a new home and being on the front page of businesshackers.com, we have another great news to announce. rajesh, a.k.a. drizzle in the buddystumbler world, has officially become a member of the buddystumbler team. during the past few months, rajesh has been the master mind behind buddystumbler's business and marketing strategies. he's brought to the team his grand vision and countless number of brilliant ideas. han and i really appreciate the contributions rajesh has made towards the growth of the site, and we look forward to continue working with him in the future.

welcome rajesh! :)

www.businesshackers.com - check us out

Some good news for us on the PR front this morning. businesshackers.com - a web 2.0/entrepreneurship site put us on their front page this morning! Thanks businesshackers.com!

We moved

Just a quick follow-up, the move should be more or less complete at this point. There are still some niggling issues around the email notifications - but other than that, buddystumbler has a new home.

Traffic has been light this weekend, so it's too soon to tell but it looks like the new setup is vastly superior to our old one.

cheers!

Saturday, April 21, 2007

moving to hostingrails!

Folks, we've begun the move in the last hour. Our new host is hostingrails and I'm pretty excited about them from my brief interaction with them so far.

Apparently, they've helped some of their clients survive a slashdotting - so if they can withstand that sort of onslaught they definitely seem to know what they were doing.

Because of my schedule lately, I decided to not burn cycles studying up on the vagaries of yet another deployment environment. So, I paid the hostingrails folks a little bit more to set the application up for us and they did it in a day.

The new configuration features a dedicated memory setup and 3 mongrel instances. The problems with ImageMagick were also sorted out from the get-go. From my preliminary tests, the server is MUCH faster than the setup we had at site5 which relied strictly on fastcgi.

Hopefully, what this means is NO more "rails application error" messages and improved performance throughout. Yim and I have been somewhat playing it conservative on the development side until we made this move - now we can unleash the code demons within us and make some serious changes!

We're hoping we can make hostingrails our semi-permanent home for the time being. The DNS changes were made just 10 minutes ago. I expect it will take between a couple of hours to possibly 2 days for the DNS to propagate worldwide.

Although this is disruptive, this change is essential for the growth of the site. We were in striking distance of 900 visible users this weekend - but it looks like that will have to be another day.

Once we've moved over to the new server, there could be some weirdness initially. If you see something odd, please let us know.

Thanks for the support!

Monday, April 16, 2007

Site5 is an awful Rails host - we're moving!

As the site has grown, we've started to feel the pains of shared hosting. Our current provider site5 has proven incapable of living up to the task. For folks interested in starting a ruby on rails application, you can look forward to the following:

1. No phone support, no sales support.
2. Overcrowded servers. Don't believe their advertising, their machines are powerful but they put 20+ people per machine and any given user can eat up all the RAM on their machines.
3. Extremely limited Ruby on Rails expertise. Today, buddystumbler.com's ridiculously slow rendering Captcha is due to a random Site5 reconfiguration of their ImageMagick installation which has yet to be resolved. The system administrators do not know why it is so slow.
4. Most technical questions are redirected to their forums where users are forced to fend for themselves.
5. No mongrel support. Site5 uses FastCGI. Moreover, the FastCGI configuration allows each user to scale between 1 and 5 dispatches. There is a process killer that randomly kills off processes when load is too high. This gives folks the "Rails Application Error" problem. They need to configure their box to have a fixed number of dispatches. This has been communicated to their support team - but since they aren't really Rails specialists, they don't know how to size their servers in this situation.
6. Site5's response to any performance issues is to kill people's processes then resolve the ticket. The technical support people basically treat you like a raving lunatic. When asked about upgrade options, they just pointed me to their sales page.

Over time, I've scoured the internet to work on ways to "hide" the "Rails Application Error" problem. The dispatch.fcgi below has worked best for me, much thanks goes to Chris Gaskett.


# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'

class RailsFCGIHandler
private
# improved version of frao_handler
# by Chris Gaskett chris.gaskett.com
# tries to keep one fcgi process alive
# still might need a kill -9 sometimes if processes hangs
def pfrao_handler(signal)
dispatcher_log :info, "asked to terminate immediately"
number_procs = `/bin/ps ux | /bin/grep -c fcgi$`.to_i
# note: to_i produces 0 if conversion to integer is not successful
case number_procs
when 0
dispatcher_log :info, "pfrao handler error, check number_procs query, paths. Exiting"
exit
when 1 .. 2
dispatcher_log :info, "pfrao handler restarting instead, only two process left"
restart_handler(signal)
else
dispatcher_log :info, "pfrao handler agreed to exit, more than two process is running"
exit
end
end
alias_method :exit_now_handler, :pfrao_handler
end

RailsFCGIHandler.process! nil, 50


I share the code above because, buddystumbler is moving! Over the next couple of week's we'll be moving our source code repository and the entire site to a more reliable host which should help our uptime tremendously (as well as improve site performance).

Thanks for putting up with this!

Sunday, April 15, 2007

poll results: week of 4/9

here are the results for last week's polls:

1. do you think the site provides enough information (faq and tour) to get you started?



2. do you think there should be an optional field on the profile page to input a URL to your personal blog/webpage?



3. should we allow users to upload multiple profile pictures?



(not sure why i can't get this image to show, but here are the voting percentages for this poll:

22.2% - yes, anything more than one is fine
16.7% - no, just leave it as is
16.7% - yes, it would be nice if i can upload five or more pictures
44.4% - yes, three to five pictures would be good enough for me)

in order to prepare for the upcoming site changes, we will stop running polls for a while. thank you all for your participations in the past few weeks!

Sunday, April 8, 2007

IMs exposed

This afternoon we rolled out changes on each user's profile page that will allow everyone to view which networks they have IM screen names on. This is a change you folks voted on and we've gone ahead and delivered it! To view a person's available networks, simply navigate to a person's profile and look at the icons that follow the "available on" page text.

Thanks to rana for this excellent suggestion! Hopefully, this will allow folks to make "informed" decisions when requesting people to be buddies.

Keep the suggestions for new enhancements coming! You can always drop myself or yim a line through shout outs, the contact us page, or by matching up with us (we won't bite).

Happy stumbling!

poll results: week of 4/2

here are the results for the most recent polls:

1. should we require user to input his/her birthday during registration?



2. how would you like us to improve the buddy matches page?




3. how would you like us to improve the shout outs page?


Friday, April 6, 2007

Search changes rolled out

Over the last 2-3 days, some of you may have noticed changes to search. We now allow you to pick your own age ranges. In addition, we've expanded the distance searches up to 1000 miles.

One popular request per your votes still remain - searching by city. Yim and I haven't worked out when we're going to build that one yet because it conflicts with some larger changes we're planning to roll out onto the site. So, unfortunately that change will take a bit.

We are however looking at all the poll results and actively building what you folks are asking for. If you have any new suggestions, please let us know!

Wednesday, April 4, 2007

buddystumbler blog badge

if you've been to your public profile or your "my account -> summary" page in the past day or so, you might have seen an image like the following:



below or right next to the image there is a text area that contains code you can copy and paste to you blog or any web pages you might have. the image will link directly back to your buddystumbler profile.

this is the very first enhancement that han and i make based on the feedbacks we received from the polls. it still has a few problems here and there. we've tried to fix them as we discover them, but please let han or me know if something doesn't work right. we hope you guys will use it. :)

finally, i would like to give tonton credits for proposing this wonderful idea. if you have any feedbacks or thoughts on how to make buddystumbler better, please send us an email. we would love to hear from you!

Sunday, April 1, 2007

601

Tonight, BS achieved a new milestone of 601 users as of this writing.

In the last 48 hours, we've had 75 new registrations and 125 shout outs. In the last three months, we've been able to acquire about 1400 registrations.

When I look across the various profiles on the system, I can tell that people are making connections. It's something that Yim and I talk about all the time and it is genuinely exciting. The site has a long way to go (we need to make money so we can at least break even and get our own server - the site crashed 3x last week for hours on end thanks to site5's awful uptime), nonetheless Yim and I are on a mission to create a phenomenon: to unite the 200M active IM connections at any point in time into the most dynamic social application the Internet has seen yet.

So 601 users seems very far away from that; yet "In dreams, begin responsibility."

Thanks everyone for keeping the dream alive.

poll results: week of 3/26

1. how many keywords should we require users to input?



2. if we can auto-generate an image or small banner that you can put on your personal blog to link back to your buddystumbler profile, would you use it?



3. should we display information about which IM networks (yahoo, msn, etc.) a user belongs to on search results and profile pages?



4. would you like to see a person's buddy matches on his/her public profile?



thanks to everyone who voted!