background preloader

Arquitectura de SFW

Facebook Twitter

Atlassian Git Tutorial. Discussion Compared to SVN, the git init command is an incredibly easy way to create new version-controlled projects.

Atlassian Git Tutorial

Git doesn’t require you to create a repository, import files, and check out a working copy. All you have to do is cd into your project folder and run git init, and you’ll have a fully functional Git repository. However, for most projects, git init only needs to be executed once to create a central repository—developers typically don't use git init to create their local repositories. Instead, they'll usually use git clone to copy an existing repository onto their local machine. Bare Repositories The --bare flag creates a repository that doesn’t have a working directory, making it impossible to edit files and commit changes in that repository. PhantomJS. New to PhantomJS?

PhantomJS

Read and study the Quick Start guide. Windows. Compress PHP website performance. Since few days we have been registering heavy traffic spikes on our website. This lead to performance issues. As this site is currently hosted on a shared hosting server, it is very difficult to optimize the performance of the site. We are using as CMS for this blog, hence we decided to install for WordPress to improve the performance. This plugin will create static HTML files from your blogs post and other pages and save them on web server. These HTMLs are served to client whenever consecutive requests are made. Bandwidth control is an important task to be followed when your traffic is increasing.

So how can you enable GZip compression and compress your websites output? GZip compression in Tomcat, JBoss server You can find a full post explaining this trick . GZip using mod_gzip, mod_deflate and htaccess You can enable compression for text and html by adding following lines in your htaccess file. # compress all text and html: AddOutputFilterByType DEFLATE text/html text/plain text/xml. Configuring Varnish for High-Availability with Multiple Web Servers. Varnish is a very popular software package that can dramatically accelerate the work of serving HTTP pages.

Configuring Varnish for High-Availability with Multiple Web Servers

Varnish caches fully-rendered responses to HTTP requests and serves them without the delay of building content from scratch. Because it's so much more efficient than building a page with Apache and Drupal, Lullabot regularly deploys Varnish when a site needs to handle high levels of anonymous traffic. In many situations, installing Varnish on the same machine as MySQL and Apache can help squeeze more performance out of a single box. However in most of our deployments, we're working with "high availability" setups, where dedicated servers handle different functions and redundant backup servers are on hand for every piece of the infrastructure. That means two database servers, two web servers, two Varnish servers, and so on. A typical Drupal high-availability setup with Varnish. Basic Varnish Configuration Varnish usually has three locations of configuration. VCL Configuration. Computer Language Benchmarks.

"What gets us into trouble is not what we don't know, it's what we know for sure that just ain't so.

Computer Language Benchmarks

" Please don't use this summary page to compare 2 programming language implementations -- use the direct comparison, for example -all benchmarks- Ruby JRuby. This box plot shows how many times slower, the fastest benchmark programs for selected programming language implementations were, compared to the fastest programs written in any of the programming languages. Note which boxes have no overlap, note which boxes overlap completely; note which show little midspread, note which spread across too large a range of values for confidence. These are not the only compilers and interpreters. These are not the only programs that could be written. Please don't obsess over tiny differences in median values from such a small number of examples. Please don't obsess about which programming language implementation is shown 10th and which is shown 11th. Php scalability.

PHP scales.

php scalability

There, I said it. The word on the street is that "Java scales and PHP doesn't. " The word on the street is wrong, and PHP needs someone to stand up and tell the truth: that it does scale. Those with a closed mind can head straight to the inevitable flame war located at the end of this article. Those with an open mind who are interested in taking their web development skills and putting them to use building applications in the cross-platform, easy-to-write, easy-to-maintain, scalable, and robust PHP platform, but were hesitant because of the scalability myth, should read on. There are a number of different aspects of scalability. These are all reasonable issues, and should be covered whenever you are choosing the development platform for any large project.