1.

When to Choose Client-Side & Server Side State Management?

Answer»

Client-Side:

  • For better scalability by saving user’s data at client-side(browser)
  • To support MULTIPLE servers, so, when a request is diverted to another server no need to worry about the state.
  • To empower the server-side states to be capable to help numerous servers you'll need to utilize techniques like a sticky connection for load balancing.

Server Side

  • Pick server-side for better security and to decrease data transfer capacity and website page's size.
  • Server side state management is more secure. The state is saved on the server also, consequently isn't conveyed to the client.
  • Secret state information shouldn't be utilized with client-side state management
  • Server-side diminishes the traffic to and from the user SINCE information isn't sent to the browser and, it's saved on the server.
  • Client-side state management technique increases bandwidth USAGE & therefore APPLICATION becomes less responsive and you'll experience performance issues.


Discussion

No Comment Found