468,315 Members | 1,422 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,315 developers. It's quick & easy.

Re: Load Balancing

yes it matters.

to use an out of proc session (state or sql), all objects stored in
session must be serializable. as you are using sqlexpress, develop with
sqlserver sessions as this is the best choice for high availablility. in
production you will want the sql state server in a cluster.

if you are writing unit tests (always a good idea), its best to have
serialization tests that check that serialization is working properly
for any object that may be stored in session.

-- bruce (sqlwork.com)

David wrote:
Hi,

So, to use stateserver or multiple (clustered) SQL Servers / IIS boxes, does
it actually matter how I write my code to take advantage of them or will it
just work? (apart from handling sessions, caching)

Thanks for your help.
Oct 19 '08 #1
1 802
Hi,

Thanks for your help...

I tend not to use sessions much anyway unless I have to. I will bear it in
mind. This application will be electronic based (i.e. not for viewing by a
browser, but another application talking over http).

I need to look deeper into unit testing (I really want to do this for this
project). I will also investigate deeper into serialising objects.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"bruce barker" <no****@nospam.comwrote in message
news:Ot**************@TK2MSFTNGP03.phx.gbl...
yes it matters.

to use an out of proc session (state or sql), all objects stored in
session must be serializable. as you are using sqlexpress, develop with
sqlserver sessions as this is the best choice for high availablility. in
production you will want the sql state server in a cluster.

if you are writing unit tests (always a good idea), its best to have
serialization tests that check that serialization is working properly for
any object that may be stored in session.

-- bruce (sqlwork.com)

David wrote:
>Hi,

So, to use stateserver or multiple (clustered) SQL Servers / IIS boxes,
does it actually matter how I write my code to take advantage of them or
will it just work? (apart from handling sessions, caching)

Thanks for your help.

Oct 20 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Shabam | last post: by
2 posts views Thread by Christopher D. Wiederspan | last post: by
10 posts views Thread by GeekBoy | last post: by
6 posts views Thread by Andrew Robinson | last post: by
2 posts views Thread by RahulBose | last post: by
3 posts views Thread by Anthony Smith | last post: by
1 post views Thread by m.a | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.