CarmaBlog

Agility, Java programming, New technologies and more…
  • rss
  • Home
  • Management
  • Agile Programming
  • Technology
  • Linux
  • Event
  • Contact
  • About the author
  • English
  • Francais

Get the opportunity to start a course about Gamification

Fabian Piau | Tuesday April 2nd, 2013 - 03:59 PM
240 views
  • Twitter
  • Facebook
  • Google +1
  • LinkedIn

Gamification logo A course is starting this week on Coursera about an emerging trend called “Gamification”, not to be confused with serious games. It consists in adapting the context of video games to business. So far my experience on Gamification boils down to the Jenkins leader board (you earn points for every successful commits and you lose them when the build becomes unstable). Of course, we can go much further in this concept, for example introducing achievements (medals) like on Foursquare… To learn more, I invite you to enroll in this course like I did.


Coursera logo

A few words about Coursera. This e-learning platform has been launched almost 1 year ago (current April 2012) and offers open and free online courses. You may be familiar with MMOG (Massive Multiplayer Online Game), in our case we are talking about MMOC (Massive Open Online Course). Courses are taught by professors from prestigious universities (Stanford, University of Michigan, Princeton …). The platform covers various topics and is not limited to Computer Sciences. The catalog also includes courses in engineering, humanities, medicine, biology, social sciences, mathematics and business. The format is usually the same with videos to watch, intermediate question forms and a final exam. After completed a course, candidates usually receive a certificate of completion.

Related posts

No posts found...

Comments
2 Comments »
Categories
Event
Tags
coursera, training, gamification
Comments rss Comments rss

Comparing NoSQL: Couchbase & MongoDB

Fabian Piau | Friday March 8th, 2013 - 06:30 PM
603 views
  • Twitter
  • Facebook
  • Google +1
  • LinkedIn

NoSQL logo

The NoSQL world is vast: Cassandra, MongoDB, CouchDB, Redis, HBase, Couchbase, Neo4j, BigTable and so on. Not to mention Map-reduce, Hadoop, Hive that are quite close to NoSQL concepts… All these tools have recently been released to process very large amounts of data, what is called “Big data”. Take the example of Facebook, LinkedIn or Instagram with their millions of users and you will understand why relational databases have reached their limits.

The first relational databases were released in 1979 by Oracle, it’s been over 30 years they are used and they still may be used for a long time. While the first NoSQL databases have emerged 7 years ago, if we take into account Google as the NoSQL pioneer with its BigTable technology in 2006.

For us, developers, it has become difficult to navigate in this jungle of technologies. It would need plenty of free time and energy to test all of this. Moreover, the projects we are working on are often not facing the same issues (a few hundred users at most). In this case, a classic relational database such as MySQL will do the job!

This article is not an introduction to NoSQL, I suggest you read this article or this very complete document. They were written between 2010 and 2011. They are a bit old, but they are still accurate to understand the basics.

MongoDB logo

Couchbase logo












I will focus on these two NoSQL document-oriented databases. “document-oriented” or “document store” means that a key (identifier) matches a unique “document”. Don’t think about a complex document, but a simple JSON formatted text.

Here is a sample document:

{
"_id" : "5897g42s0245afo4o473ai1e7",
"firstname": "John",
"lastname": "Doe",
"age": 26,
"sex": "M",
"interests": [ "Reading", "Running", "Hacking" ]
}

Couchbase and MongoDB databases are widely used today. They compete in a market, you will understand, quite saturated. Having used MongoDB (thanks to the 10gen training) and being aware to Couchbase (BruJUG session), I will make a comparison (probably not very objective) of the two systems. Things are changing so fast that I guess this article may be outdated in a few months…

A little history to begin with; MongoDB was created in 2009 by the 10gen company, Couchbase was created later in 2011 by the company of the same name.

Today, both systems are sharing many characteristics (open source, free, compatible with most platforms, good documentation…), but they differentiate on some points.


Scalability

In Couchbase, you can easily add servers to do clustering and obtain a distributed system, Couchbase is flexible enough to avoid downtime. Indeed, it relies on the power of the Erlang language, a functional and fault-tolerant language that manages hot changes.
For MongoDB, the configuration is a bit more complicated. For example, once you have defined the shard key (the key to distribute documents within a sharded cluster), it becomes difficult to change it afterwards. The system is not as flexible, so you have to think carefully about your data modeling before you move your application into production.
Scalability is why Couchbase is widely used in social gaming, where millions of players can play and their numbers can increase exponentially overnight.

Advantage for Couchbase

Monitoring tool

Couchbase comes with a turnkey package while MongoDB requires an additional subscription to a monitoring service. You can monitor MongoDB using the command line, but a monitoring tool without graphical interface is relatively restrictive.

Monitoring MongoDB

Monitoring MongoDB

Monitoring Couchbase

Monitoring Couchbase

In the end, graphical products seem pretty similar, but the fact that you must register for MongoDB (even if it is free) and that the service cannot be self-hosted… Meh!

Advantage for Couchbase

Querying data

MongoDB includes a variety of tools to perform queries. There is an equivalent for most of SQL operators, of course making joins is not possible. Someone coming from the SQL world will not be too disoriented and will find some similar concepts such as indexes and secondary indexes. You will find all operators available on this page.
With Couchbase, there are views like in relational SQL. It is a kind of a pre-written query in JavaScript, which is based on the Map-reduce concept. And that’s all! If you want to do more complex operations like filtering or aggregating your data, you must use Elastic Search (there is a Couchbase plugin available). Couchbase has chosen to focus on its NoSQL engine, letting the querying side to specialized search tools.

