A survey of Web cache replacement strategies
Authors:
Stefan Podlipnig University Klagenfurt, Klagenfurt, Austria
Laszlo Böszörmenyi University Klagenfurt, Klagenfurt, Austria
ACM Computing Surveys (CSUR)
Volume 35 , Issue 4 (December 2003)
Pages: 374 - 398
Year of Publication: 2003
ISSN:0360-0300
Publisher:
ACM Press New York, NY, USA
http://portal.acm.org/citation.cfm?id=954339.954341
I would like to leave my memos related to my "kung-fu" for some technology insights. Kung-fu doesn't only mean a battle style, but means hacking one's own life.
Friday, June 02, 2006
Thursday, June 01, 2006
Today's Paper: The Atomos Transactional Programming Language (PLDI 2006)
The Atomos Transactional Programming Language
Brian D. Carlstrom, Austen McDonald, Hassan Chafi, JaeWoong Chung,
Chi Cao Minh, Christos Kozyrakis, Kunle Olukotun (Stanford University)
ACM SIGPLAN 2006 Conference on Programming Language Design and Implementation (PLDI 2006)
Ottawa, Canada, June 10-16, 2006
http://tcc.stanford.edu/publications/tcc_pldi2006.pdf
Brian D. Carlstrom, Austen McDonald, Hassan Chafi, JaeWoong Chung,
Chi Cao Minh, Christos Kozyrakis, Kunle Olukotun (Stanford University)
ACM SIGPLAN 2006 Conference on Programming Language Design and Implementation (PLDI 2006)
Ottawa, Canada, June 10-16, 2006
http://tcc.stanford.edu/publications/tcc_pldi2006.pdf
Thursday, May 25, 2006
PHP Compiled Variables Explained
Sara Golemon, one of the most famous writers of PHP books, gave an explanation of the compiled variables in PHP. This is an important optimization of PHP interpreters and was missing in PHP 5.0 (Zend Engine 2.0) but introduced in PHP 5.1 (Zend Engine 2.1).
It is very concise but has enough information to understand the new optimization in PHP.
Tuesday, March 28, 2006
JBoss Web Server = Tomcat Native / APR
JBoss Web Server is built on Apache Tomcat and includes Apache Portable Runtime (APR) and Tomcat native technologies (Tomcat Native) to achieve good scalability and performance. It is a new open source project that will provide enterprises with a single, high-performance deployment platform for Java Server Pages (JSP) and Java Servlet technologies, Microsoft ASP.NET, PHP and CGI.
They say that it can excess Apache HTTP Server. It is interesting how much it really does.
They say that it can excess Apache HTTP Server. It is interesting how much it really does.
Saturday, March 18, 2006
PHP-Java Integration
Types of interoperation scenarios between Java and PHP are twofold.
Types of implementation are as follows:
Check it out!
- SAPI (Server Application Programming Interface) like Servlet PHP, CLI, etc. - PHP on Java (to integrate PHP into a Java Servlet environment)
- Java extension in PHP - Java in PHP (to integrate Java support into PHP)
Types of implementation are as follows:
- JNI
- Socket/named pipes - PHP/Java Bridge
Check it out!
Monday, March 13, 2006
JSR-292 invokedynamic - a New Java Bytecode Instruction for Dynamically Typed Language Support
Recent Java VM often needs to interpret scrypts written in dynamically typed languages. The common langauges used include JavaScript, whose reference implementation is available with JSR 223. Performantly executing this kind of interpretation is not so much simple. Naive interpretation is known to be 10-100 times slow.
Compiling or translating programs in foreign languages into the language directly supported by the platform, which is Java bytecode for Java VM in this case, is typical approaches to good performance. Instead of interpreting method calls in JavaScript, we can translate/compile them to native Java method calls and execute them directly on Java VM.
The compiling/translating approach involves, however, plenty of code generation in some cases. Too much generated code consumes too much memory and thus can result in poor performance.
Gilad Bracha, the fourth man of Java, has been pointing out this problem in his blog, and finally proposed a new Java VM instruction, specialized to address this issue on Feb 28, 2006.
It is in the JSR review ballot stage, and to be approved in Mar 13, 2006.
Compiling or translating programs in foreign languages into the language directly supported by the platform, which is Java bytecode for Java VM in this case, is typical approaches to good performance. Instead of interpreting method calls in JavaScript, we can translate/compile them to native Java method calls and execute them directly on Java VM.
The compiling/translating approach involves, however, plenty of code generation in some cases. Too much generated code consumes too much memory and thus can result in poor performance.
Gilad Bracha, the fourth man of Java, has been pointing out this problem in his blog, and finally proposed a new Java VM instruction, specialized to address this issue on Feb 28, 2006.
It is in the JSR review ballot stage, and to be approved in Mar 13, 2006.
Friday, March 10, 2006
PHP Script Caching
PHP, a scripting language for template-based dynamic page generation, is often compiled at runtime implicitly. This is for making its execution faster, comparing to interprit it without compilation. In normal PHP engine, this compilation occurs whenever each page accessed.
The overhead of compilation can be avoided if the result of compilation in the previous execution of the same PHP page is remembered by the engine. This technique is well-known and sometimes called script caching. In a PHP engine with script caching, it caches each PHP script in a compiled state so that it can reuse the cache for another page (script) access.
Here, I listed links to major, freely-available caching plugins for the standard PHP engine.
The overhead of compilation can be avoided if the result of compilation in the previous execution of the same PHP page is remembered by the engine. This technique is well-known and sometimes called script caching. In a PHP engine with script caching, it caches each PHP script in a compiled state so that it can reuse the cache for another page (script) access.
Here, I listed links to major, freely-available caching plugins for the standard PHP engine.
Subscribe to:
Posts (Atom)
-
Install/update Xcode from App Store and launch it to pass through terms agreement prompts. Install Xcode Command Line Tools for easing lat...
-
An article by Adrian Colyer at InfoQ explains how the Spring AOP of Spring 2.0 (and AspectJ) works: Simplifying Enterprise Applications with...
-
Great demonstrations of powerful combination of recent deep neural networks applications - stacked hourglass networks for human pose estima...