Doloto를 아십니까?

Doloto는 Microsoft Research에서 MSDN DevLab을 통해서 공개한 tool로서 한마디로 말하자면 Download Optimizer 정도로 부를 수 있겠다. 이 툴을 이용하면 복잡한 AJAX web application의 초기 download 시간을 상당히 줄여줄 수 있다. 유일한 요구사항으로는 .Net framework 3.5 정도이다. 마이크로소프트는 Rich user experience를 제공하기 위해서 AJAX를 사용하게 되면 종종 초기에 download 해야 하는 코드의 양이 많아져서 초기 download 시간이 커지는 문제가 생기는데 이러한 문제를 Doloto가 상당부문 경감 시켜줄 수 있다고 한다.

다양한 종류의 AJAX application을 여러 network 환경에서 테스트 해본 결과 Doloto를 사용하면 Javascript에 대한 초기 download 양을 40%이상 줄일 수 있다고 하며, 네트워크의 속도에 따라 상이하긴 하겠지만 대략 30~40%정도 빠른 반응 속도를 보여준다고 한다. 아래 차트는 몇몇 사이트들에 대하여 doloto의 적용 전후의 결과를 나타낸 것이다.

Doloto download savings

Doloto는 과연 어떻게 동작하는 것일까? Doloto는 standalone client-sde tool이며 마이크로소프트 개발부의 부사장인 S.Somasegar는 다음과 같은 3가지 과정을 수행한다고 한다.

1. Doloto profiles your application. Doloto performs profiling by running a local proxy on your machine that intercepts JavaScript files and instruments them to capture timestamps at runtime for every JavaScript function in a browser-independent manner.

2. Profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not and groups functions into batches which are downloaded together, called clusters.

3. Doloto rewrites JavaScript code. It then saves it to disk so that you can upload it to the server. The entire process happens on your machine, without needing access to the server. This way, you can profile and optimize the JavaScript of a any third-party site without special access to their servers. When you are satisfied with Doloto’s results, you can deploy the rewritten files to the server.

Doloto는 다음 URL을 통해서 download 받을 수 있다. Doloto

좀 더 자세한 사항은 Microsoft Research, MSDN DevLabs의 Doloto forums을 확인하기 바란다. S.Somasegar’s가 작성한 doloto에 대한 글은 다음 URL에서 확인해 볼 수 있다. Somasegar's WebLog : Doloto on DevLabs

by 김명신 | 2009/09/11 15:04 | 트랙백 | 덧글(0)
트랙백 주소 : http://himskim.egloos.com/tb/1947682
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글



< 이전페이지 다음페이지 >