You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jonathan Asbell <ja...@i-2000.com> on 2001/04/29 15:15:09 UTC
Lookup performance on ActionMappings
Our company manages almost 100 related sites, some with 3 million+ /month viewership. In thinking about how I would approach the ActionServlet I am suspicious that the lookup time of the ActionMapping might become unsatisfactory when you reach a certain number of mappings. Does anyone have any statistics? Would you all suggest a servlet for each site in this case? Keep in mind that all fo the sites share the common core enterprise framework.
Re: Lookup performance on ActionMappings
Posted by Martin Cooper <ma...@tumbleweed.com>.
It actually uses a FastHashMap, which is optimized for fast read-access in a
multithreaded environment. For the details, see:
http://jakarta.apache.org/struts/api/org/apache/struts/util/FastHashMap.html
--
Martin Cooper
----- Original Message -----
From: "Jason Chaffee" <ja...@metatv.com>
To: <st...@jakarta.apache.org>
Sent: Sunday, April 29, 2001 12:48 PM
Subject: Re: Lookup performance on ActionMappings
> I believe the lookup is done with a hash map, so performance should
> remain constant with the increase in mappings.
>
> Jonathan Asbell wrote:
>
>
> Our company manages almost 100 related sites, some with 3 million+
> /month viewership. In thinking about how I would approach the
> ActionServlet I am suspicious that the lookup time of the ActionMapping
> might become unsatisfactory when you reach a certain number of mappings.
> Does anyone have any statistics? Would you all suggest a servlet for
> each site in this case? Keep in mind that all fo the sites share the
> common core enterprise framework.
>
> --
> Jason Chaffee
> Software Engineer
> MetaTV Inc.
> Phone:(415) 289-8516
>
>
>
Re: Lookup performance on ActionMappings
Posted by Jason Chaffee <ja...@metatv.com>.
I believe the lookup is done with a hash map, so performance should
remain constant with the increase in mappings.
Jonathan Asbell wrote:
> Our company manages almost 100 related sites, some with 3 million+
> /month viewership. In thinking about how I would approach the
> ActionServlet I am suspicious that the lookup time of the
> ActionMapping might become unsatisfactory when you reach a certain
> number of mappings. Does anyone have any statistics? Would you all
> suggest a servlet for each site in this case? Keep in mind that all
> fo the sites share the common core enterprise framework.
--
Jason Chaffee
Software Engineer
MetaTV Inc.
Phone:(415) 289-8516