Saturday, July 19, 2008

Today's Paper: Follow-ups for Google's MapReduce

Ralf Lämmel: Google's MapReduce programming model - Revisited. Sci. Comput. Program. 70(1): 1-30 (2008)
http://dx.doi.org/10.1016/j.scico.2007.07.001

Abstract:
Google’s MapReduce programming model serves for processing large data sets in a massively parallel manner. We deliver the first rigorous description of the model including its advancement as Google’s domain-specific language Sawzall. To this end, we reverse-engineer the seminal papers on MapReduce and Sawzall, and we capture our findings as an executable specification. We also identify and resolve some obscurities in the informal presentation given in the seminal papers. We use typed functional programming (specifically Haskell) as a tool for design recovery and executable specification. Our development comprises three components: (i) the basic program skeleton that underlies MapReduce computations; (ii) the opportunities for parallelism in executing MapReduce computations; (iii) the fundamental characteristics of Sawzall’s aggregators as an advancement of the MapReduce approach. Our development does not formalize the more implementational aspects of an actual, distributed execution of MapReduce computations.

Jeffrey's MapReduce papers and Talk:
  • Jeffrey Dean, Sanjay Ghemawat: MapReduce: simplified data processing on large clusters. Commun. ACM 51(1): 107-113 (2008)
    http://doi.acm.org/10.1145/1327452.1327492
  • Jeffrey Dean: MapReduce and Other Building Blocks for Large-Scale Distributed Systems at Google. Invited Talk at USENIX Annual Technical Conference 2007
    http://www.usenix.org/media/events/usenix07/tech/mp3/dean.mp3

Friday, May 30, 2008

Today's Paper: Groovy O/R Mapping in ACM Queue

Chris Richardson has an ACM Queue article on O/R Mapping frameworks for dynamic languages, referring GORM (Groovy O/R Mapping). He successfully introduces GORM by highlighting its difference from Java's solution, Hybernate.

ORM in Dynamic Languages

Volume 6 , Issue 3 (May/June 2008)
Object-Relational Mapping
FEATURE: Q focus: Object-Relational Mapping
Pages 28-37
Year of Publication: 2008
ISSN:1542-7730


Author:
Chris Richardson

Abstract:
A major component of most enterprise applications is the code that transfers objects in and out of a relational database. The easiest solution is often to use an ORM (object-relational mapping) framework, which allows the developer to declaratively define the mapping between the object model and database schema and express database-access operations in terms of objects. This high-level approach significantly reduces the amount of database-access code that needs to be written and boosts developer productivity.

Tuesday, May 13, 2008

Best Twitter Architecture Introductory

Alex Iskold posted an excellent article on the architecture of the Twitter platform. It clearly explains what are problems and how they are solved in terms of relational DB and Computing Clouds.

Tuesday, April 22, 2008

Today's Paper: Internet Monetization Papers in WWW 2008

This year's WWW conference accepted a lot of papers related to business method issues in world-wide web and had 3 sessions named "monetization". :-)

Internet Monetization: Online advertising
  • Arpita Ghosh, Mohammad Mahdian: Externalities in online advertising. pp.161-168
  • Uriel Feige, Nicole Immorlica, Vahab S. Mirrokni, Hamid Nazerzadeh: A combinatorial allocation mechanism with penalties for banner advertising. pp.169-178
  • Hamid Nazerzadeh, Amin Saberi, Rakesh Vohra: Dynamic cost-per-action mechanisms and applications to online advertising. pp.179-188
Internet Monetization: Recommendation and security
  • Jason D. Hartline, Vahab S. Mirrokni, Mukund Sundararajan: Optimal marketing strategies over social networks. pp.189-198
  • Reid Andersen, Christian Borgs, Jennifer T. Chayes, Uriel Feige, Abraham D. Flaxman, Adam Kalai, Vahab S. Mirrokni, Moshe Tennenholtz: Trust-based recommendation systems: an axiomatic approach. pp.199-208
  • Jens Grossklags, Nicolas Christin, John Chuang: Secure or insure?: a game-theoretic analysis of information security games. pp.209-218
Internet Monetization: Sponsored Search
  • Anindya Ghose, Sha Yang: Analyzing search engine advertising: firm behavior and cross-selling in electronic markets. pp.219-226
  • Massimiliano Ciaramita, Vanessa Murdock, Vassilis Plachouras: Online learning from click data for sponsored search. pp227-236

Tuesday, April 08, 2008

Google App Engine

Google announced Google App at Campfire One.
You can see their presentation at YouTube:
http://www.youtube.com/watch?v=3Ztr-HhWX1c
The movie is kindly prepared and easy to follow.

Google App Engine is a SaaS style Web application platform for developing and running Web applications. (Currently it is a 'preview release' and only available to the limited number of developers.) Python is the language for programming on the platform and the platform comes with APIs (and library implementation) for Datastore, Users, URL Fetch, and Mail, in addition to those which are already available with stock Python.

This is the ultimate style of agile web development with "zero" start-up cost as hosting service itself is also included in the platform. While lots of other companies are trying to do the similar thing, you know, it is Google, which is worth keeping our watch on.

Thursday, August 02, 2007

A Literary Gem on How to Lock in Multi-Threaded Programs

Thread-safe programming, especially when we want to make our application optimized and scalable, is very hard. Michael Suess, in his blog named "Thinking Parallel",
He refers to the book "Java Concurrency in Practice" for some of these tips, but basically the list is his original.

One feasible and well-known solution is to never write them by ourselves but to let libraries handle it. Doug Lea's book on design patterns in Java thread programming covers most of important techniques for the problem domain and they are now available as the standard java.util.concurrent package in Java.

However, as you know, it may not solve all you need. Then let's get back to the principals Michael has just extracted for us.

Tuesday, February 06, 2007

Axis2 Execution Framework

At developer.com, Deepal Jayasinghe explains the execution framework of Apache Axis2.
The handler architecture with phases, phase rules and module engagement is well explained in the article.
This article is worth checking out in addition to the official documentation: