Click here to Skip to main content
15,925,440 members
Home / Discussions / C#
   

C#

 
Generalselecting check box Pin
chithra.r23-Mar-08 22:56
chithra.r23-Mar-08 22:56 
GeneralRe: selecting check box Pin
Vimal Raj23-Mar-08 23:22
Vimal Raj23-Mar-08 23:22 
GeneralRe: selecting check box Pin
chithra.r24-Mar-08 20:07
chithra.r24-Mar-08 20:07 
GeneralRe: selecting check box Pin
Vimal Raj24-Mar-08 22:16
Vimal Raj24-Mar-08 22:16 
GeneralRe: selecting check box Pin
chithra.r24-Mar-08 22:56
chithra.r24-Mar-08 22:56 
QuestionHow we develope remote backup server? Pin
saiftanoli23-Mar-08 22:10
saiftanoli23-Mar-08 22:10 
GeneralRe: How i should start my project? Pin
Guffa24-Mar-08 0:03
Guffa24-Mar-08 0:03 
Generalstateless design Pin
George_George23-Mar-08 21:54
George_George23-Mar-08 21:54 
Hello everyone,


I do not understand what means "A stateless design (popular for reasons of scalability) intrinsically limits the possibility of interaction, since classes are unable to persist data between each request." and why such design will be better to scale. Any more descriptions?

http://www.albahari.com/threading/part2.html

--------------------
Another way to cheat is to minimize thread interaction by minimizing shared data. This is an excellent approach and is used implicitly in "stateless" middle-tier application and web page servers. Since multiple client requests can arrive simultaneously, each request comes in on its own thread (by virtue of the ASP.NET, Web Services or Remoting architectures), and this means the methods they call must be thread-safe. A stateless design (popular for reasons of scalability) intrinsically limits the possibility of interaction, since classes are unable to persist data between each request. Thread interaction is then limited just to static fields one may choose to create – perhaps for the purposes of caching commonly used data in memory – and in providing infrastructure services such as authentication and auditing.
--------------------


thanks in advance,
George
GeneralRe: stateless design Pin
N a v a n e e t h23-Mar-08 22:53
N a v a n e e t h23-Mar-08 22:53 
GeneralRe: stateless design Pin
George_George23-Mar-08 22:58
George_George23-Mar-08 22:58 
GeneralRe: stateless design Pin
N a v a n e e t h23-Mar-08 23:15
N a v a n e e t h23-Mar-08 23:15 
GeneralRe: stateless design Pin
led mike24-Mar-08 4:59
led mike24-Mar-08 4:59 
GeneralRe: stateless design Pin
George_George24-Mar-08 18:53
George_George24-Mar-08 18:53 
GeneralRe: stateless design Pin
led mike25-Mar-08 6:34
led mike25-Mar-08 6:34 
GeneralRe: stateless design Pin
George_George25-Mar-08 20:20
George_George25-Mar-08 20:20 
GeneralSend Text Pin
M Riaz Bashir23-Mar-08 21:48
M Riaz Bashir23-Mar-08 21:48 
GeneralRe: Send Text Pin
Giorgi Dalakishvili23-Mar-08 21:57
mentorGiorgi Dalakishvili23-Mar-08 21:57 
QuestionHow to Copy Data from Data Grid view to another gridview Pin
Krazy Programmer23-Mar-08 20:23
Krazy Programmer23-Mar-08 20:23 
GeneralRe: How to Copy Data from Data Grid view to another gridview Pin
Christian Graus23-Mar-08 20:37
protectorChristian Graus23-Mar-08 20:37 
QuestionRe: How to Copy Data from Data Grid view to another gridview [modified] Pin
Krazy Programmer23-Mar-08 20:44
Krazy Programmer23-Mar-08 20:44 
GeneralRe: How to Copy Data from Data Grid view to another gridview Pin
salon23-Mar-08 21:13
salon23-Mar-08 21:13 
GeneralRe: How to Copy Data from Data Grid view to another gridview Pin
Krazy Programmer23-Mar-08 21:19
Krazy Programmer23-Mar-08 21:19 
Generalstring enum in c# Pin
salon23-Mar-08 20:01
salon23-Mar-08 20:01 
GeneralRe: string enum in c# Pin
darkelv23-Mar-08 20:23
darkelv23-Mar-08 20:23 
GeneralRe: string enum in c# Pin
salon23-Mar-08 20:47
salon23-Mar-08 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.