Advantage for MongoDB

Conclusion

These two databases are commonly used and are supported by large communities. You will understand there is no winner or loser. As always, adopting a technology instead of another will depend on your needs.


Other resources

  • Couchbase documentation
  • MongoDB documentation
  • VS Chart

Related posts

MongoDBFree online MongoDB training
Comments
No Comments »
Categories
Technology
Tags
couchbase, mongodb, nosql
Comments rss Comments rss

IconFinder, find efficiently your icons

Fabian Piau | Friday March 1st, 2013 - 02:00 PM
401 views
  • Twitter
  • Facebook
  • Google +1
  • LinkedIn

IconFinder logo

I was used to use Google images to find icons, but I find out a better tool for this task: IconFinder. Search results are more reliable and you are not bothered with no-relevant pictures anymore.

You can also browse the available icon sets: newest, popular, alphabetic… Give it a try!

Related posts

No posts found...

Comments
No Comments »
Categories
Technology
Tags
icon, iconfinder, icons search engine
Comments rss Comments rss
Page 1 of 1812345…10…»Last

Language

  • Français
  • English

Most viewed posts

  • Changing the language in Firefox - 18,747 views
  • Java EE & CDI vs. Spring - 10,057 views
  • Customizing Gnome 3 (Shell) - 8,164 views
  • Firefox Nightly, Aurora, Beta, Desktop, Mobile, ESR & Co. - 5,950 views
  • WordPress plugins of CarmaBlog - 5,354 views
  • Open Street Map, better map than Google Maps? - 3,124 views
  • This file is currently used, you cannot do anything… Thanks you Windows ! - 2,903 views
  • Belbin – Team Role Theory - 2,383 views
  • Using Google Docs to create an online survey - 2,023 views
  • Changing the Eclipse splash screen in few seconds - 2,011 views

Tags

automation jquery extension documents search engine cloud ebook wave .net build plugin unit test sharing eject ci script c# windows seven fosdem docjax nosql windows 7 configuration management mobile computing continuous integration mongodb unmount training hibernate best practices bash google wordpress hard drive itil jug ubuntu agile agility shortcut extreme programming blog firefox java eclipse nantes chrome test tool watin tdd

Recent Posts

  • Get the opportunity to start a course about Gamification Tuesday April 2nd, 2013
  • Comparing NoSQL: Couchbase & MongoDB Friday March 8th, 2013
  • IconFinder, find efficiently your icons Friday March 1st, 2013
  • Fosdem 2013 Impressions Wednesday February 20th, 2013
  • Fosdem, a truly open conference Monday January 28th, 2013
  • Free online MongoDB training Tuesday January 1st, 2013
  • Discover Maxthon Tuesday December 11th, 2012
  • Shutdown, standby or hibernate your computer? Sunday December 9th, 2012
  • A mobile version of your WordPress Blog Sunday October 28th, 2012
  • Using Google Docs to create an online survey Monday September 24th, 2012
  • Open Street Map, better map than Google Maps? Wednesday July 25th, 2012
  • First steps with Apache Camel Friday May 11th, 2012
  • This file is currently used, you cannot do anything… Thanks you Windows ! Sunday April 22nd, 2012
  • Customizing Gnome 3 (Shell) Thursday March 15th, 2012
  • Give your application a facelift – CSS Wednesday February 15th, 2012

RSS feeds

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Email Subscription

Enter your email address to receive notifications of new posts.

Links

  • Agile Nantes
  • Blog Ippon Technologies
  • Blog Netapsys
  • Blog Xebia France
  • Blog Zenika
  • Coursera
  • Developpef
  • Le Touilleur Express
  • Les Cast Codeurs Podcast
  • new Blog( perso );
  • OCTO talks !
  • The Coder's Breakfast

Follow me!

Follow me on TwitterFollow me on LinkedInFollow me on Google+Follow me on About.meFollow me on SlideShare

Categories

  • Event (9)
  • Linux (3)
  • Management (4)
  • Agile programming (11)
  • Technology (26)

Archives

  • April 2013 (1)
  • March 2013 (2)
  • February 2013 (1)
  • January 2013 (2)
  • December 2012 (2)
  • October 2012 (1)
  • September 2012 (1)
  • July 2012 (1)
  • May 2012 (1)
  • April 2012 (1)
  • March 2012 (1)
  • February 2012 (1)
  • January 2012 (2)
  • December 2011 (1)
  • November 2011 (2)
  • October 2011 (2)
  • September 2011 (1)
  • July 2011 (1)
  • June 2011 (2)
  • April 2011 (1)
  • March 2011 (1)
  • February 2011 (1)
  • January 2011 (2)
  • November 2010 (2)
  • September 2010 (1)
  • August 2010 (1)
  • July 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • April 2010 (1)
  • March 2010 (1)
  • February 2010 (1)
  • December 2009 (1)
  • November 2009 (1)
  • October 2009 (2)
  • September 2009 (2)
  • August 2009 (3)
  • July 2009 (1)
  • June 2009 (2)
rss Comments rss get firefox
Fabian Piau | Copyright © 2009 - 2013
All Rights Reserved | Top ↑