Explanation: Session state data is the information that is associated with a specific user session, such as user preferences, shopping cart items, authentication tokens, etc. Session state data needs to be stored in a persistent and scalable way, so that it can be accessed by multiple web servers and survive server failures. Therefore, the suitable services for storing session state data are those that provide reliable, distributed, and high-performance data storage, such as RDS and Table Store.
RDS (Relational Database Service) is a fully managed online database service that supports various database engines, such as MySQL, SQL Server, PostgreSQL, MariaDB, and PPAS (PostgreSQL with Oracle compatibility)1. RDS provides high availability, backup and recovery, security, and monitoring features for your databases. RDS can store session state data in relational tables, and you can use SQL queries to access and manipulate the data.
Table Store is a fully managed NoSQL database service that provides consistent, scalable, and high-performance data storage for structured and semi-structured data2. Table Store organizes data in tables, rows, and columns, and supports primary key and attribute columns. Table Store can store session state data in flexible schemas, and you can use primary key queries or secondary index queries to access and manipulate the data.
References: 1: Alibaba Cloud Academy, “RDS Concepts”, https://edu.alibabacloud.com/elearning/lesson/ACA-Cloud-Computing-Certification/lesson-5-rds-concepts 2: Alibaba Cloud Academy, “Table Store”, https://edu.alibabacloud.com/elearning/lesson/ACA-Cloud-Computing-Certification/lesson-7-table-store