Skip to content

Instantly share code, notes, and snippets.

@AniruddhaAdak
Last active March 12, 2025 09:57
Show Gist options
  • Save AniruddhaAdak/04def8aa91ad94b95026736c0e066b4b to your computer and use it in GitHub Desktop.
Save AniruddhaAdak/04def8aa91ad94b95026736c0e066b4b to your computer and use it in GitHub Desktop.
20 advanced prompts for backend web development challenge using Manus ai.

Advanced Backend Development Prompts

This repository contains 20 advanced prompts for backend web development challenges. These prompts are crafted to push the boundaries of technical expertise and creativity, focusing on complex, real-world problems in backend systems. Each prompt includes a title and a detailed description of the task, making them ideal for developers, researchers, or anyone looking to explore cutting-edge backend development concepts.

How to Use

Use these prompts to:

  • Challenge your problem-solving skills.
  • Explore advanced backend development techniques.
  • Inspire innovative projects or solutions.
  • Share and collaborate on GitHub.

First Set of 10 Prompts

  1. Scalable Social Media API with Real-Time Features

    • Description: Design and implement a highly scalable REST API for a social media platform. Include features like user authentication, post creation, commenting, and real-time notifications. Ensure the system can handle millions of users, optimize it for performance, and implement rate limiting and caching to manage high traffic efficiently.
  2. Microservices Architecture for E-Commerce

    • Description: Create a microservices architecture for an e-commerce application. Develop separate services for user management, product catalog, order processing, and payment integration. Use message queues (e.g., RabbitMQ or Kafka) for communication between services and ensure data consistency across them with techniques like eventual consistency or distributed transactions.
  3. Real-Time Data Aggregation and Analytics Backend

    • Description: Develop a backend system that integrates with multiple third-party APIs (e.g., weather services, news feeds, social media platforms) to aggregate real-time data. Build an analytics engine to process this data and provide insights for a dashboard application. Ensure the system handles large data volumes and delivers real-time updates seamlessly.
  4. Secure Multi-Tenant Authentication System

    • Description: Implement a secure authentication and authorization system for a multi-tenant SaaS application using OAuth 2.0 and JWT. Isolate user data between tenants, protect against vulnerabilities like SQL injection and cross-site scripting, and add role-based access control (RBAC) for fine-grained permissions.
  5. Optimized Database Schema for Content Management

    • Description: Design a database schema for a content management system (CMS) that supports multiple content types (e.g., articles, videos, images) and relationships (e.g., tags, categories). Optimize it for both read and write performance, and implement indexing and caching strategies to handle high traffic effectively.
  6. Serverless Backend for Mobile Applications

    • Description: Set up a serverless backend using AWS Lambda and API Gateway for a mobile application. Manage user requests, data storage (e.g., with DynamoDB), and integrate third-party services like payment gateways and push notifications. Ensure the system scales automatically with demand and keeps latency low.
  7. Real-Time Chat Application with WebSockets

    • Description: Create a backend for a real-time chat application using WebSockets. Support multiple chat rooms, user presence indicators (e.g., online/offline status), and message persistence. Add features like message history and typing indicators, and ensure efficient handling of concurrent connections.
  8. Automated CI/CD Pipeline for Backend Projects

    • Description: Automate the deployment process for a backend project by setting up a CI/CD pipeline with tools like Jenkins, GitHub Actions, or GitLab CI. Include automated testing (unit, integration, and end-to-end), building, and deployment to a cloud platform (e.g., AWS). Make the pipeline secure and capable of handling rollbacks if failures occur.
  9. Performance Optimization for Existing Backend

    • Description: Analyze and optimize an existing backend system for better performance. Identify bottlenecks in code, database queries, or infrastructure, and implement improvements like query optimization, caching (e.g., Redis), or horizontal scaling. Provide a detailed report on the changes and their performance impact.
  10. Multi-Platform Backend for Web, Mobile, and Desktop

    • Description: Develop a backend that supports multiple frontend clients, including web, iOS, Android, and desktop applications. Ensure consistent API responses across platforms, handle platform-specific needs (e.g., push notifications for mobile), and implement versioning to manage API updates without breaking clients.

