Oct 312013
 

Alright, a quick summary on XMPP before Halloween ๐Ÿ˜‰

ejabberd is up and running with 3 nodes in the cluster, and having data replicated to all 3 nodes thus service will be up and running as long as there is at least one node alive. With SleekXMPP created 5M which is much faster then ejabberdctl, created 10,000 pubsub nodes so that I can do announcement to user groups, but seems I need to recreate them as they are currently all belong to admin account, which does not fit into real world. pubsub is working as well, but I need to find another solution with better performance – it’s current about 1 subscribe/second, and seems most time was spent on authentication, so I need a feature of “subscribe for others” to speed up the test deployment, though this is not necessary in real production. I haven’t test publishing information yet. Continue reading »

Oct 142013
 

Time to play with HA ejabberd setup now.

It was said number of daily active user will be less than 1M, and IM is just a feature of the mobile product, and believe that people will spend less then 2 hours on it everyday, also people will use the App mainly during traffic hours. So it’s 2M hours span to 7~9am and 6~8pm, 4 hours. I would like to assume it is evenly distributed, this makes the concurrent online user … 500K, Not a big number, and since it is just a non-key feature, so activities will be limited.

So I think I’d go with a full replicated ejabberd cluster, “full” means I’m going to replicate everything – password, roster, offline message. I will check the stats of the production environment to see how the resource utilization is going, and tune the allocation whenever necessary. Continue reading »

Oct 102013
 

After several days stuck in various problems, it seems I’m making progress now.

First good news came from financial side … I found this site which is good for on-demand Mac “rental”, and obviously it saved me at least $200 (if I was to go with a refurbished Mac Mini). Now I just leave $30 in my account, and occasionally log on to build my Apps. It was said that you have to log in at least every 60 days, or your money will be gone, this makes sense to me and does not bother me at all. Continue reading »

Oct 032013
 

Learnt from the mailing list that I should not export mounting point as a brick directly, instead I should create a sub-directory under the mounting point and take it as brick, this will make life much easier later on whenever you have to do migration or re-organization (like changing replica).

Developers of GlusterFS are thinking of retiring replace-brick, from the mailing list I can see they have good point to do so (especially existing codes for replace-brick is too bad to be improved :P), however, as a (sort of) ops guy, I still prefer they can keep it since it makes ops’ life much more easier, but obviously they don’t quite agree with all requests/challenges to keep it. Anyway, it seems life will not end, it will just become a little bit troublesome, and if this is the trade-off for stability and/or performance, I’m fine with it.

Oct 032013
 

I think it was in year 2005 or 2006 that I migrated everything from CVS to SVN, and it was the time that my company was doing that as well. Now I’m migrating to git, and of course, my current company is doing the same thing :P.

Guess everybody knows the reason … let’s say it’s offline support, that you don’t have to connect to sever to do commit. Further more, subversion does not work well on VirtualBox’s shared folder, while git has no problem at all, I guess people like me who needs to work on both *ix and Windows platforms have to have this kind of support.

And this is the time to see how many projects I have, WeirdBox is a great thing to keep thinking of I’ve play with the codes for several years, aws-browser is obviously another thing to keep thinking of it’s my first app on iOS and AWS (EC2 and S3), XMPP Mail Alert has to be migrated as I’m using it at this moment (for a friend’s web site). I cannot recall anything else but will post here if I find any.

And I’m using github, because of feel like safe? At least it’s not that vulnerable as other small players.