473,394 Members | 1,902 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,394 software developers and data experts.

scalable state-management

Could someone point me in the direction of good discussions on scalable
state management solutions?

Specifically, pros and cons of following strategies:

Strategy 1 : temporary business-objects are implicitly stored in RAM,
"permanent" business objects are explicitly stored in SQL-Server

Strategy 2 : both temporary and permanent business-objects are implicitly
stored in SQL-Server

Strategy 3 : both temporary and permanent business-objects are explicity
stored SQL-Server

By "explicitly stored" I mean that ADO.NET is used to load/save business
objects to/from SQL-Server db-tables.

By "implicitly stored" I mean that persistent business-objects implement
ISerializable and are stored in session-state. The state-server is either
implemented as an out-of-process RAM state-server, or an out-of-process
SQL-Server state-server.

An example of a temporary business-object is a shopping-cart collection of
items before the customer has committed to purchasing them.

An example of a permanent business-object is a shopping-cart colletion of
items after the customer has committed to purchasing them.

I have not built a highly scalable ASP.NET web-app, but it occurs to me
that:

1. accessing a DISC state-server (either explitly or implicitly) is much
slower than accessing a RAM state-server

2. a DISC state-server is effectively infinitely expandable

3. a RAM state-server is limited to the maximum RAM supported by the OS

Question: can special machines be built that exceed the basic OS RAM
maximum?
Question: is it possible to split a RAM state-server across multiple
machines?
Nov 19 '05 #1
1 1352
Hi John:

There are some good discussions in the following chapter of the PAG
Performance guide:
http://msdn.microsoft.com/library/de...netchapt06.asp

There are 32 bit servers on the market that can hold 64 GB of RAM -
they are pricey, and you would need to run Windows 2003 Data Center
Edition to make use of the RAM. 64 bit servers can go even further.

Don't forget to factor in reliability when choosing between inproc and
database session storage.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 17 Mar 2005 11:13:40 -0800, "John Grandy"
<johnagrandy-at-yahoo-dot-com> wrote:
Could someone point me in the direction of good discussions on scalable
state management solutions?

Specifically, pros and cons of following strategies:

Strategy 1 : temporary business-objects are implicitly stored in RAM,
"permanent" business objects are explicitly stored in SQL-Server

Strategy 2 : both temporary and permanent business-objects are implicitly
stored in SQL-Server

Strategy 3 : both temporary and permanent business-objects are explicity
stored SQL-Server

By "explicitly stored" I mean that ADO.NET is used to load/save business
objects to/from SQL-Server db-tables.

By "implicitly stored" I mean that persistent business-objects implement
ISerializable and are stored in session-state. The state-server is either
implemented as an out-of-process RAM state-server, or an out-of-process
SQL-Server state-server.

An example of a temporary business-object is a shopping-cart collection of
items before the customer has committed to purchasing them.

An example of a permanent business-object is a shopping-cart colletion of
items after the customer has committed to purchasing them.

I have not built a highly scalable ASP.NET web-app, but it occurs to me
that:

1. accessing a DISC state-server (either explitly or implicitly) is much
slower than accessing a RAM state-server

2. a DISC state-server is effectively infinitely expandable

3. a RAM state-server is limited to the maximum RAM supported by the OS

Question: can special machines be built that exceed the basic OS RAM
maximum?
Question: is it possible to split a RAM state-server across multiple
machines?


Nov 19 '05 #2

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

Similar topics

5
by: Robert J. O'Hara | last post by:
For some time I've struggled with the problem of displaying simple captioned figures on webpages in a way that is robust and scalable. I tend to make "boring" (um, I mean "conservatively elegant")...
9
by: dp | last post by:
I'm playing with scalable background images in html 4.01 transitional . The image scales ok in the viewport but I can't get it to scale beyond the viewport when there's long content that forces...
4
by: Dean J Garrett | last post by:
Hello, We're beginning to build a new .NET application that must be very scalable, i.e. to address future load requirements, we'd like to be able to simply add additional web servers. How do you...
1
by: Dean J Garrett | last post by:
We need to determine the proper architecture for a new .NET application which must be scalable, i.e. we must be able to add additional web servers as the need arises in order to accommodate...
1
by: .:: - Hades - ::. | last post by:
Hi, 1. I am trying to find out something close to the Overlapped IO / Completion Ports model provided to me by the Winsock 2 library in C#. The two ways provided to me to move towarsds...
4
by: SRLoka | last post by:
After reading the newsgroups and various .Net web sites, I have come to a conclusion that BeginReceive and BeginSend are the way to go as they use IOCompletion Ports(I have no clue what they mean...
0
by: Jonas Hei | last post by:
I need to develop a scalable server which has to receive and send UDP messages. It is required to process hundreds of messages (coming from different remote computers) per second (possibly even...
3
by: Brent Borovan | last post by:
Hello, Our team is about to begin development of a web based product using ASP.NET 2.0. We want to ensure that our architecture is scalable (n-tier) and easy to maintain. I've read up on the...
3
by: Terry Holland | last post by:
Ive read that to build scalable web apps it is not recommended that state be stored in session variables. My understanding of this is that, with many users using the application concurrently,...
1
by: PeteOlcott | last post by:
Does anyone know how to make a scalable image on a DialogBox? I am currently using a static Picture Control, can this be adapted to become scalable to the size of the DialogBox?
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.