Category Archives: Code

Meet CUBRID: One of Korea’s Top Open Source Projects

A Conversation with Jay Kim and Esen Sagynov of CUBRID.

www.cubrid.org

www.cubrid.org

I participate at the MySQL Conference in Silicon Valley every year and look forward to the diversity of ideas, projects and companies that represent the ever-growing open source database landscape. This year, CUBRID, an open source database project backed by a company from South Korea, caught my eye. What was most impressive to me was the team’s enthusiasm about open source software and its belief that an open source model can work for developing good software and, at the same time, for building a healthy services business in Asia as well as globally.

CUBRID’s team from Korea proudly announced its participation in the global open source ecosystem through the example of its open source relational database project at the conference. I talked with Jay Kim and Esen Sagynov from the CUBRID team about their experience building an open source database in Asia, growing the CUBRID community and increasing its adoption. Here is what they had to say.

1. Tell me about CUBRID?

CUBRID is an open source relational database highly optimized for web applications. In the summer of 2006, NHN, Korea’s top portal and search engine joined the CUBRID project as a major co-developer. After two years of development, in October 2008, CUBRID became an open source project with a GPL v2 or later license. Code development was initially hosted at http://dev.naver.com/projects/cubrid, a CUBRID development project site in Korea. As of October 2009, the project has been now setup at Source Forge.

NHN’s experience in database development and supporting its numerous on-line services provided a great opportunity to develop and scale CUBRID to handle large concurrent requests.The latest version CUBRID 2008 R2.2 was released in May 2010, the next version CUBRID 2008 R3.0 is expected to be released this summer.

2. How has CUBRID used the open source model for development?

CUBRID’s presence in the open source industry has already brought many changes. It is one of the leading open source projects in Korea. With the help of its open source community, CUBRID has been able to deliver 8 releases of CUBRID DBMS at an interval of 1-4 months, twice more frequent than other database providers.

From our experience in Korea, we are trying to develop CUBRID Cluster and CUBRID Manager, a client GUI database administration tool, and spin-off projects with many other developers. All of these projects come to live and continue to be developed because of the open source community. We feel that we create value for both users and developers around CUBRID.

The open source model has helped us not only facilitate development of third-party applications and tools for CUBRID DBMS but also helped generate new ideas and encourage more users.

3. How do you see CUBRID playing in the US market, especially since you have to compete with larger, more entrenched competitors like Oracle and MySQL?

The U.S. has always been the land of opportunity. CUBRID envisions its niche in web applications. Instead of competing with the market leaders, CUBRID is positioned in a slightly different way, being a database highly optimized for web apps, particularly those which drive extremely high traffic with prevailing READ-transactions. It provides enterprise level features for all users under GPL and BSD license.

CUBRID is being used in NHN’s numerous on-line services running on vast amount of servers in several environments, supporting scalability, stability and high performance. This allows CUBRID to support users’ requirements and their bug reports more rapidly. In addition, the average response time at CUBRID Community forum in the fourth quarter 2009 was only 3.6 hours.

We believe, CUBRID can attract users, including enterprises, who really value their own customers and this is the right time for them to get acquainted with CUBRID.

4. Why did you select GPLv2 as CUBRID’s license?

Unlike other databases, CUBRID does not distinguish our license policy between community and enterprise. There is only one version under GNU General Public License version 2.0 or later for the database server engine and under BSD license for the APIs and client tools. This CUBRID Open Source License Policy benefits both companies as well as community users.

We adopted the BSD license for our APIs because we do not want to impose any limitations for developing and distributing valuable products on the top of CUBRID. However, the core part of CUBRID, i.e. the database server engine itself, adopted the GNU General Public License so that any improved features on the server engine can be shared with many other users. For more information, see CUBRID’s Open Source License Policy.

5. How large is CUBRID’s user community?

We’ve gathered statistics related to CUBRID users since its first launch in October 2008. The number of total downloads has topped over 51,000 and latest statistics indicate a growing number of downloads with 3,200 downloads in May 2010 (per month). Also, the number of CUBRID Open Source community web site visitors increases daily. Last April, over 3,000 unique users visited CUBRID project home page.

Currently, there are over 20 active CUBRID open source contributors in Korea. There are also core developers in Romania and China. We are eager to support all interested developers and users to help grow interest in CUBRID. Considering our assumption that Korean database users account for only 1% of the entire global market, we believe the CUBRID community will grow very rapidly in the near future.

6. Has open source helped you grow CUBRID’s user community and convert them into paying customers?

