From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c70dc869310ffb51 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!l24g2000vby.googlegroups.com!not-for-mail From: "pascal.obry@gmail.com" Newsgroups: comp.lang.ada Subject: Re: Annoucing memcache-ada 0.1 Date: Mon, 17 Jan 2011 04:49:08 -0800 (PST) Organization: http://groups.google.com Message-ID: <6405a728-2c7d-4608-ab54-02aab5d2cc4c@l24g2000vby.googlegroups.com> References: <4d335a76$0$43992$742ec2ed@news.sonic.net> <2b5cd851-c148-41f4-95e7-14f235846e6a@q18g2000vbk.googlegroups.com> <1167f1a7-3f01-4f38-8bb8-3c50e837df7d@a10g2000vby.googlegroups.com> <3e146516-ecd9-4e64-aceb-9417ebe49ca1@g26g2000vba.googlegroups.com> NNTP-Posting-Host: 82.124.201.129 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1295268548 14947 127.0.0.1 (17 Jan 2011 12:49:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 17 Jan 2011 12:49:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l24g2000vby.googlegroups.com; posting-host=82.124.201.129; posting-account=PEdGtgoAAACjNhf4BGsFw-AboVux6xYy User-Agent: G2/1.0 X-HTTP-Via: 1.1 lancelot:3128 (squid/2.7.STABLE9) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17458 Date: 2011-01-17T04:49:08-08:00 List-Id: Yannick, > I see, how and within which conditions this way to do is OK. But this may= =A0 > be a cause of resources leakage if some conditions are not waranted, =A0 > because how do you (or the server) know resources allocated for a state = =A0 > can be released ? This is indeed a delicate problem. With AWS there is a time out associated with a context. It is released automatically by a running task when the timeout is reached. Note that all this (context creation, injection into HTML or XML, deletion after time out...) is transparent to users. At the user level a context is key/value table with AWS. Pascal.