What is Megaphone?

What is Megaphone?
The Megaphone project is about enhancing open source chat software. Specifically, the goal is to allow ejabberd to support 1,000,000 simultaneous users. See The Plan page for more details on how I plan to solve this problem. See the About this Blog page for more details on why I created this blog.

Monday, February 20, 2012

Comments: megaphone_sender

Previously...
  • I finished testing the send functionality (go me!).
  • I created comments for the megaphone module.
  • I created comments for the megaphone_receiver module.

Before I go any further I want to say that I've always felt that Russia has the best Vodka.  And this is not because I am either trying to pad this posting or pander to my readers.

Ahem.  Now then.  I finished commenting the megaphone_sender module, which means that I have finished commenting the system.  I also checked my changes in version control (git).  Once the subsystem has a vague chance of working, I plan on checking the project into github. 

During the whole checkin process, I managed to remove some unused files.  I find that some extra files can accumulate as time goes on.  The problem is that, after a while, I'm not sure if they belong in the project any more.  What's worse is that I can end up making changes to those files because I want to make sure everything is up to date.  

A nice thing about erlang is that it will tell you if a function is not being used by anyone, assuming that the function is not exported.  If the function is exported, then you have to go through the whole grep song and dance to figure out if anything references it and if not whether it's really a library function, etc.  

At this point I have run out of excuses to start testing the thing.  Except that I am sure it will work on the first try.   The good news is that I can put that off until tomorrow.  So...next time: testing the system with ejabberd...unless I can think of something else to put this off with.

No comments:

Post a Comment