- Official Google Docs Blog: New features for 2008! – It’s been two months since we launched Google Presentations and already we’ve got new toys! We’ve been listening to your feedback and working hard to get you new features as quickly as possible
- Amazon Web Services Blog: Increasing Amazon S3 Data Transfer Performance – The Amazon S3 team is now beta-testing support for an important low-level networking feature which has the potential to significantly increase the performance of large data transfers to and from S3, particularly (but not limited to) for long distance data
- Blueprint Grid CSS Generator – This tool will help you generate more flexible versions of Blueprint’s grid.css and compressed.css and grid.png files. Whether you prefer 8, 10,16 or 24 columns in your design, this generator now enables you that flexibility with Blueprint.
- The Most Hated Company In the PC Industry – Asustek is the most hated company in the industry. Microsoft, Apple, Dell and Palm hate Asustek because the company can give us something they can’t: A super cheap, flexible, powerful mobile computer. At $299, why would anyone not buy one?
Tag Archives: s3
Daily del.icio.us for Oct 05, 2007 through Oct 08, 2007
- Welcome to Tablecloth – Tablecloth is lightweight, easy to use, unobtrusive way to add style and behaviour to your html table elements. By simply adding 2 lines of code to your html page you will have styled and active tables that your visitors will love
- Amazon’s Dynamo – All Things Distributed – Dynamo is internal technology developed at Amazon to address the need for an incrementally scalable, highly-available key-value storage system. The technology is designed to give its users the ability to trade-off cost, consistency, durability and perform
- Dare Obasanjo aka Carnage4Life – Thoughts on Amazon’s Internal Storage System (Dynamo) – Werner Vogels, CTO of Amazon, has a blog post entitled Amazon’s Dynamo which contains the HTML version of an upcoming paper entitled Dynamo: Amazon?s Highly Available Key-value Store which describes a highly available, distributed storage system used in
- InfoQ: ExtJS Creator Jack Slocum Discusses Upcoming 2.0 Release – The ExtJS team recently released the alpha release of version 2.0. This comes roughly a month after a preview release of the framework. New features: Grouping and Summary of Tables, Scrolling Tabs, Anchor Layout, Tree Widget with Columns, Web Desktop
- Ajaxian » JSValidate: Form Validation Library – JSValidate is a simple library based on Prototype and Script.aculo.us to allow you to do form validation. You simply use special CSS classes to annotate your form and let the library do the rest.
- Ajaxian » A simple guide to using Firebug – Phil Rees has written up a nice introduction to Firebug, showing us how you can use Firebug to – Inspect custom stylesheets included by Google Mashup Editor
- Pieter Humphrey’s Blog: Adobe and BEA announce bundle of Workshop Studio 10.1 + Adobe Flex Builder 2 – BEA Workshop Studio 10.1 with Adobe Flex 2 brings together world-class development for Rich Internet Applications, BEA WebLogic Service-Oriented Architecture (SOA) enablement, as well as browser and server portable Java? applications.
- After Struts what? – O’Reilly ONJava Blog – Before we close and somewhat pass a judgement that use Seam as the framework of choice, there are two more options to consider – the web framework from Spring and the Google Web Toolkit.
- Icahn further raises BEA stake to 13.22 percent | News | Mergers/Acquisitions | Reuters – Billionaire investor Carl Icahn further boosted his stake in BEA Systems Inc (BEAS.O: Quote, Profile, Research) to 13.22 percent, according to a regulatory filing.
- If wishes were iPhones, then beggars would call [dive into mark] – Buy it for what it is, or don?t buy it at all. Your choices don?t get any more granular than that. Apple has been unwaveringly clear that the iPhone is theirs.
Daily del.icio.us for Mar 28, 2007 through Mar 29, 2007
- Amazon Web Services Developer Connection : Mounting Amazon S3 as a File System in Amazon EC2 – This tutorial discusses how to mount Amazon Simple Storage Service (Amazon S3) as a file system in an Amazon EC2 instance
- TFO eServices Java Programming – JXPath Tutorial – JXPath is an Apache Commons library to query Java object trees using the well known XPath XML query language. Extremely useful stuff but not yet very well known, hence this tutorial.
- Techworld.com – VMware enters the Linux kernel – The next revision of the Linux kernel is to include a virtualisation feature developed by VMware, called VMI.
- Java object queries using JXPath – Java World – JXPath is such an object-query tool. It is an Apache Commons component that enables you to query complex object trees using the well-known XPath expression language.
- Spring-Loaded – Guice vs. Spring JavaConfig: A comparison of DI styles – With all of the excitement surrounding Guice lately, I thought it might be worthwhile to compare Guice with Spring JavaConfig. Both represent different approaches to annotation-based dependency-injection
Website Performance and Optimization
A couple of months ago, I noticed that I was getting pretty close to using up all of my monthly bandwidth allocation for my server and that was a surprise. I run several blogs that get quite a few hits but I didn't think I was anywhere near going over my 250 GB allotment. So I decided to spend a little time to optimize my server and figure out the best way to utilize what I had and optimize it to get the most performance out of my little box. Jeff Atwood's wonderful blog entry about Reducing Your Website's Bandwidth Usage inspired me to write about my experience and what I ended up doing to squeeze the most out of my server.
I had done some of the obvious things that people typically do to minimize traffic to their site. First and foremost was outsourcing of my RSS feeds to FeedBurner. I've been using FeedBurner for several years now after I learned the hard way how badly programmed a lot of the RSS readers were out there. I had to ban several IP addresses as they were getting my full feed every 2 seconds – Hoping that was some bad configuration on their side but who knows. Maybe it was a RSS DOS attack :). After taking a little time to see what was taking up a lot of the bandwidth, I discovered several things that needed immediate attention. First and foremost was the missing HTTP compression. Looks like an Apache or PHP upgrade I did in the past few months had ended up disabling the Apache module for GZIP compression and so all the traffic was going out in text. HTTP Compression delivers amazing speed enhancements via file size reduction and most if not all browsers support compression and so I enabled compression for all content of type text/html and all CSS and JS files.
Some older browser don't handle JS and CSS compressed files but anything of IE6 seemed to handle JS/CSS compression just fine and my usage tracking (pictured above) indicated that most of my IE users were using IE 6 and above.
Enabling HTTP Compression compressed my blog index page by 78% resulting in a statistical performance improvement of almost 4.4x. While your mileage may vary, the resulting performance improvement got me on the Top20 column at GrabPERF almost every single day.
Another issue I had was the number of images being loaded from my web server. As most of you already know, browsers will typically limit themselves to 2 connections per server and so if a webpage being loaded has 4 CSS files, 2 JS files and 10 images, you are loading a lot of content over those 2 connections. And so I used a simple CNAME trick to create an image.j2eegeek.com to complement http://www.j2eegeek.com and started serving images from image.j2eegeek.com. That did help and I considered doing something similar for CSS and JS files but decided instead to outsource image handling to Amazon's S3.
Amazon's S3 or Simple Storage Service is a highly scalable, reliable, fast, inexpensive data storage infrastructure that is fast and relatively inexpensive. S3 allows you to create a 'bucket', which is essentially a folder that must have a globally unique name and cannot have any sub-buckets or directories and so it's basically emulates a flat directory structure. Everything you put in your bucket and make publically available is accessible via http using the URL http://s3.amazonaws.com/bucketname/itemname.png. Amazon's S3 Web Service also allows you to call it using the HTTP Host header and so the URL above would become http://bucketname.s3.amazonaws.com/itemname.png. You can take this further if you have access to your DNS server. In my case, I created a bucket in S3 called s3.j2eegeek.com. I then created a CNAME in my DNS for s3.j2eegeek.com and pointed it to s3.amazonaws.com. And presto – s3.j2eegeek.com resolves to essentially http://s3.amazonaws.com/s3.j2eegeek.com/. I then used John Spurlock's NS3 Manager to get my content onto S3. NS3 Manager is a simple tool (windows only) to transfer files to/from an Amazon S3 storage account, as well as manage existing data. It is an attempt to provide a useful interface for some of the most basic S3 operations: uploading/downloading, managing ACLs, system metadata (e.g. content-type) and user metadata (custom name-value pairs). In my opinion, NS3 Manager is the best tool out there for getting data in and out of S3 and I have used close to 20 web based, browser plug-in and desktop applications.
In addition, I also decided to try out a couple of PHP Accelerators out there to see if I could squeeze a little more performance out of my web server. Compile caches are a no-brainer and I saw decent performance improvement in my PHP applications. I blogged about this topic in a little more detail and you can read that if you care about PHP performance.
The last thing I did probably had the biggest impact after enabling HTTP compression and that was moving my Tomcat application server off my current Linux box and moving it to Amazon's EC2. Amazon's EC2 or Elastic Compute Cloud is a virtualized cloud of computing available to you for $0.10 per hour of CPU utilization. I've been playing around with EC2 for a while now and just started using it for something real. I have tons of notes that I taken during my experimentation with EC2 where I took the stock Fedora Core 4 images from Amazon and made that server into my Java application server running Tomcat and Glassfish. I also created my own Fedora Core 6, CentOS 4.4 image and deployed them as my server. My current AMI running my Java applications is a Fedora Core 6 image and I am hoping to get RHEL 5.0 deployed in the next few weeks but all of that will be a topic for another blog.
In conclusion, the HTTP Compression offered me the biggest reduction in bandwidth utilization. And it is so easy to setup on Apache, IIS or virtually any Java application server that is it almost criminal not to do so. 🙂 Maybe that's overstating it a bit – but there are some really simple ways to optimize your website and you too can make your site hum and perform like you’ve got a cluster of servers behind your site.
Daily del.icio.us for Mar 07, 2007 through Mar 08, 2007
- Spotlight: Michael Oxley – International Herald Tribune – Knowing what he knows now about the cost and effects of the law, would Oxley – who retired in January after 25 years in Congress – have done it any differently? "Absolutely," Oxley answered. "Frankly, I would have written it differently, and he would have
- Adobe edits the development cycle | Reg Developer – The change we made was going from a traditional waterfall method to an incremental development model. Probably the most effective thing we did was institute per-engineer bug limits: if any engineer’s bug count passes 20, they have to stop working on featu
- JetS3t ? An open source Java toolkit for Amazon S3 – JetS3t is a free, open-source Java toolkit and application suite for the Amazon Simple Storage Service (Amazon S3). The JetS3t toolkit provides Java programmers with a powerful yet simple API for interacting with S3 and managing data stored there.
- Six cool things you can build with OpenID – Apart from explaining what OpenID is and how it works, the key point I was trying to get across in the talk was that OpenID is a simple piece of infrastructure on which smart applications can be built?applications that may not have been possible prior t
- Flash Demo : Matisse++ ? (cld.blog-city.com) – Roman Strobl has a very cool new Matisse flash demo. It makes use of the new Swing Application Framework and Swing Databindings. If you ever wondered about Matisse++ or what happens after Matisse then you should take a look at a very cool NetBeans 6 and a
Daily del.icio.us for Mar 05, 2007 through Mar 06, 2007
- Coding Horror: Reducing Your Website’s Bandwidth Usage – What can we do to reduce a website’s bandwidth usage?
- Amazon Web Services Developer Connection : Building a Struts-Based Web Application on Amazon S3 – This article provides a tutorial on integrating the Amazon S3 REST API for Java with the Struts web application framework to create a web management user interface to the Amazon Simple Storage Service (Amazon S3).
- mxGraph – JavaScript library for diagrams – mxGraph is a Javascript library that uses built-in browser capabilities to provide an interactive drawing and diagramming solution.
- AJAX Magazine: Why Can Google Not Eat Its Dogfood, While Yahoo and Microsoft Do? – What’s surprising is that Google is not using GWT for its critical online service, which almost all of them are AJAX-based or have AJAX veneer: GMail, GMaps, GReader, GDocs, GSpreadsheet, GAJAX-Search, GFinance, GHomePage, … none of them use GWT! The qu
- Ten Javascript Tools Everyone Should Have – Javascript frameworks have exploded on the scene over the last few years but they’re no replacement for a good toolbox: those little snippets of code you seem to include in every single project. Here’s my list of 10 essential Javascript tools everyone sho
- 0xCAFEBABE – Securing Spring WS Client with XWSS – In this post, I will show you how I used XWSS to add WS-Security support to web services invocations. I used XWSS 2.0 from jwsdp-2.0. I had to add xmlsec.jar from the jwsdp-shared/lib in order for the example to work.
- Tableless forms – Another nice CSS stylesheet for styling forms without tables
- Getting Started with Google Code Hosting, Subversion, and TortoiseSVN without feeling like an Idiot « //engtech – Getting Started with Google Code Hosting, Subversion, and TortoiseSVN without feeling like an Idiot
- Starbucks’ ‘venti’ problem – Los Angeles Times – Time and again in recent years, we’ve seen small, cutting-edge and quirky brands gain critical mass ? only to lose their charm and customer appeal after they engage in breakneck expansion.
- When is Scrum not Scrum? (Agile Advice) – Tobias mentions that one must insist on agile engineering practices when doing Scrum. There are two problems with this.
- Agile Thoughts » Blog Archive » When is Scrum not Scrum? – I teach what I know works and what I see as being appropriate; there are slight differences in each context of course, but there are certain practices I have found to be effective, all of which differ from standard Scrum practices
- coded ruminations – Selling Agile, a Smell? – The use of Agile must be adopted using an iterative incremental approach – a nimble approach – an Agile approach. Agile is not to be sold, it is to be used.
Daily del.icio.us for Jan 08, 2007
-
The S3InfiDisk for EC2 takes the form of a mountable Linux file system, creating an infinite storage disk for EC2 instances. The file systems can be mounted on any running EC2 instance, with data cached in local RAM and on the instance’s hard disk
-
Enterprise 2.0 platforms can provide highly general purpose, freeform, do-it-yourself (DIY) tools that have the potential to solve an entire group of related and overlapping problems in collaboration, knowledge management, SOA adoption, self-service IT, a
-
Portege R400 is a beautifully crafted convertible tablet laptop with built-in EV-DO, and a small LED readout on the front edge that shows the time, battery level, and wireless signal strength. It can also alert you to new e-mail messages while the lid is
Daily del.icio.us for Nov 03, 2006
-
In this in-depth introductory tutorial by Web application developer Igor Kusakov, you learn the basics of developing HTML widgets using Dojo; including how to refer an image, how to add an event handler to an HTML page, and how to handle composite widgets
-
Christophe Coenraets gives few examples of how you can use Adobe Flex as a presentation layer for your Spring applications (via onjava.com)
-
In using eyetracking to evaluate the usability of search forms for my previous article for UXmatters, “Evaluating the Usability of Search Forms Using Eyetracking: A Practical Approach,†we discovered much interesting data. I’ll provide an in-depth a
-
Amazon is in a position to apply the efficiencies of the Net to tangible and corporeal assets like products and people.
-
Jeff Bezos’ big bet is a bet on the software infrastructure of the Web. We here at Read/WriteWeb think this is a visionary strategy by Amazon – and it is likely to pay off…
-
This Microsoft-Novell deal is all because they both want to screw Oracle and Red Hat,
Daily del.icio.us for Oct 22, 2006
-
jets3t is a Java toolkit for the Amazon Simple Storage Service (S3). Building on the Java library provided by Amazon, the toolkit aims to simplify interaction with S3 while providing powerful additional features.
-
Just a quick post to report that I’ve uploaded the two presentations of the From J2EE to Java EE Tour in my website.
-
The project provides what is essentially a complete RSS and Atom development kit, which includes feed parsers, generators, blog client libraries, an Atom protocol implementation, a set of ten useful blogapps, and an easy-to-install blog and wiki server.
Daily del.icio.us for Sep 20, 2006
-
Geek Smithology – The State of Enterprise Ruby
The real takeaway is that if you truly believe in using the best tool for the job, then you will be using Ruby at some point in the future.
-
StorageMojo – Mission Impossible: Managing Amazon’s Datacenter, Pt I
Unlike Goole�s clean sheet approach to creating internet-class infrastructure, Amazon has made every mistake in the book. The original site was one hairball, database, OLTP and web server all on one system
-
Google Research Publication: BigTable
Bigtable is a distributed storage system for managing structured data that is designed to scale to a very large size: petabytes of data across thousands of commodity servers.