sqlServer Mode

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi

I was wondering how you would go about serializing a WiseJ app so it could be run using an SQL state server?

Thanks for your help

Ewan

  • You must to post comments
0
0

The /healthcheck is more or less used by most load balancers to test if a server is available.

The health check is only one of the features that IIS ARR can use to determine the best server to dispatch http requests. For wisej that is the first request that upgrades the connection to WebSocket mode.

Yes, if the application server goes down the session is lost.

Best

Luca

 

  • You must to post comments
0
0

Hi Luca,

We are talking about ARR, right?

Quoting Web farms in .NET and IIS part 3: Application Request Routing ARR

ARR doesn’t have its own solution for high availability so it cannot handle failures to the server hosting ARR – the result is that the ARR server becomes a single point of failure.

So my Wisej web server no. 1 is part of a Web Farm. If my server no. 1 goes down, what happens to this guy that was in session on web server no. 1? Since Wisej sessions aren’t transferable, I guess he will get a new session on server no.2 but all context will be gone. Will he have to start from the beginning, login, etc?

  • You must to post comments
0
0

We don’t use ASP.NET sessions. Wisej sessions work in memory. You can plug in a custom session manager if you like, but it sill must be in memory.

Deserializing from a string on every request like a traditional web page would cripple the system to becoming unusable. Wisej uses many tiny packets back and forth all the times through a live WebSocket connection, which cannot be transfered to another server.

Load balancing works with the /healthcheck configuration. Wisej is able to tell the load balancer when to stop hitting a specific server depending on session count, cpu load, memory percentage, etc.

HTH

Best,

Luca

  • You must to post comments
Showing 3 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json