Definitely, yes. Open source, as a whole, facilitates CUBRID development in a number of ways, including improved user awareness and faster adoption, stronger competitive positioning in the database for web industry, and, most importantly, a large base of users to find and report bugs and recommend improvements to CUBRID.

As open source is one of the today’s hot topics, most users and developers positively respond to the idea of holding Open Source Conferences and CUBRID Events. Therefore, we annually hold a CUBRID Bug Bash event. We bring together our experienced software engineers and CUBRID Community users and developers to search for and fix bugs in CUBRID and make code enhancements. NHN IdoCode (Summer of Code) is a large event to bring together professional software developers and enthusiasts to create new or port existing open source software for CUBRID. Those highly interested in open source development eagerly participate in the event and submit significant contributions to CUBRID Project. For instance, WordPress, phpBB, and MediaWiki have been extended to use CUBRID as the database server by our community contributors.

Ubuntu Users Community Guide is a Linux related event CUBRID also takes part in to facilitate the adoption of and software development for Linux Ubuntu OS. CUBRID also recently became a Linux Foundation Silver Sponsor. Linux’ strengths in the enterprise translate into major advantages for supporting web-based businesses. It’s ability to enable seamless high-volume transactions and high performance server/client infrastructure are among the reasons CUBRID has become an active member of the Linux development community and the Linux Foundation.

Additionally CUBRID supports various conferences like JCO Java Developer Conference, Advanced Computing Conference, attends global and local conferences like the O’Reilly MySQL Conference & Expo and Asia-Pacific Web Technology Conference.

We also organize an annual technical seminars called “CUBRID Inside” for our community developers. We discuss various details and challenges around CUBRID, including its three-tier architecture, CUBRID Quality Assurance process, CUBRID Heartbeat implementation, and so forth. As a result, we’ve experienced growing interest in CUBRID DBMS from developers and enterprise users, especially in the local market (Korea).

Nowadays, CUBRID is being actively used by IT industry leader in Korea – NHN Corporation, which deploys a farm of over 10,000 servers. In addition, large hosting companies Cafe24 and Mireene, software company ESTsoft, and many Korean local colleges manage their data with CUBRID. Two third of all CUBRID references come from the government sector. The Korea National Tax Service, Korea Ministry of Public Administration and Security, Korea Ministry of National Defense, Busan Transportation Corporation, and Korea White House are major customers who deployed CUBRID as their major database management software. Just imagine how much sensitive data they all have, how much security they all require – they all chose CUBRID as their database.

7. How would you attract newcomers to your community? What benefits can they expect and how can they contribute?

We often organize events for our community members to encourage their enthusiasm. We hold online seminars to share our knowledge, or bug bash events and distribute prizes for contributors. By participating in these events, newcomers can gain valuable knowledge in development and can share their knowledge with other.

We have enough interesting and exciting projects within CUBRID to get involved in, such as introducing a number of new query-embedded functions, porting existing open source projects for CUBRID, developing a newer version of CUBRID native libraries, and so forth. Besides major development activities, CUBRID community members are welcome to add to CUBRID’s on-line Universal Knowledge Repository by contributing better documentation, more code examples, easy-to-replicate examples, and comprehensive tutorials. Likewise, reporting bugs and providing feedback are also valuable for the community.

We want the CUBRID community to not be a place just to come and go, but to be a community where users stay and enjoy the rapid development process, something most newcomers are seeking for. To make CUBRID projects more beneficial to all, we always welcome any suggestion in every possible way from YOU!

Thanks Jay and Esen for taking the time to talk about CUBRID. Good luck!

MySQL Week Kicks Off in Silicon Valley

A Conversation with Colin Charles, Chief Evangelist at Monty Program Ab

O'Reilly MySQL Conference & Expo 2010

A lot has happened in the MySQL world since last year’s conference in Silicon Valley. Oracle’s acquisition of MySQL through its purchase of Sun has led to increased diversity and opportunities for the entire MySQL ecosystem. The conference this week in Santa Clara brings it all together and showcases the latest happenings. I chatted with Colin Charles, program chair for the conference, about his expectations for the event.

What do you hope the MySQL Conference will accomplish this year?

I hope that we’ll see us going beyond MySQL being a company, or a trademark. I believe that if people understand that this is one large ecosystem, where we have some outright forks (like Drizzle), and some branches (like MariaDB, etc.), we’re all helping make the MySQL ecosystem a more vibrant and better one. Like features being funded, etc. It’s completely amazing!

What great new things is MySQL planning for this year?

I can’t quite say this considering I have no idea what Oracle’s plans are. But I can expect things like MySQL 5.5, a lot of talk with the storage engine vendors, new happenings with InnoDB. This year, I expect a lot of things within Oracle to be “settling down”, so to speak.

