Thanks Igor,
I know the reasons for the locking. I just want to
pinpoint some use cases. I will test your solution for images, but it will take
some time, currently I am on the opposite end of our application, at business
and data layer.
Jan
well,
in order to not let the internal state be corrupted requests have to be
processed in sequence they originated from the user. a good and easy way to do
this is to lock on session making sure that requests from that user are
basically serialized. we really havent found a better way to do this. it has
plenty of drawbacks but until we come up with a good clean solution i dont
think we are going to change that.
as far as the images, as ive said
there are ways to serve them in a nonblocking fashion by using a dynamic
resource or a custom target. the target is the place that chooses the lock -
or sometimes no lock at all. you can build all kinds of nonblocking behaviors
if you want by creating your own request targets.
-Igor
On 6/21/06, jan_bar
<[EMAIL PROTECTED]>
wrote:
>
I'm I the only one with this issue?
Hi,
I see your points. In
my opinion, *any* database query (but not only database) can be long
operation. At that time your code is sitting in idle loop waiting for
database (located on another PC). In that time the CPU can do other
useful job for the same client (session). I pointed out another use case
with images from database, see my other response. If the session is
not locked, the image will appear in parallel (quicker), while with
locked session, they will appear one by one (slower, because of lost
time waiting for database).
Jan
All the
advantages of Linux Managed Hosting--Without the Cost and Risk! Fully
trained technicians. The highest number of Red Hat certifications in the
hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________ Wicket-develop
mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop
All the advantages of Linux Managed Hosting--Without the Cost and
Risk! Fully trained technicians. The highest number of Red Hat
certifications in the hosting industry. Fanatical Support. Click to learn
more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
|
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop