On Sep 21, 2:33 pm, David Pollak <feeder.of.the.be...@gmail.com>
> Lift only uses event-based Actors for supporting CometActors.  All parts of
> the standard HTTP request/response cycle (except for the CometActors) are
> handled on a single thread.

Hi David -

Thanks for your quick response. If an app developer wants to
parallelize requests to Web services, what is the recommended way to
do this in Lift?

For example, in Rails you might do something like this, where the time
to gather all the data for the page is limited to the longest request
instead of the sum of all requests:

t1 = Thread.new do
  @news_data = NewsClient.getNewsData()
t2 = Thread.new do
  @advertisements = AdsClient.getAdsByLocation(zip)

Is there a Lift event-based actor API for this or what is the Lift way
of doing this?

Thanks again.


You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to