From a MariaDB perspective, we’re taking in more community patches (an example is virtual columns that have been sitting around on the MySQL patch queue for quite some time – so we’re picking up the slack). We’ll also focus on engines. We want new optimizer features, which we’ve been spending a lot of time on.

Drizzle? I think a release is imminent. There are more and more users in various pockets now as well. And the team is quite distributed, with Rackspace being one of the major hirers of Drizzle hackers.

What is the role of MySQL in relationship to other Oracle products such as Oracle Database 11G and BerkeleyDB.

There is really no relationship. These are all independent products. How will this be sorted in Oracle land when it comes to selling Cluster NDB against Oracle RAC/Times Ten? Or MySQL against Oracle? I think Oracle will allow internal competition. Competing against yourself is a lot better than competing against others.

BDB was a MySQL engine. It now has an SQLite front-end.

How has the MySQL landscape changed with offerings like MariaDB, Drizzle, XtraDB and others?

Drastically. Now people have a choice. Drizzle is a complete fork of the 6.0 tree. MariaDB is based on the current release HEAD of MySQL, which is 5.1. XtraDB is an engine that’s included in MariaDB. In fact, MariaDB includes engines like PBXT, XtraDB, FederatedX (modified Federated engine that MySQL no longer maintains), and will soon include the Spider and Sphinx engines.

What do you think of NoSQL? Is it complementary to MySQL?

NoSQL is for very smart people with very specific uses. I think you’d have to understand how an RDBMS like MySQL works, and figure out that, for your specific use, it doesn’t do the trick. Then you might use one of the new utilities, all lumped as “NoSQL” databases.

It will be a growing player, and we’ve focused on this at the conference this year. Maybe next year, we’ll have a whole track or two, as steam is picking up amongst all these solutions, and a lot of shops run MySQL and some NoSQL solutions at some stage… especially the big shops!

Drupal Sprint India 2009 Follow-up

Here are some good blog posts reviewing Drupal Sprint India held in Pune on Oct 30-31. Looks like it was useful and fun for those who participated.

Drupal Sprint in Pune this weekend

Drupal in India by Prasad Shirgaonkar

Drupal in India by Prasad Shirgaonkar

Drupal seems to be picking up momentum among Indian developers and students this year. Reflecting this new-found interest is the upcoming Drupal Sprint on October 30th and 31st in Pune. The sprint is taking place at the Bhaskaracharya Pratishthana (BP) campus on Law College Road and is being organized by Pune Linux Users Group (PLUG) enthusiasts and BP.

At this cosy and focused FOSS gathering, you can participate in a sprint to fix bugs, write documentation, develop Drupal modules as well as learn about migrating from Drupal 6 to the latest Drupal 7. And if you’re not into developing code or documentation, you can learn about how Drupal is being used in websites, blogs and online magazines by attending talks and workshops which occur in parallel.

After organizing PLUGMASH a couple of years ago, I’m glad to see the PLUG organizing this event. It would be impossible to pull off this sprint without Vivek Khurana, Manjusha Joshi, Sudhanwa Jogalekar and all the folks volunteering their time to share their passion for Drupal.

Registration is free for this sprint. So all you need is time and of course an interest in building beautiful websites. If you’re in the Mumbai-Pune area, do stop by and participate. I’d love to hear from you about the event, so send me your feedback :-)

Red Hat organizes Professors’ Open Source Camp in Singapore

POSSE

POSSE

Professors’ Open Source Summer Experience (POSSE), a training bootcamp targeted for faculty members of technical universities in Asia is being organized from November 9-13, 2009 at Nanyang Polytechnic in Singapore. Faculty members from Singapore, Malaysia, China, India are expected to participate.

The first camp was held in Raleigh, North Carolina earlier this year in July.

The goals for the camp are ambitious. A cross-section of topics focusing on development tools and techniques aims to recruit new contributors to open source projects by providing a hands-on experience to participants using Fedora as project examples.

The 5-day camp starts with an overview of open source, then dives into communication tools such as IRC, wikis and blogs to teach participants how to be effective contributors. Development topics include compiling source code, using build tools, setting up a build environment and packaging with RPM.

Testing and bug fixing are easy routes for users to become contributors. Participants walk-through the process of filing bug reports with Bugzilla as well as editing, testing and creating bug patches.

The camp is being organized by Harish Pillay, Jasmine Ee, and Alan Ho from Red Hat Singapore. Mel Chua and Greg DeKoenigsberg are mentors for the program. You can find out more about POSSE Singapore at its website.