Second Set of 10 Prompts

  1. Self-Optimizing Distributed AI Inference Network

    • Description: Design a globally distributed backend system that dynamically optimizes itself for AI inference workloads. Integrate edge nodes with centralized GPU clusters, leveraging reinforcement learning to predict and pre-position inference models based on user demand patterns. Implement a hybrid consensus mechanism (e.g., Raft combined with Byzantine Fault Tolerance) to ensure data integrity across regions, and use predictive caching with temporal graph databases to minimize latency for time-sensitive applications like autonomous vehicle navigation.
  2. Zero-Knowledge Decentralized Identity Platform

    • Description: Develop a backend system for a decentralized identity framework using zero-knowledge proofs (e.g., zk-SNARKs) to enable privacy-preserving authentication across untrusted networks. Integrate with a permissioned blockchain for auditability, support cross-chain interoperability with Ethereum and Polkadot, and implement a sharded architecture to process millions of identity verifications per second. Ensure quantum resistance with lattice-based cryptography and provide real-time attestation revocation without compromising user anonymity.
  3. Exascale Real-Time Simulation Engine

    • Description: Create a backend system capable of running exascale simulations (10^18 operations per second) for real-time scientific modeling, such as climate prediction or molecular dynamics. Use a hybrid architecture combining serverless functions, bare-metal clusters, and FPGA accelerators. Implement a custom data orchestration layer with adaptive partitioning to handle petabyte-scale datasets, and integrate with a distributed stream processing system (e.g., Apache Kafka with Flink) to deliver simulation results with sub-millisecond latency to global research teams.
  4. Autonomous Microservices Ecosystem with Genetic Optimization

    • Description: Build a microservices architecture where services autonomously evolve using genetic algorithms to optimize performance, resilience, and resource usage. Implement a meta-orchestration layer that monitors system telemetry, generates service variants, and deploys them in a live environment with canary testing. Use a distributed tracing system with causal inference to detect and mitigate emergent behaviors, ensuring the ecosystem maintains 99.9999% uptime under chaotic load conditions like flash crowds or DDoS attacks.
  5. Multi-Modal Real-Time Threat Intelligence Hub

    • Description: Design a backend system that aggregates and analyzes multi-modal data (e.g., network traffic, user behavior, IoT telemetry, and dark web chatter) in real time to predict and neutralize cybersecurity threats. Integrate federated machine learning across organizational boundaries for collaborative threat modeling, and use homomorphic encryption to process sensitive data without decryption. Implement a reactive policy engine that autonomously triggers countermeasures (e.g., IP blocking, service throttling) while maintaining audit trails compliant with global regulations.
  6. Cross-Planetary Data Synchronization Framework

    • Description: Architect a backend system for synchronizing data across planetary-scale distances (e.g., Earth to Mars) with extreme latency and intermittent connectivity. Use delay-tolerant networking (DTN) protocols combined with CRDTs and vector clocks for conflict resolution, and implement a predictive replication strategy based on orbital mechanics and communication windows. Ensure the system supports heterogeneous storage backends (e.g., SSDs on Earth, radiation-hardened memory on Mars) and provides eventual consistency with formal verification of data integrity.
  7. Serverless Quantum-Classical Hybrid Compute Platform

    • Description: Develop a serverless backend that seamlessly integrates classical and quantum computing resources for hybrid workloads, such as optimization problems or cryptographic analysis. Use a custom scheduler to allocate tasks to quantum processing units (QPUs) or classical CPUs/GPUs based on workload characteristics, and implement a polyglot runtime (e.g., Qiskit, TensorFlow) for developer flexibility. Ensure cost optimization by dynamically rightsizing quantum circuit execution, and provide real-time observability into hybrid performance metrics.
  8. Hyperdimensional Graph Query Engine

    • Description: Create a backend system that uses hyperdimensional computing principles to represent and query complex relationships in a graph database at exabyte scale. Implement vector-symbolic architectures to encode entities and edges in high-dimensional space, enabling sub-linear time queries for pattern matching and anomaly detection. Integrate with a distributed ledger for provenance tracking, and optimize the system for hardware acceleration using tensor processing units (TPUs) or neuromorphic chips.
  9. Self-Defending Security Mesh with Adversarial AI

    • Description: Build a backend security framework where an AI-driven defense mesh proactively identifies and counters adversarial attacks, including those from other AI systems. Implement generative adversarial networks (GANs) to simulate attack vectors, and use differential privacy to protect system metadata. Integrate with a decentralized trust model (e.g., Web of Trust) for credential validation, and ensure the system can dynamically reconfigure its topology to isolate breaches while maintaining service continuity across a multi-cloud environment.
  10. Temporal Data Fabric for Predictive Resilience

    • Description: Design a backend system that creates a temporal data fabric, unifying historical, real-time, and predictive data streams to enhance system resilience. Use time-series forecasting with Bayesian neural networks to anticipate failures, and implement a causality engine to trace root causes across distributed components. Integrate with a self-repairing storage layer that uses erasure coding and proactive data migration, ensuring zero-downtime recovery from hardware faults or natural disasters while serving billions of requests per second.
