opensource.google.com

Menu

Google Summer of Code Veteran Orgs: Monkey Project

Friday, September 27, 2013


Monkey Project is an open source organization that focuses on the development of web backend technologies with products such as Monkey HTTP Server: a fast and lightweight HTTP Server for Linux and Embedded Linux, and Duda I/O: an event-driven and scalable web services framework in C.

This is our second year participating as a mentoring organization for the Google Summer of Code program and this year we were given four student slots. During the evaluation period we chose the students not just by their technical skills, but also their motivation, previous contribution with the organization, capacity to learn and ability to adapt to change.

After months of hard work, all students accomplished their main goals and they worked very hard to learn networking programming and different areas of the architecture of our HTTP server. Below are descriptions of the four projects our students worked on this summer.

 - Monkey Architecture changes (Future Monkey proof for new protocols): Monkey HTTP Server is an event driven web server with a strong focus in Linux and its current architecture allows to extend the core features through plugins. But with the incoming improved protocols such as SPDY and HTTP/2.0, it requires a major refactoring to support multiple protocol layers in the proper way to avoid sacrifice performance. On this project, Sonny Karlsson is busy working on refactoring the plugin API and different scheduler mechanisms, the work completed is very promising and will be merged with mainline code shortly.

 - Monkey Caching plugin: the Monkey server is very fast but it can still perform better by reducing some I/O, so this summer we received a good proposal to add caching support to the server through the plugin interface. Hamza Zia did research and tested different caching mechanisms and has already implemented the first caching prototype which is showing good performance improvements.

- Monkey Proxy Reverse plugin: a HTTP server not only needs to serve static content, it is mostly a proxy for different resources. This project aims to create a Proxy Reverse plugin with different balancing algorithms to add a security layer in front of backend servers and redirect requests per different configuration schemas. Nikola Nikov has implemented all required components to accomplish this goal, the plugin is in a good state and already functional for testing purposes.
Nikola Nikov's workstation

 - Duda I/O - MariaDB/MySQL and PostgreSQL support: Duda I/O is a web services framework built on top of Monkey, it is an event driven extensible stack in C for high performance web applications. This goal of this project is the creation of two packages to add support for asynchronous connectivity to MariaDB/MySQL and PostgreSQL databases. Zeying Xie has done a very good job adding support for the relational databases mentioned. Now we support NoSQL and common DBs.

It is very important to us to keep our organization and community informed about "how" and "what" is being done by our students through the Google Summer of Code program. If you are interested in more technical details about each project, we invite you to follow the blogs (linked to the student’s names above) that are updated on a weekly basis.

By Eduardo Silva, Monkey Project - Google Summer of Code Organization Administrator

GanetiCon 2013

Monday, September 23, 2013

This year Ganeti, the cluster virtualization manager that Google released in August 2007, celebrated its sixth birthday. Over the years, there have been many improvements and changes to Ganeti as the user community continues to grow.

During the first week of September, Google, GRNET and Skroutz organized GanetiCon 2013, the first Ganeti user and developer conference, in Athens, Greece. Over the course of the three-day conference, 50 people met to discuss Ganeti and the future: how they use it, and what they'd like to see come out of it, with workshops on features and discussions between community members.

Among the topics we identified as key for Ganeti were:

- Better fleet management for environments with multiple clusters
- Improvement of OS installation and image management
- Better disk support
- Security improvements and reduction in the use of the root account
- Increased support for different types of "partial shutdown" situations

The community also presented software based around Ganeti. Over the years, two web managers were developed, Ganeti Web Manager and ganetimgr, as well as a full openstack compatible cloud based on Ganeti, Synnefo. Organizations gave presentations on their usage of Ganeti including the Debian Project, the Oregon State Open Source Lab (OSUOSL), Google, GRNET and Skroutz.

We are very excited about the feedback and community appreciation we received for organizing the event and we look forward to working on the most important issues, and to organize a new event in 2014!

By Guido Trotter, Ganeti

Google Summer of Code Veteran Orgs: 52 North

Friday, September 20, 2013


