473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Storing resources in DB

YC
Hi,
We are considering storing our resources in a DB table.
My question is whether using a custom provider with the resources stored in
DB can downgrade the application performance? I understand that the .net
framework use the resource as assembliles and store them in cache.
My custom provider should get the resources and store them in cache also.
Is there a diffrence on how the framework treats the resource assemblies
with the default provider in terms of caching?

Thanks
Apr 3 '06 #1
4 1188
Unless you are seeing actual performance issues, I wouldn't worry about
micro optimizations. If you cache your resources in memory coming from your
DB, you are going to get optimal performance.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
Hi,
We are considering storing our resources in a DB table.
My question is whether using a custom provider with the resources stored
in
DB can downgrade the application performance? I understand that the .net
framework use the resource as assembliles and store them in cache.
My custom provider should get the resources and store them in cache also.
Is there a diffrence on how the framework treats the resource assemblies
with the default provider in terms of caching?

Thanks

Apr 3 '06 #2
YC
Hi Karl,
Thanks for your reply.
Does the default provider of localization with asp.net 2.0 cache the
resource in the way?

Thanks

Yoav

"Karl Seguin [MVP]" wrote:
Unless you are seeing actual performance issues, I wouldn't worry about
micro optimizations. If you cache your resources in memory coming from your
DB, you are going to get optimal performance.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
Hi,
We are considering storing our resources in a DB table.
My question is whether using a custom provider with the resources stored
in
DB can downgrade the application performance? I understand that the .net
framework use the resource as assembliles and store them in cache.
My custom provider should get the resources and store them in cache also.
Is there a diffrence on how the framework treats the resource assemblies
with the default provider in terms of caching?

Thanks


Apr 3 '06 #3
Yes, I believe it does.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi Karl,
Thanks for your reply.
Does the default provider of localization with asp.net 2.0 cache the
resource in the way?

Thanks

Yoav

"Karl Seguin [MVP]" wrote:
Unless you are seeing actual performance issues, I wouldn't worry about
micro optimizations. If you cache your resources in memory coming from
your
DB, you are going to get optimal performance.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
> Hi,
> We are considering storing our resources in a DB table.
> My question is whether using a custom provider with the resources
> stored
> in
> DB can downgrade the application performance? I understand that the
> .net
> framework use the resource as assembliles and store them in cache.
> My custom provider should get the resources and store them in cache
> also.
> Is there a diffrence on how the framework treats the resource
> assemblies
> with the default provider in terms of caching?
>
> Thanks


Apr 3 '06 #4
YC
Thanks for your reply.

Yoav

"Karl Seguin [MVP]" wrote:
Yes, I believe it does.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi Karl,
Thanks for your reply.
Does the default provider of localization with asp.net 2.0 cache the
resource in the way?

Thanks

Yoav

"Karl Seguin [MVP]" wrote:
Unless you are seeing actual performance issues, I wouldn't worry about
micro optimizations. If you cache your resources in memory coming from
your
DB, you are going to get optimal performance.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"YC" <YC@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
> Hi,
> We are considering storing our resources in a DB table.
> My question is whether using a custom provider with the resources
> stored
> in
> DB can downgrade the application performance? I understand that the
> .net
> framework use the resource as assembliles and store them in cache.
> My custom provider should get the resources and store them in cache
> also.
> Is there a diffrence on how the framework treats the resource
> assemblies
> with the default provider in terms of caching?
>
> Thanks


Apr 4 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Axel Schwenke | last post by:
Hello once again! What kind of possibilities may I use to store information out of a form? I'm working on a survey for our company. Therefor I created a html-document with a form in it. Till...
12
by: Alfonso Morra | last post by:
I have the ff code for testing the concept of storing objects: #include <vector> #include <iostream> using namespace std ; class MyClass { public: MyClass(){
1
by: Lucas Fletcher | last post by:
Hi All, I've searched the web for an article explaining the many tradeoffs between storing your XML in a database vs the filesystem but I haven't really found anything of note. This is the...
4
by: Rachel Suddeth | last post by:
What is the difference between a managed/unmanaged resource, and how do you tell which is which? I'm trying to understand how to write some Dispose() methods, and we are supposed to put code that...
2
by: Shyam | last post by:
Hi, I wanted some advice on the following. All the users who log in to the system are created in the SQL Server. As I am not keen to store any user information on the web.config file for...
0
by: Oleg Ogurok | last post by:
Hi all, I'm planning on storing my application settings in SQL. What would be the best format? I'm thinking of using resource file (.resx) format. It seems ResXResourceReader and...
5
by: Demetri | last post by:
Unfortunately, where I work it is forbidden to use stored procedures. I know, I know...it's pretty stupid. But I can not change that. Anyway, currently we have our sql stored in an embedded resx...
2
by: walter | last post by:
Hi there, I'm wondering if it's possible to store the .net resource in database instead of resx file? Our site is a multi-lingual site ,storing text in resx file give us a burden on the website...
3
by: Simone | last post by:
Hello I am pretty new to asp.net :) I have a program that loops through a few sql statements and performs inserts. The problem is the sql statements are different for every upcoming new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.