P
ProductiviteAdvancedAll AIs

Designing a Real-time Notification System

Implementing real-time push notifications

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Design a real-time notification system for [NUMBER_OF_CONCURRENT_USERS] concurrent users. Compare WebSockets, Server-Sent Events, and Long Polling for my use case. Provide the architecture including: the [Node.js/Go/other] server, unread notification storage, reconnection handling, horizontal scaling, and code examples for both server and client.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Implementing real-time push notifications

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Préférez SSE si vos notifications sont unidirectionnelles (serveur→client) et WebSocket pour bidirectionnelles. Pour le scaling horizontal, centralisez les connexions avec Redis Pub/Sub : chaque instance écoute un canal et relaye aux clients connectés. Gérez les reconnexions avec des IDs de session et une file FIFO côté serveur.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

ProductiviteIntermediateAll AIs

Midjourney Prompt for Creating a Presentation

Midjourney is a powerful tool for generating striking visuals that transform your professional presentations. Instead of being limited to generic stock images or standard PowerPoint templates, you can create custom illustrations, consistent backgrounds, and unique graphic elements that capture your audience's attention. Whether you're preparing a pitch deck for investors, an internal presentation, or training materials, Midjourney lets you produce visuals aligned with your brand identity and message. The main challenge is maintaining visual consistency across all slides: same color palette, same graphic style, same level of detail. A good Midjourney prompt for a presentation must therefore specify not only the image subject, but also the artistic style, the slide-appropriate format, the dominant colors, and the desired mood. In this guide, you'll find an optimized main prompt along with variants suited to your level of expertise, to create visually memorable presentations that enhance your credibility and make your key ideas easier to understand.

0252
ProductiviteBeginnerAll AIs

Write an Impactful Professional Apology Email

This prompt generates a structured professional apology email adapted to context, preserving credibility and the relationship with the recipient.

0400
ProductiviteIntermediateAll AIs

Mistral Prompt to Optimize a Workflow

Mistral, the leading French AI model, excels in analyzing and optimizing business processes. With its deep understanding of context and its ability to structure actionable recommendations, Mistral is a powerful ally for identifying bottlenecks, eliminating redundancies, and streamlining your workflows. Whether you are looking to optimize an internal validation process, a content production chain, or a data pipeline, a well-crafted prompt allows Mistral to map your current flow, detect inefficiencies, and propose concrete improvements with measurable gains. The approach involves providing the model with a precise description of your existing workflow—steps, actors, tools, timelines—and then requesting a systematic analysis followed by prioritized recommendations. This methodology turns Mistral into an operational consultant capable of handling in a few seconds what would take hours of manual auditing. In this guide, you will find an optimized primary prompt, variants adapted to your level of expertise, and practical tips to get the most out of Mistral in your continuous improvement projects.

0218
ProductiviteIntermediateAll AIs

Diverse Question Bank

Question Bank

0208