Blog

  • Wall Street Cred

    So… I don’t normally read the Wall Street Journal, but I was sitting in a waiting room for a few hours yesterday and the security guard, noticing that I was bored, brought me a copy. I read the table of contents and browsed to an article on network neutrality. For those of you who didn’t catch it, I published a short article on the topic the day before. I wrote the article while I was en route on the Sounder commuter train on Friday Morning, but didn’t get around to publishing it until Sunday.

    Anyway, this article in the WSJ resembled the article I published less than 24 hours before in this very blog.

    Am I suffering from delusions of grandeur, or am I still blathering into the ether? I’m certain it’s not *impossible* that this article was inspired by my work… I saw MySQL mentioned in a magazine published by the author of the aforementioned WSJ article, and MySQL feeds bits and pieces of this blog to its corporate aggregator. Anyway, Steve, if you’re reading this, give props if they’re due. :)

    Hannah and I are heading in to town tomorrow with Scarlet. Hannah’s got an interview with a small web development place, and I’m pushing to get her an interview with Amazon. I’d love to work with her on a web dev team. Her skills are second to none in her area of expertise. But don’t take my word for it…

    Anyway… Off to bed for the Adams-Collier family!

  • Network Neutrality in a nutshell

    Network Neutrality is a term used to encompas the need for a balanced playing field on the Internet. Proponents for neutrality claim that having a tiered infrastructure will create a hierarchy of “haves” and “have nots.” The perceived problems would be similar to U.S. politics’ main problem: everyone has an equal vote; but those with money have a slightly “more equal” weight. Proponents claim that this same “class separation” would occur were network traffic to become tiered.

    Opponents to “network neutrality” note that traffic on the network is saturating the pipes which carry data from one computer to another. They claim that one way to reduce traffic is by means of economics. By tiering network traffic based on content type, services with high bandwidth demand would become more expensive; the theory of supply and demand suggests that these high-traffic services would become less common.

    I agree with opponents of network neutrality in that there is a saturation limit being met. However, I do not feel that tiering traffic based on content type is the way to address the problem.

    My family’s ISP is facing a much larger drain on its resources than bandwidth-heavy services such as video and audio. This problem is the constant, daunting issue of handling the high ratio of unsolicited mail, or “spam” to good, expected mail, or “ham”.

    A better approach to the solution of network saturation (in my humble opinion) would be to provide a base level of service at no cost, and charge the participants a content-neutral fee for going over this rate limit. This is the way that ISPs are charged for inter-ISP communication, and with a little bit of engineering can be extended to customer-to-ISP communication.

    Let me give an example of when network traffic fees would apply, and when they would not be applicable. When you have two or more computers in your home, this network type is called a “LAN” or local area network. Any traffic that passes between the computers on your LAN travels across your own wires (or, as is becoming more common, your own wireless network). On a properly configured network, LAN traffic is not subject to fees of any kind.

    If your neighbor has a computer in their home and you wish to communicate data, such as images, internet phone calls, movies, music, etc, you will likely need to pass these files over your ISP’s network. All of the files that are sent from your system to theirs will be accounted as Internet traffic, and rate limiting will apply. Your ISP might provide a base service of, say, 56 kilobits per second at no cost. This is enough to have an internet phone call with video, or to listen to your favorite radio show. It is even enough to stream a low resolution video.

    However, if you combine these services, ie, talk on the phone while a video is playing in the background, you may exceed your rate limit.

    There are a number of ways to address the problem of surpassing a rate limit. The general term for handling this issue is called “traffic shaping.” The ISP can do one of the following to handle rate limit exceptions.

    • Disable surpassing rate limit by enforcing a hard cap
    • Charge a fee for traffic above the rate limit (say $100/Gigabyte
      per month)
    • Determine the average rate and charge a monthly fee based on
      this

    These are only three examples. There are many other ways to address traffic shaping which are content-type-neutral.

    It is my opinion, as a small ISP operator, that the types of content-specific traffic shaping being discussed are unnecessary and will cause more harm than good. A more general, network-neutral approach to addressing network saturation should be considered.

  • Shaking things up

    It’s been a hectic week, and it’s only Tuesday.

    My wife and I recently made a decision to move on from MySQL. My passion is software development, and my experience doesn’t lend itself well to database development. Therefore, I’m returning to Amazon on Monday, if my intel is correct.

    Through a strange series of coincidences, my resume was submitted to the same group which I left 14 short months ago. I will be returning to HTML, JavaScript, Perl, shell script and a tad bit of Java development.

    It has been a pleasure working for and with MySQL AB. They make a wonderful database, and their support folks are top notch. I’ll miss them all. But heck, I can stay in touch just as easily as ever. That’s one nice thing about working in a virtual company: you learn to keep in touch by any means necessary.

    The roses are blooming. The lawn is mowed. Summer vacation starts Real Soon Now™, and I’ll be taking a train to work starting shortly.

    I’m going to be spending a lot less time with Scarlet and Hannah than either they or I are used to. It will be nice to separate work and home life, but it will also be difficult. Such are the problems with modern life, I guess…

  • New release of DBD::mysql (v3.0004)

    Patrick released a new version of the perl MySQL connector. This .pm was my introduction to the mysql world, way back in the day. If you can program your way out of a perl brown paper bag and you haven’t used this tool yet, I recommend you write a hello world program to get familiar with it. Good stuff.

    Dear DBD::mysql users,
    
    This announcement comes a few days late, but DBD::mysql version 3.0004
    (stable, production) and 3.0004_1 (dev) have been released!
    
    Version 3.0004 is the production version with server-side prepare
    statements turned off by default, and 3.0004_1 is the development
    version with server-side prepare statements turned on by default.
    
    The changes in 3.0004, as listed in the changelog:
      * Fix dbd_st_finish which closed the handle prematurely (Martin Evans)
      * Compile issues (Martin Evans)
      * Fix to dbd_bind_ph to deal with numbers (ints, floats) correctly
        (Alexey Stroganov)
      * Test changes - bind_param 41 and 42
    
    The changes to 3.0004_1 as listed in the changelog:
    
    * Fix dbd_st_finish which closed the handle prematurely (Martin Evans)
      * Compile issues (Martin Evans)
      * Small change to get utf8 data returned. One still has to:
          $dbh->do("set character set utf8");
          $dbh->do("set names utf8");
    
        to get utf8 back and even then you only get it back if the
        column is defined as utf8 in mysql.
      * Fix to dbd_bind_ph to deal with numbers (ints, floats) correctly
        (Alexey Stroganov)
      * Test changes - bind_param 41 and 42
      * Turned off 70takeimp test
    
    Note: to turn on server-side prepared statements, simply append
    ";mysql_server_prepare=1" to the connect string or via the driver
    handle. Please refer to documentation for further details.
    
    Notes:
    
    * The development (3.0004_1) version supports multiple result sets from
    stored procedures. Documentation and sample code (in the ./eg dir) is
    included on how to use multiple result sets. Also, the perldoc has
    information on multiple result sets.
    
    * To turn off server-side prepare statements to have emulated prepared
    statements, append ";mysql_emulated_prepare=0" in the connect string or
    via the driver handle.
    
    *As listed in the second changelog, this code is now much better at
    handling SQL statements that aren't supported in the prepared statement
    C API, and silently deals with determining whether or not to use the
    prepared statement calls.
    
    I really appreciate the help of Martin Evans, Alexey Stroganov, Henri
    Asseily, as well as the rest of the community in helping by giving
    patches and feedback about various issues with the driver. Thank you!
    
    NOTICE: Very soon, perhaps in a release or so, I intend to stabilise the
    dev release and make that the production release. This means that server
    side prepared statements will be turned on by default. I intend to test
    this thoroughly prior to making the switch, so that users don't have any
    problems when upgrading, when the time comes. This prepared statement
    API is only available with MySQL server versions 4.1 and above, so if
    you're using an older version, you won't notice anything. Though, be
    assured that even for the driver emulated handling of prepared
    statements, I will continue to make sure the code is improved.
    
    As the community, one think you can do if you are interested in helping
    is to turn on server side prepare statements in 3.0004, or try the
    development driver, 3.0004_1 to see if there are any problems. I've
    tested the code as much as I can, but I know nothing tests code like
    1000s of developers thinking of unique ways of using the driver that I
    never could have imagined. If you find a bug, please report it to me, or
    at http://bugs.mysql.com. I'll fix that bug and add test coverage for it.
    
    Coveati: Please make sure you don't use a threaded Perl with this driver
    on Solaris.
    
    Again, if anyone has any problems or questions with the driver, please
    feel free to email me, or especially post to dbi-users@perl.org , and if
    you find bugs, please report them to http://bugs.mysql.com
    
    These versions for this module can be found at CPAN:
    
    http://search.cpan.org/dist/DBD-mysql/
    
    The files:
    
    file: $CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0004.tar.gz
    size: 113043 bytes
    md5: 5d328b9fdaf899eba6d72258242ad0a0
    
    file: $CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0004_1.tar.gz
    size: 110175 bytes
    md5: 4dfbd956417f5b036ab55defb8fdfac7
    
    Kind regards,
    
    Patrick Galbraith
    
  • MaxDB Synchronization Manager User Report

    United Drugs had occasion to use the Synchronization Manager in production at this year’s convention. Mark Thomas (of United Drugs) and the MaxDB team at MySQL have been getting a use case document together to present the experiences. We had a great deal of help from the SyncMan dev team at SAP Berlin and Chris Hall of Just 4 Dental (who, by the way, also uses the Synchronization Manager in production).

    I think the document has come together well and does a good job of describing what the industry can expect out of the Syncronization Manager in its current form. It should also be noted that this document has been presented to SAP Berlin and that many of the issues that have been brought to light have been addressed in the most recent release of MaxDB, 7.6.00.27.

    So, with no further ado, let me present to you MaxDB Synchronization at United Drugs’ Annual Convention, A report on the usage of the MaxDB Synchronization Manager by Mark Thomas (United Drugs) and C.J. Collier (MySQL).

  • GtkGLArea-Sharp update

    Last night, Hannah was visiting a friend and Scarlet went to bed early. I spent a couple of hours bringing my mono development environment back up to a working state and verified that the gtkglarea-sharp still builds with the current mono. All’s good.

    I made some changes to the wiki documentation, reflecting my appointment as maintainer of the upstream gtkglarea C library.

    The top priority for now is getting Alp’s managed GLX bits integrated into the build. It should be relatively simple; I just need a few more hours to do it.

    Building a .deb of the library is also a high priority. It looks like dmoonfire is already on this, along with a number of other great .debs, including the one for tao, and one for connector/net (which I plan to supercede :) )

  • Interaction

    Hey all. Please comment on this entry. I’m trying to get an idea of who’s listening to what I say.

    Why do you read this blog? Are you interested in community wireless networks? OpenGL development on Linux? Family? Business Intelligence? Synchronizaton Manager news? Freecycle™ development? Random Perl bits? Something else I’ve forgotten about?

    I’m finding myself over-extended and I need to cut back on some of the things I focus on. Please let me know what is important to you so I know how best to re-organize my time, energy and other resources.

  • Goodbye, Peter Z!

    Today, we had a going-away lunch for one of the local MySQL guys, Peter Z.

    I had a picture taken.

    Goodbye photo

    From right to left: Peter, Karen, Kelly, Joe, Larry and yours truly.

  • New release of MaxDB: 7.6.00.27

    I’m happy to announce new releases of MaxDB 7.6. The Devs have put a lot of time and energy into this release and it addresses many issues. Take a look through the Change Log for some details.

    Grab a copy of the new release here:
    http://dev.mysql.com/downloads/maxdb/7.6.00.html