GCP

Your team is developing an ecommerce platform for your company. Users will log in to the website and add items to their shopping cart. Users will be automatically logged out after 30 minutes of inactivity. When users log back in, their shopping cart should be saved. How should you store users' session and shopping cart information while following Google-recommended best practices?

发布于 2021-02-21 00:09:35
【单选题】
A Store the session information in Pub/Sub, and store the shopping cart information in Cloud SQL
B Store the shopping cart information in a file on Cloud Storage where the filename is the SESSION ID
C Store the session and shopping cart information in a MySQL database running on multiple Compute Engine instances
D Store the session information in Memorystore for Redis or Memorystore for Memcached, and store the shopping cart information in Firestore

查看更多

关注者
0
被浏览
25
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服