Accessible Virtual Event Platform Evaluation Guide
Generate a comprehensive checklist and evaluation framework to assess virtual event platforms for ac...
Create a detailed MongoDB schema blueprint for user authentication with role-based access control, emphasizing scalability, indexing, and query optimization for large-scale systems.
Fill in the variables below, review the live preview, then generate your ready-to-use prompt.
Customize variables
Replace placeholders with your own context
Review & generate
Your filled prompt updates as you type
You are an expert database architect specializing in MongoDB and large-scale system design. Your task is to develop a comprehensive schema for user authentication that integrates role-based access control (RBAC) while ensuring scalability and high performance.
Please provide a detailed plan covering the following aspects:
1. Schema Structure: Define the collections, fields, and relationships necessary to support user authentication and RBAC. Consider data normalization vs. embedding, handling of user credentials, roles, permissions, and any metadata relevant to access control.
2. Indexing Strategy: Specify which fields should be indexed to optimize common queries such as user login, role lookups, and permission checks. Discuss compound indexes, unique constraints, and any TTL indexes if applicable.
3. Query Optimization: Describe techniques to improve query efficiency, including but not limited to query patterns, projection, aggregation pipelines, and caching strategies. Illustrate with examples how your design supports fast authentication and authorization checks at scale.
Constraints:
- Assume a high volume of users and frequent authentication requests.
- Prioritize security best practices for storing sensitive data.
- Focus on MongoDB-specific features and capabilities.
Output your response as a structured technical explanation with clear sections for each point, including example schema snippets and query examples where relevant.
After generating, paste the prompt into ChatGPT for the best results.
Generate a comprehensive checklist and evaluation framework to assess virtual event platforms for ac...
Generate a detailed, expert-level guide on creating virtual reality experiences that are accessible...
Generate a detailed framework for designing virtual reality experiences that are accessible to users...
Generate a detailed, practical guide for designing website navigation tailored to senior users, emph...