Advanced Backend Development Prompts
This document contains 20 advanced prompts for backend web development challenges. These prompts are designed to test and showcase advanced skills in solving complex, real-world problems in backend systems. Each prompt includes a title and a detailed description of the task.
First Set of 10 Prompts:
1. Scalable Social Media API with Real-Time Features
- Description: Design and implement a highly scalable REST API for a social media platform. Include features like user authentication, post creation, commenting, and real-time notifications. Ensure the system can handle millions of users, optimize it for performance, and implement rate limiting and caching to manage high traffic efficiently.
2. Microservices Architecture for E-Commerce
- Description: Create a microservices architecture for an e-commerce application. Develop separate services for user management, product catalog, order processing, and payment integration. Use message queues (e.g., RabbitMQ or Kafka) for communication between services and ensure data consistency across them with techniques like eventual consistency or distributed transactions.
3. Real-Time Data Aggregation and Analytics Backend
- Description: Develop a backend system that integrates with multiple third-party APIs (e.g., weather services, news feeds, social media platforms) to aggregate real-time data. Build an analytics engine to process this data and provide insights for a dashboard application. Ensure the system handles large data volumes and delivers real-time updates seamlessly.
4. Secure Multi-Tenant Authentication System
- Description: Implement a secure authentication and authorization system for a multi-tenant SaaS application using OAuth 2.0 and JWT. Isolate user data between tenants, protect against vulnerabilities like SQL injection and cross-site scripting, and add role-based access control (RBAC) for fine-grained permissions.
5. Optimized Database Schema for Content Management
- Description: Design a database schema for a content management system (CMS) that supports multiple content types (e.g., articles, videos, images) and relationships (e.g., tags, categories). Optimize it for both read and write performance, and implement indexing and caching strategies to handle high traffic effectively.
6. Serverless Backend for Mobile Applications
- Description: Set up a serverless backend using AWS Lambda and API Gateway for a mobile application. Manage user requests, data storage (e.g., with DynamoDB), and integrate third-party services like payment gateways and push notifications. Ensure the system scales automatically with demand and keeps latency low.
7. Real-Time Chat Application with WebSockets
- Description: Create a backend for a real-time chat application using WebSockets. Support multiple chat rooms, user presence indicators (e.g., online/offline status), and message persistence. Add features like message history and typing indicators, and ensure efficient handling of concurrent connections.
8. Automated CI/CD Pipeline for Backend Projects
- Description: Automate the deployment process for a backend project by setting up a CI/CD pipeline with tools like Jenkins, GitHub Actions, or GitLab CI. Include automated testing (unit, integration, and end-to-end), building, and deployment to a cloud platform (e.g., AWS). Make the pipeline secure and capable of handling rollbacks if failures occur.
9. Performance Optimization for Existing Backend
- Description: Analyze and optimize an existing backend system for better performance. Identify bottlenecks in code, database queries, or infrastructure, and implement improvements like query optimization, caching (e.g., Redis), or horizontal scaling. Provide a detailed report on the changes and their performance impact.
10. Multi-Platform Backend for Web, Mobile, and Desktop
- Description: Develop a backend that supports multiple frontend clients, including web, iOS, Android, and desktop applications. Ensure consistent API responses across platforms, handle platform-specific needs (e.g., push notifications for mobile), and implement versioning to manage API updates without breaking clients.
Second Set of 10 Prompts:
1. Self-Optimizing Distributed AI Inference Network
- Description: Design a globally distributed backend system that dynamically optimizes itself for AI inference workloads. Integrate edge nodes with centralized GPU clusters, leveraging reinforcement learning to predict and pre-position inference models based on user demand patterns. Implement a hybrid consensus mechanism (e.g., Raft combined with Byzantine Fault Tolerance) to ensure data integrity across regions, and use predictive caching with temporal graph databases to minimize latency for time-sensitive applications like autonomous vehicle navigation.
2. Zero-Knowledge Decentralized Identity Platform
- Description: Develop a backend system for a decentralized identity framework using zero-knowledge proofs (e.g., zk-SNARKs) to enable privacy-preserving authentication across untrusted networks. Integrate with a permissioned blockchain for auditability, support cross-chain interoperability with Ethereum and Polkadot, and implement a sharded architecture to process millions of identity verifications per second. Ensure quantum resistance with lattice-based cryptography and provide real-time attestation revocation without compromising user anonymity.
3. Exascale Real-Time Simulation Engine
- Description: Create a backend system capable of running exascale simulations (10^18 operations per second) for real-time scientific modeling, such as climate prediction or molecular dynamics. Use a hybrid architecture combining serverless functions, bare-metal clusters, and FPGA accelerators. Implement a custom data orchestration layer with adaptive partitioning to handle petabyte-scale datasets, and integrate with a distributed stream processing system (e.g., Apache Kafka with Flink) to deliver simulation results with sub-millisecond latency to global research teams.
4. Autonomous Microservices Ecosystem with Genetic Optimization
- Description: Build a microservices architecture where services autonomously evolve using genetic algorithms to optimize performance, resilience, and resource usage. Implement a meta-orchestration layer that monitors system telemetry, generates service variants, and deploys them in a live environment with canary testing. Use a distributed tracing system with causal inference to detect and mitigate emergent behaviors, ensuring the ecosystem maintains 99.9999% uptime under chaotic load conditions like flash crowds or DDoS attacks.
5. Multi-Modal Real-Time Threat Intelligence Hub
- Description: Design a backend system that aggregates and analyzes multi-modal data (e.g., network traffic, user behavior, IoT telemetry, and dark web chatter) in real time to predict and neutralize cybersecurity threats. Integrate federated machine learning across organizational boundaries for collaborative threat modeling, and use homomorphic encryption to process sensitive data without decryption. Implement a reactive policy engine that autonomously triggers countermeasures (e.g., IP blocking, service throttling) while maintaining audit trails compliant with global regulations.
6. Cross-Planetary Data Synchronization Framework
- Description: Architect a backend system for synchronizing data across planetary-scale distances (e.g., Earth to Mars) with extreme latency and intermittent connectivity. Use delay-tolerant networking (DTN) protocols combined with CRDTs and vector clocks for conflict resolution, and implement a predictive replication strategy based on orbital mechanics and communication windows. Ensure the system supports heterogeneous storage backends (e.g., SSDs on Earth, radiation-hardened memory on Mars) and provides eventual consistency with formal verification of data integrity.
7. Serverless Quantum-Classical Hybrid Compute Platform
- Description: Develop a serverless backend that seamlessly integrates classical and quantum computing resources for hybrid workloads, such as optimization problems or cryptographic analysis. Use a custom scheduler to allocate tasks to quantum processing units (QPUs) or classical CPUs/GPUs based on workload characteristics, and implement a polyglot runtime (e.g., Qiskit, TensorFlow) for developer flexibility. Ensure cost optimization by dynamically rightsizing quantum circuit execution, and provide real-time observability into hybrid performance metrics.
8. Hyperdimensional Graph Query Engine
- Description: Create a backend system that uses hyperdimensional computing principles to represent and query complex relationships in a graph database at exabyte scale. Implement vector-symbolic architectures to encode entities and edges in high-dimensional space, enabling sub-linear time queries for pattern matching and anomaly detection. Integrate with a distributed ledger for provenance tracking, and optimize the system for hardware acceleration using tensor processing units (TPUs) or neuromorphic chips.
9. Self-Defending Security Mesh with Adversarial AI
- Description: Build a backend security framework where an AI-driven defense mesh proactively identifies and counters adversarial attacks, including those from other AI systems. Implement generative adversarial networks (GANs) to simulate attack vectors, and use differential privacy to protect system metadata. Integrate with a decentralized trust model (e.g., Web of Trust) for credential validation, and ensure the system can dynamically reconfigure its topology to isolate breaches while maintaining service continuity across a multi-cloud environment.
10. Temporal Data Fabric for Predictive Resilience
- Description: Design a backend system that creates a temporal data fabric, unifying historical, real-time, and predictive data streams to enhance system resilience. Use time-series forecasting with Bayesian neural networks to anticipate failures, and implement a causality engine to trace root causes across distributed components. Integrate with a self-repairing storage layer that uses erasure coding and proactive data migration, ensuring zero-downtime recovery from hardware faults or natural disasters while serving billions of requests per second.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment