473,722 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1373
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
ISerializabl e 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
2764
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") pages that are text-heavy and that resemble academic publications. Despite the origin of HTML in the world of scientific communication, the absence of a FIGURE element to serve as a counterpart to the TABLE element is surprising. This topic has...
9
9758
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 the vertical scroll bar. From what I've been able to gather through web searches, I may be SOL. Is there any way to scale the image to the page size and not just to the viewport size? Example at:
4
1909
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 do that in .NET? How do you maintain state across multiple servers? Does anyone know of a White Paper or other article that describes such architecture? Thanks!
1
1642
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 increased system load. The application is highly dependent on SQL Server 2000. The operations system is Windows 2003 Server. What should we be using for network load balancing (NLB)? Do we need Application Center? What if we started with 2 web servers...
1
2425
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 scalable servers in C# would be - Asynchronous Sockets - Non-blocking Socket Methods
4
9138
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 but most C++ programmers seem to prefer them, based on my readings). I have decided to use this sample from MSDN as a starting point to build my TCP server. ...
0
367
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 thousands) and of course I would like to make it as performant and scalable as I can. The idea is that remote computers send data to this server. The remote computers will send data from any random port to port 28901 of my server. My server then...
3
1357
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 new ObjectDataSource as used in Microsoft's TimeTracker demo and it looks like a similar direction we may wish to head. I'd appreciate any advice. Is this a good approach? Does anyone have any experience scaling any application using...
3
1452
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, the amount of memory required to store all their session variables would very quickly exhaust the web server's memory. Also, if the application is to run on a web farm, there is no guarantee that all requests for a session will be dealt with by the...
1
1470
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
8863
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8739
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9238
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9088
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4502
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.