DSR Application Development News June 2014

mysqlfabric MySQL Fabric is now generally available

Oracle has announced MySQL Fabric, an open source framework to manage farms of MySQL servers. MySQL Fabric is a component of Oracle’s MySQL Utilities 1.4.3 package. Automatic Failover and Data Sharding Now Available for Web and Cloud Applications.

MySQL Fabric Capabilities:

  • Monitoring of the master database; if the server fails, a slave database is selected and promoted to a new master.
  • The automatic routing of transactions to the current master and load-balancing of queries across slave databases.
  • Automated data sharding and re-sharding to make the lives of DevOp team easier.
  • Users can allow tables to be sharded for scale-out of both reads and writes, select which tables should be sharded and specify the columns to be used as sharding keys, and move existing shards to new servers or split them into multiple shards.
  • Extensions to PHP, Python, and Java connectors allow transactions and queries to be routed directly to the correct MySQL Server, eliminating extra latency caused when passing through a proxy.

Further reading, with examples, analysis and slides:

git A successful Git branching model

This article is not news since it was written more than 4 years ago, but here at DSR we use a similar approach in many projects. And not only with Git. The branching strategy which is described by Vincent Driessen can be successfully used with other version control systems (SVN, CVS, Bazaar, etc).

The branching model consist of two branches with an infinite life time: master and develop, and three types of branches which always have a limited life time: feature, release, and hotfix.

More reading:

securetunnel ngrok – secure introspectable tunnels to localhost

One of the more common tasks we have in web development involves the need to share our web application with other developers and APIs. But while developing, you’re probably working on your local development server where sharing can be a really difficult task.

ngrok is a simple service that lets you expose a local web service to the internet. Not only does it let you expose services, it lets you examine the requests coming in as well as replaying them.

There are alternative methods: http://alternativeto.net/software/ngrok/

flickr Flickr Architecture

Flickr is the web’s leading photo sharing site. More than 2 billion photos served, more than 4 billion queries per day.

Flickr must handle a vast sea of ever expanding new content, ever increasing legions of users, and a constant stream of new features, all while providing excellent performance. How do they do it?

The article describes the software and hardware of the service, together with some interesting statistics.

scent No, a scent wasn’t just sent over the Atlantic Ocean

What do you think about being able to smell a photo? An Indiegogo campaign offers a new device – oPhone, which introduces a new kind of sensory experience into mobile messaging. “With the oPhone, people will be able to share with anyone, anywhere, not just words, images, and sounds, but sensory experience itself.”

Is it a new technology? Probably. Would you pay $199 or more to be able to smell a photo? The Indiegogo campaign is betting you will.

infowerload Information overload: I know too much to program quickly. What can I do?

The article’s author fears that the more he knows about the programming (architectures, approaches, frameworks, etc) the more time he takes to implement even a trivial task? He starts thinking about possible approaches, pitfalls, known limitations, etc, etc. “The more knowledge I gain, the slower I am in completing projects.”

The comments in response to this article are also interesting and informative.

twoemails How to Go From Working 60 Hours a Week to 40 By Sending 2 Emails a Week

The author believes that sending only two emails a week can significantly reduce the time you spend at work.

Email #1: What you plan on getting done this week

Email #2: What you actually got done this week

The article is about how you can organize your work process and set the expectations of others to achieve this. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *