From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Sat, 19 May 2012 13:01:18 -0700
Local: Sat, May 19 2012 4:01 pm
Subject: Re: [Lift] Pospone reponse to the user
On Sat, May 19, 2012 at 11:17 AM, Lukasz Kuczera <kuk...@gmail.com> wrote:
Just doing a Thread.sleep if you've got a bunch of failed logins should be
> Well both, I can solve my problem different way but would like to know if > that is possible in Lift and if not how that could be done, sounds to me > like some continuations stuff maybe but I don't know how requests are > handled that deeply. > Ok so our problem is to prevent spamming our login page with requests.
fine. Blocking 3 or 4 threads at once isn't going to cause issues. Blocking 1,000 threads at a time with Thread.sleep could cause issues. > On Saturday, May 19, 2012 5:44:43 PM UTC+2, David Pollak wrote:
>> On Sat, May 19, 2012 at 1:32 AM, Lukasz Kuczera <kuk...@gmail.com> wrote:
>>> I'd like to delay http response sent to the user. Naive solution is to
>> Are you talking about a full page load or a REST request? Why the delay?
>>> --
>> --
>> --
Visi.Pro, Cloud Computing for the Rest of Us http://visi.pro Lift, the simply functional web framework http://liftweb.net Follow me: http://twitter.com/dpp Blog: http://goodstuff.im You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||