I think this program is an excellent start in the right direction by Red Hat and its Asia Pacific (APAC) team to facilitate open source education. Engaging faculty from engineering universities is key to increasing contributions as well as growing the talent pool of engineers in emerging markets to support industry demand.

At IPDC3 with Dom Sagolla

“Building Teams, Polishing Ideas, Creating Truly Compelling Demos”

iPhoneDevCamp 3

iPhoneDevCamp 3

Dom Sagolla has been a key mover of the iPhoneDevCamp movement since day one. It’s been impressive to have Dom’s energy, enthusiasm and ideas take the iPhoneDevCamp to next level. Throughout the DevCamp, Dom was hard at work, helping folks as well as making progress on his upcoming book. Here are Dom’s responses to some questions I had for him at the camp this year.

  1. The iPhoneDevCamp model offers a winning formula for community collaboration events. It is likely that other technology communities may be able to use this model. What would be your advice to them?

    It’s already begun with things like AndroidDevCamp, PreDevCamp, and now “WinMoDevCamp“.

    My advice is always this: Make the event all about the participants. When you focus on building teams, polishing ideas, and creating truly compelling demonstrations, you are following the model of BarCamp.

  2. A 10 year old developer won applause as the youngest participant at the DevCamp this year. How do you see the camp inspiring kids in school and in general?

    10-year-old Annika has my favorite story this year. Having been dragged along to last year’s event, she made the best of it by reviewing the apps of other participants. This year, she’s created @KidGameReviews and started developing her own games! Annika shows us just how easy it is to get started with iPhone Development. She’s still learning but the growth I’ve witnessed over the past year, in her and in the community, is inspiring.

    iPhone is a lens, through which the problems of computer science may be examined. I hope kids of all ages get a chance to play with Apple’s superb example code just to see what’s possible in a few days’ time.

    Every year we sponsor a few student participants at iPhoneDevCamp, and we will certainly continue that tradition. Perhaps we’ll add to this a new category of “Youngest iPhone Developer”.

  3. Some apps such as Avatar Wall, winner in Coolest iPhone App category, used Twitter to demonstrate their ideas. What do you think is the impact of social networking services such as Twitter on the type of apps being developed?

    Twitter is becoming a communication utility, like other service providers online and in our homes. Seeing the Twitter API in use at iPhoneDevCamp is another sign that social networking is now a fixture in our lives.

    iPhone was launched just when Twitter began to gain prominence two years ago. There has been a complimentary arc of growth for both Apple and Twitter since then, and Twitter was profiled as an “Apple Business“.

    I see the intersection of iPhone and Twitter as a kind of cultural nexus. The best of breed Twitter apps are on the iPhone / Mac platform, and the most virulent iPhone apps integrate well with Twitter and other social media. The two platforms combined create a vortex of attention and zeal that is driving innovation on both ends.

  4. How does a community event like the iPhoneDevCamp that has grown in popularity every year fit into the iPhone developers ecosystem? How does it complement official (e.g. by Apple) and unofficial (e.g. barcamps) activities?

    I like to think of iPhoneDevCamp as a “sister event” to WWDC. Folks go to learn new technologies and talk with Apple engineers at WWDC. Inevitably they are inspired and want to test their knowledge, so we have created iPhoneDevCamp where they can form teams and build things.

    The relationship is complimentary: We do our best to schedule around Apple’s events, and stay in contact with them at an informal level.

    In the BarCamp tradition, we want to be a model for other Open Source communities to band together, find sponsorship, and field events of their own. I think the Satellites program launched for last year’s iPhoneDevCamp, with double the participation this year, pretty clearly shows our commitment to the BarCamp way.

  5. Your writing project “140 Characters: A Style Guide for the Short Form” sounds exciting. Is there going to be a chapter about using Twitter at the iPhoneDevCamp? You mentioned you’d be gathering some source material for the book at the DevCamp. Did you notice anything interesting about how Twitter was being used by the participants (and organizers)? Tell us more.

    140 Characters: A Style Guide for the Short Form

    140 Characters: A Style Guide for the Short Form (flickr:Sagolla)

    I do talk about iPhoneDevCamp in “140 Characters”, yes! Our use of #ipdc3 as a tag this year, as well as a few choice quotes from our performer @BT are profiled: http://bit.ly/140-chars.

    iPhoneDevCamp itself formed out of the Twitter community. @Ravenme wrote to @ChrisMessina who posted an inquiry for space, which I picked up because I’d just started following Chris in mid-2007. I replied in public to Chris, he followed me back and the rest is a history of 100% year-on-year growth.

    Twitter accelerates small societies.

    We did an experiment this year, where we made our Satellite broadcast available via iPhone and iPod touch for the first time. Tweeting that link resulted in about 1000 viewers around the world. That’s how I measure reach: How many people are tuned into your message RIGHT NOW?

    I measure impact with action: in the last days of Registration for the camp, we sold out three (3) times. Each time capacity was lifted, we tweeted the Registration link and we were sold out again within hours.

    The Twitter community is voracious for learning and real-life connection. Tapping into that has been critical to the success of iPhoneDevCamp and the iPhone Developer community abroad.

  6. What can we expect at DevCamp 4? Any surprises coming up?

    Next year: iPhone Jam Band! :-D

    Seriously we haven’t talked about plans for next Summer yet. Right now is the time to follow up with all the Satellite communities and see how we can enable more events elsewhere during the year.

    We would be thrilled to work with Yahoo! and all of our sponsors again next year, which we know will be yet again bigger.

