System Architecture and Reliability

Which is generally a desirable design for a system that uses autoscaling to add and remove servers automatically according to the load?

  1. AStoring business data that only that server holds on each server's local disk
  2. BStoring users' session information in a shared data store instead of each server's memory, so that the result is the same whichever server processes a request
  3. CWhen reducing the number of servers, stopping a server immediately even if it has requests in progress
Show answer and explanation

Answer: B. Storing users' session information in a shared data store instead of each server's memory, so that the result is the same whichever server processes a request

With autoscaling, a design in which servers hold no state of their own (stateless) is desirable, so that it does not matter when servers are added or removed. If session information and business data are kept in a shared data store, any server can process a request in the same way, and no data is lost when servers are removed. When reducing the number of servers, new requests stop being distributed to a server and it is stopped only after its requests in progress have finished.

  • A. When the number of servers is reduced, that server's data is lost.
  • B. Correct. Making servers stateless lets them be added and removed freely.
  • C. Requests in progress would fail. Stop distributing to the server and wait for the processing to finish before stopping it.
Practice this topic Back to topic

Related calculators

Books on System Architecture and Reliability Ad

As an Amazon Associate I earn from qualifying purchases.

More System Architecture and Reliability questions

  1. Which describes live migration in a virtualized environment?
  2. Which describes a CDN (content delivery network)?
  3. In a semiconductor fab, the aim is to detect abnormalities quickly using sensor data collected at high frequency from many pieces of manufacturing equipment. Instead of sending all the data to a distant cloud for processing, edge computing processes it on computers placed near the equipment. Which is a main advantage of using edge computing?
  4. Among the ways of connecting storage, which describes a SAN (storage area network)?
  5. From a storage pool with a physical capacity of 100 TB, 30 volumes with a logical capacity of 5 TB each were created using thin provisioning. Currently, on average 40% of each volume's logical capacity has been written, and the data grows by a total of 2 TB each week. Ignoring data deletion and compression, when will the pool's utilization reach 80%?