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

⚡ProductiviteBeginnerAll AIs

Prompt to Write a Professional Quote Request Email

A complete prompt to generate a structured, professional and customizable quote request email adapted to your industry and recipient.

334
⚡ProductiviteBeginnerAll AIs

Convert CSS to Tailwind

Migrate from standard CSS to Tailwind CSS

343
⚡ProductiviteIntermediateAll AIs

Sora Prompt for Brainstorming Ideas

Sora, OpenAI's video generation model, is not limited to creating finished clips. It's a powerful tool for brainstorming visual ideas, exploring creative concepts, and bringing still-abstract visions to life. By crafting exploratory prompts, you can use Sora as a visual thinking partner: test atmospheres, narrative styles, artistic directions, or scene setups before committing to a full production. Whether you're a filmmaker, art director, content creator, or entrepreneur, this approach lets you quickly generate video mockups that serve as starting points for your projects. The key advantage is iteration speed: where a traditional storyboard takes hours, Sora delivers a first visualization in seconds. You can explore ten creative directions in the time it would normally take to develop just one. The prompts presented here are designed to maximize result diversity and stimulate your creativity, rather than produce a perfect final render.

281
⚡ProductiviteBeginnerAll AIs

Non-Disclosure Agreement (NDA)

NDA

448