Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 70353 invoked from network); 28 Nov 2009 09:42:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Nov 2009 09:42:55 -0000 Received: (qmail 4187 invoked by uid 500); 28 Nov 2009 09:42:55 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 4130 invoked by uid 500); 28 Nov 2009 09:42:55 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 4120 invoked by uid 99); 28 Nov 2009 09:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 09:42:55 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markus.kohler@gmail.com designates 209.85.211.188 as permitted sender) Received: from [209.85.211.188] (HELO mail-yw0-f188.google.com) (209.85.211.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 09:42:53 +0000 Received: by ywh26 with SMTP id 26so1671302ywh.12 for ; Sat, 28 Nov 2009 01:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=j03EGx9KkfKkzP9buA1FnlXXSkgIyDywUAmq4LiGVC4=; b=mqCfNJA8CowFg5/P9I2Yl6Z0dEhypaW2KdV1Sr0v4lb98w2CW5N1QYUdETAIIQe+Sq JZ8smexlAmSL092eLK5JoO4Cy3z2JIkQ8BOpK9VHYa4AW2qpclPDYsqPVLStwPYZsmsB 5IwVcDAp4IyrLCJntu/qElCgb96/iLjTVCdE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JrEBSMM91M/yQ/la1A5ZXg7aOGUjbaCHaHjCXgncQTbdvzg2e6PVMD6LAFASmcH/oy 1UjMKwSVKY5pG+mQBqghGP9D0a3O250utB6na4t9sRQ5/9mRlHQo6RpiDEfxPoG7ealK VeXDiorGMz7Kx7rowhNge4U07HW021UMzsawo= MIME-Version: 1.0 Received: by 10.91.14.10 with SMTP id r10mr3004009agi.5.1259401352590; Sat, 28 Nov 2009 01:42:32 -0800 (PST) In-Reply-To: References: <771905290911280012v6ded6926i4a6f4d94aa31c0ed@mail.gmail.com> Date: Sat, 28 Nov 2009 10:42:32 +0100 Message-ID: <771905290911280142g500d5d87pc612ae04e678ecea@mail.gmail.com> Subject: Re: Incremental updates? From: Markus Kohler To: esme-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016364edd9840373204796b3a14 --0016364edd9840373204796b3a14 Content-Type: text/plain; charset=ISO-8859-1 Thanks!, I will check that, Markus "The best way to predict the future is to invent it" -- Alan Kay On Sat, Nov 28, 2009 at 9:43 AM, Richard Hirsch wrote: > Without being the lift/scala expert, I'd assume the following > locations might be places to start: > > scala files here: trunk\server\src\main\scala\org\apache\esme\comet > display_messages.js in trunk\server\src\main\webapp\scripts > > On Sat, Nov 28, 2009 at 9:12 AM, Markus Kohler > wrote: > > Hi all, > > As far as I can see by looking into the HTTP responses with Firebug, ESME > > always sends the whole list of messages back to the browser. Uncompressed > > this was in my case about 43 Kbyte( haven't checked how much it is > > compressed), which is significant for a single message update. > > > > I wonder whether there would be a way in Lift to incrementally update the > > page e.g. sending only the new messages, insert them into the DOM and > maybe > > delete the last messages from the DOM to avoid an unlimited increase of > the > > browsers memory usage. > > > > Where could I look in the code to understand, how it is currently done? > > > > Regards, > > Markus > > > > > > "The best way to predict the future is to invent it" -- Alan Kay > > > --0016364edd9840373204796b3a14--