We recently wrapped up our summer blog series highlighting new Google Summer of Code organizations. Now it’s time to feature some of the 130+ veteran organizations that participated in Google Summer of Code 2013. Each Friday for the next few months, we will spotlight a veteran organization and the projects their students worked on over the summer. To kick it off, the organization administrator from 52°North talks about their project and their second year as a mentoring organization.
The open source software initiative 52°North is an open international network of partners from research, industry and public administration. Its main purpose is to foster innovation in the field of Geoinformatics through a collaborative R&D process. The R&D process takes place within 52°North R&D communities, which develop new concepts and technologies (examples include: for managing near real-time sensor data, integrating geoprocessing technologies into SDIs, and making use of GRID and Cloud technologies). These communities evaluate new macro trends, such as the Internet of Things, the Semantic Web or Linked Open Data, and find ways to unfold their use in practice. 
As a returning Google Summer of Code mentoring organization, 52°North was particularly thrilled to have four students work on different projects in the fields of Sensor Web, Geostatistics and Geoprocessing this summer. 52°North’s overall goals for the projects were to improve the usability of the products and extend the user base to new domains. 
Khalid Alqinyah created a new admin web application for the 52° North Web Processing Service (WPS). This new application will improve the WPS back end code with an updated implementation and provide the front end with a new and ergonomic user interface. 
Patrick Noble added support for seismic data within the 52° North Sensor Observation Service. This seismic data will then be visualized by the Sensor Web Client. The result of his work will be a comprehensive toolkit for publishing and visualizing seismic data.
Jinlong Yang developed classes and methods that enable trajectory analysis in the R language. We expect this enhancement to become a valuable tool for all researchers dealing with trajectory data as it will open up R for a whole range of new application scenarios. 
Mohammad Ahmed Hamed Yakoub implemented the Open Sensor Search (OSS) idea in an agile software development process. OSS is a platform for the discovery of in-situ sensor data. The resulting discovery solution will become a cornerstone within the 52°North Sensor Web framework, allowing the development of more sophisticated client applications. 
By Jan Schulte, 52°North Organization Administrator
Currently, students are busy putting the finishing touches on their projects and starting next week they will submit the code they have been working on these last 3 months. Good luck to all the students in these final days of Google Summer of Code 2013.

By Stephanie Taylor, Open Source Programs


Coder: a simple way to make web stuff on Raspberry Pi

Friday, September 13, 2013

Cross posted from the Google Developers Blog

I wrote my first two lines of BASIC as a five year old, and I’ve loved programming ever since. These days I’m teaching my own kids to code, and I’ve been thinking a lot about how they could have that same simple experience while learning to program for the web.

A quick sprint with my design friend +Jeff Baxter led to a little experiment called Coder. It’s an open source tool that turns Raspberry Pi into a simple, tiny, personal web server and web-based development environment – just what you need for crafting HTML, CSS, and JavaScript while you’re learning to code. Here’s a quick video that helps explain how it all works (and a huge shout out to our friends +Claire Stapleton and +Minji Hong who helped us with it):

We thought about all the stuff we could do to make Coder a more complete package, but we have a hunch that the sooner this gets into the open source and maker communities, the more we’ll learn about how it might be used. Hopefully, a few more folks will pitch in and help us make this even more accessible and helpful for new coders.

To learn more, visit goo.gl/coder, get a Pi, download Coder, and make something awesome.

By Jason Striegel, Creative Technologist, Google Creative Lab

Hesokuri - a personal backup solution for your source code

Thursday, September 12, 2013

If you are a developer, source code is some of the most important data you have. It needs to be backed up regularly, it must be readily accessible from all of your machines, and it may even be confidential. Most of the code is probably already stored under version control.

With this in mind I developed Hesokuri, a background process that keeps Git repositories on multiple machines in sync. Changes are pushed aggressively to peers as they are committed. When a peer is offline, Hesokuri will retry a push regularly until the peer responds. In some cases, a peer will merge pushed commits into the current branch so they are immediately visible in any open text editor. This means that if Hesokuri is running on two or more networked machines, the Git repositories on them are duplicated, backed up, and widely accessible.

Once you have set up Hesokuri and written a simple configuration file, you can just use Git as you always have. Hesokuri also has a web interface so you can check what revisions of each repository have been pushed to each peer.

We are still working on the user interface and the list of features that we want to include, so thanks to the community in advance for your bug reports, pull requests, and other contributions!

For the source code and how to get started, check out the Hesokuri project page. You can also get help using Hesokuri and discuss improvements in the Google discussion group.

By Matthew DeVore, Google+ Team


.