Last post Jun 27, 2010 02:19 PM by toas1
Jun 27, 2010 01:05 PM|Arjuna_Marambe|LINK
I am in the process of designing an application that spans multiple regions. Certain areas of functionality in this application vary from region to region and in order to handle these region specific variations I plan to use the provider model (the system
should be extensible to handle many more regions added at a later stage). However since the provider model makes extensive use of reflection will there be a performance problem ? Is there any alternative way to get this done.
Jun 27, 2010 01:38 PM|XIII|LINK
actually a lot of very much used frameworks, even from Microsoft, make use of reflection. There's perhaps a tiny overhead but since reflection happens in memory it's still fast. So don't worry too much about it for the moment. Besides reading configuration
from a database or from disk is way slower then reflection.
Jun 27, 2010 02:19 PM|toas1|LINK
using classes from the System.Emit namespace to create things like data mapping etc is way much faster then doing the same with reflection. We use a data mapper that is built using System.Emit and its asvfast as lightning! The thing is that its kinda complicated
to use :)