Dom Sagolla

Dom Sagolla (flickr:Sagolla)

Dom Sagolla helped create Twitter with Jack Dorsey in 2006 then co-founded iPhoneDevCamp with Raven Zachary in 2007 (just a week after the launch of the original iPhone). After helping Raven and the team create the Obama ’08 iPhone App in 2008, Dom started his own company DollarApp in San Francisco, resulting in two Staff Favorites: Big Words and Math Cards. @Dom’s book “140 Characters: A Style Guide for the Short Form” is the subject of his next iPhone invention, shipping this Fall.

iPhoneDevCamp 3 ends with a roar: 54 apps showcased!

iPhoneDevCamp 3

iPhoneDevCamp 3

What a weekend at iPhoneDevCamp 3! Community and friends coming together to collaborate, hack code, enjoy great food and soak in the picture perfect weather at Yahoo’s beautiful campus – what else could an open source geek ask for? Here is the group photo of everyone who participated this year.

I thoroughly enjoyed the Dev Camp this year- there were some excellent talks on Saturday. There was plenty of time for hacking and the results of the hackathon were paraded out on Sunday afternoon. Open source and web applications hacked together over the weekend were showcased. Other apps included alpha versions of future App Store products. More than 60 apps were entered for the hackathon and 54 of these were were showcased in the demo session. Chris Allen, guru and mentor for the hackathon along with other judges watched each demo with great attention and afterwards announced the winners in each app category. The winners are listed here.

My congratulations again to Raven Zachary, Christopher Allen and Dom Sagolla – the key movers for making this Dev Camp happen. And thanks to Yahoo! for providing a fantastic venue for everyone to gather and build some innovative web and native iPhone apps. Looking forward to iPhoneDevCamp 4!

iPhoneDevCamp 3 gets off to a running start

iPhoneDevCamp 3

iPhoneDevCamp 3

The third iPhoneDevCamp kicked off Friday evening at Yahoo!’s scenic campus with an enthusiastic audience and an excellent talk by Chi Hua-Chien’s session on iFund, Kleiner Perkins’ venture fund for iPhone applications. Today started with a great  presentation by Andrew Stone on ‘How the NeXT Computer Became the iPhone’. There are at least 400 people now, forming groups to develop their apps. Some are  listening to BT, the current speaker who is a musician and DJ who is presenting his iPhone app Sonifi that allows users to remix music. Sonifi also has in-built stutter gestures using the iPhone accelerometer. You can stretch these stutters to extend sections of music which makes it sound metallic. Interesting stuff! After this session, a pizza lunch and four parallel sessions of talks on web and native development tools and techniques are coming up. Time to get back to work on our app for the hackathon!

Showcasing Code in Silicon Valley

CodeCon 2009

CodeCon 2009

Bram Cohen, creator of BitTorrent has been organizing a peer-to-peer applications unconference named “CodeCon” in San Francisco since 2002. Pulled together by Bram Cohen and Len Sassaman, the unconference demonstrates bleeding edge software apps and allows programmers to show off their coding prowess.

After a hiatus for a couple of years, Bram has now restarted the conference. Applications that’ll be showcased include effortless BitTorrent deployment with BitTorrent DNA, a distributed transaction layer for Google App Engine, a trend profiler for C/C++, and a parallel web browser for handhelds and multicore laptops. In addition, a BioHack track will demonstrate cool biotechnology apps.

For programmers in the Valley who are interested in the latest peer-to-peer applications, CodeCon definitely is a place to be. CodeCon will be held from April 17-19, 2009 at CellSpace on 2050 Bryant Street in San Francisco. The program can be found here.