Ajax Push Engine - Javascript framework to handle 100,000 concurrent users

Ajax Push Engine

Ajax Push Engine

From their website, Ajax Push Engine (APE) is an OpenSource technology allowing to exchange data between thousands of users through a web browser, without reloading and without external plugins.

It consists of an epoll-driven HTTP server written in C as its core with a javascript framework based on mootools for the frontend. APE supports multiple patterns such as comet, XHR, long polling, forever frame etc. because of the way its designed.


…continue reading Ajax Push Engine – Javascript framework to handle 100,000 concurrent users

Wordpress Visual Editor Problem After Upgrade - Fix

Many users of wordpress face a problem wherein the visual editor stop working or is stuck after an upgrade. The below screenshot shows the problem.

Wordpress Visual Editor Problem

Wordpress Visual Editor Problem

Even though this is a serious, annoying and quite widely observed problem, there has been no official fix for it. Lot of posts describe various possible solutions (see links section at the end), this is the one that worked for me.


…continue reading WordPress Visual Editor Problem After Upgrade – Fix

Links - 2008-09-01

Reverse HTTP

Reverse HTTP is an experimental protocol which takes advantage of the HTTP/1.1 Upgrade: header to turn one HTTP socket around.

Understanding GNU Emacs and Tabs

Compose and arrange music online

High-performance XML parsing in Python with lxml

List of Algorithms

A complete list of all major algorithms (300), in any domain. The goal is to provide a ready to run program for each one, or a description of the algorithm. Programming languages include Java, JavaScript and PHP, C, C++ either in direct form or generated from a Scriptol source.

Amazon EC2 - Now production ready!

Amazon AWS

Amazon AWS

Today is a big day for Amazon EC2- now production ready with SLA, windows support and 4 new capabilities.

All these long awaited features are set to go live today.Which in effect can be summarized as

  • Amazon EC2 is no more experimental with the beta tag gone.
  • EC2 joins S3 in having a SLA.
  • Beta level Microsoft Windows is a new option.
  • Microsoft SQL Server is another option.
  • Plans for AWS management console.
  • Plans for load balancing, automatic scaling, and cloud monitoring services.

How does all this affect the existing customers and lure new customers?

Production ready – Amazon is now in a better shape to take on traditional hosts now that its production ready. Having used EC2 for the past few months and not having to reboot any of my instances, this makes me feel that I can now run a full production house in the cloud.

SLA – The service level agreement of 99.95% minimum uptime is a great value addition. This means that a downtime of 36 hours per month is permissible. Even though this may be unaccepatable for many sites to run production machines on EC2, its a start.

This turns out to be 0.36 hours per month which is very good. I have hosted around 20 servers till now for the past several months in the could and all of them have had 100% uptime. The only downside has been that I had to migrate around 5 instances once due to “degraded hardware” of which I was notified by the EC2 team. This by itself is excellent support!

Windows Support – All the developers itching to get their hands on Windows in the cloud rejoice! The beta support of Microsoft Windows provides developers with access to the instance using the Windows Remote Desktop or the rdesktop client. The AMI for both 32 bit and 64 bit are available with the pricing starting at $0.125 per hour.

Microsoft SQL Server – Windows as well as MS SQL now provides a complete platform for Windows based computing technologies.

The Interesting part is that the things which are now in the pipeline include AWS management console, load balancing, auto scale, monitoring services, all of which is essentially RightScale‘s business.

A complete circle

A complete circle

As Amazon.com CTO Werner Vogels hints in his blog about “Using the Cloud to build highly-efficient systems” about the cost efficiency of these services in view of the current US economic crisis, it sure is a big day for cloud computing and IaaS.

Google Developer Day 2008 Bangalore

Today was the first time Google Developer Day was held in India. The venue was The Chancery Pavillion in Bangalore. The event was very well organized and executed as per the agenda even though there were some minor hiccups.

Google Developer Day or GDD as its called is an one day event with seminars and codelabs of various Google web technologies including Google Maps, OpenSocial, Android, Gears, Google Web Toolkit by the Google enginners who built them.

I reached there at 8:20 AM parked the bike and suddenly the atmosphere was all googly when I saw these.

After some verification, registering my name at the counter and getting some stuff that had the detailed agenda and the necessary SDK for codelabs, I headed to the grand ball room where they keynote was to be delivered.

The keynote speech for Google Developer Day 2008, Bangalore was delivered by

Prasad Ram, Engineering & Site Director – Google R&D Bangalore with the demos run by Jagjit Singh

Ram was CTO at Yahoo India’s R&D unit in Bangalore.

As the Center Head and Director of R&D for Google India, Prasad Ram is responsible for the development of Google Search, Ads, Community technologies, key search technologies and oversaw the launch the a number of internet consumer products.

The keynote addressed the main Google strategies in support and development of Open Web.

  • Client – Google Gears and Google Chrome
  • Cloud – App Engine
  • Connectivity – Android

I sure hope to see all of the these working in unification which will bring about a paradigm shift.