From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antono Vasiljev Newsgroups: gmane.lisp.guile.user Subject: Re: The Web, Continuations, and All That Date: Wed, 25 Jan 2012 11:59:31 +0300 Organization: Red Brigade Message-ID: <4F1FC473.5030400@antono.info> References: <877h0jea8d.fsf@Kagami.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327540841 31721 80.91.229.12 (26 Jan 2012 01:20:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 01:20:41 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 26 02:20:34 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqE0w-0007rm-0d for guile-user@m.gmane.org; Thu, 26 Jan 2012 02:20:34 +0100 Original-Received: from localhost ([::1]:60179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqE0v-0002V4-8N for guile-user@m.gmane.org; Wed, 25 Jan 2012 20:20:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpzIF-0002BS-C3 for guile-user@gnu.org; Wed, 25 Jan 2012 04:37:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpzI9-0001YE-QH for guile-user@gnu.org; Wed, 25 Jan 2012 04:37:27 -0500 Original-Received: from ec2-50-19-243-116.compute-1.amazonaws.com ([50.19.243.116]:58429 helo=mail.antono.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpzI9-0001Y5-NK for guile-user@gnu.org; Wed, 25 Jan 2012 04:37:21 -0500 Original-Received: by mail.antono.info (Postfix, from userid 1003) id BDE0563BD9; Wed, 25 Jan 2012 09:00:06 +0000 (UTC) Original-Received: from [192.168.1.5] (unknown [178.120.45.12]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: antono) by mail.antono.info (Postfix) with ESMTPSA id 90A1060F95 for ; Wed, 25 Jan 2012 09:00:02 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20120119 Thunderbird/10.0 In-Reply-To: <877h0jea8d.fsf@Kagami.home> X-Enigmail-Version: 1.3.5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 50.19.243.116 X-Mailman-Approved-At: Wed, 25 Jan 2012 20:20:27 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9190 Archived-At: On 01/22/2012 11:46 PM, Ian Price wrote: >> To get better acquainted with continuations I have been playing with >> them in the context of web programming a bit. Much has been written >> on the topic (in particular I find the Racket tutorials very >> instructive), and here I would just like to share the small >> experiments I did using delimited continuations and the Guile (web >> server). Kudos to Andy for providing a very nice foundation. > > It's always nice to see someone playing with continuations. Your example > is very similar to one I did a while back https://gist.github.com/1381107. > > It would be if someone(nudge nudge) were to take the effort to make one > of these experiments practical, since a guile web framework seems to be > a common request. > While i like the idea i should note that it does not scale. What if you have 5 application servers (guile (import (web server)) running behind reverse proxy. User may never fire needed continuation. Overall scaling strategy for web is "avoid per node state" (see read-only filesystems on Heroku). PS: Ian, sorry for double reply. amike, antno