SShortSingh.
Back to feed

How SellerVai Built a Webhook Architecture to Handle Flash Sale Message Surges

0
·1 views

SellerVai is a Bangladesh-based automated sales platform that manages customer orders via WhatsApp, Facebook Messenger, and Telegram in Bengali and Banglish. The platform addresses a common South and Southeast Asian e-commerce pattern where purchases happen entirely through chat rather than traditional online storefronts. A key engineering challenge was preventing message loss and duplication caused by Meta's webhook retry mechanism when responses are delayed. The team solved this by separating message receipt from processing — the webhook only verifies and acknowledges delivery, while a Redis-backed queue handles all conversation logic asynchronously. During a promotional campaign that drove 15 times normal traffic, the architecture kept webhook endpoints responsive and processed the backlog without duplicate orders or missed messages.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why FutureBuilder and StreamBuilder Are Considered Flutter Anti-Patterns

Flutter's FutureBuilder and StreamBuilder widgets are widely used by developers to handle asynchronous data directly inside the UI layer, but experienced engineers argue this approach creates serious architectural problems at scale. Placing async logic inside a widget's build() method violates the core Flutter principle that UI should be a pure, synchronous projection of state, leading to unintended side effects. Common symptoms include duplicate network requests triggered by keyboard events, flickering sibling widgets, and full-screen reloads caused by simple user interactions like typing. The pattern also makes automated testing significantly harder, requiring complex workarounds with fake async timers and repeated pump calls. Experts recommend pushing asynchronous boundaries away from the presentation layer entirely, using state management solutions such as AsyncSignal, CubitSignal, or BlocSignal to keep widgets clean and testable.

0
ProgrammingDEV Community ·

Developer Builds Verifiable AI Agent Succession System Using Google Cloud Tools

A developer created Continuum, a system designed to ensure AI agents can hand off unfinished obligations to successor agents without losing verified context. The project was built for the All Things Agentic Hackathon and uses Google ADK, Gemini, and Cloud Tasks as core infrastructure. A synthetic €250,000 supplier-onboarding scenario was used as a reference case to test whether critical deadlines and obligations survive agent failure. The system produces five content-addressed control artifacts and uses a three-valued verification result — VERIFIED, FAILED, or INCONCLUSIVE — to distinguish genuine continuity from mere task replay. A secondary component called the Antibody Foundry generates multimodal outputs via Veo and Lyria only after a verifier confirms a VERIFIED result, enforcing a strict causal chain throughout the pipeline.

0
ProgrammingDEV Community ·

New Caledonia Launches HackAVP Hackathon to Improve Public Sector Job Access

HackAVP is a seven-week hackathon co-organised by OPT-NC, Station N, and the OPEN NC Data & AI commission, aimed at making public sector job listings in New Caledonia more accessible and user-friendly. The event kicks off on Wednesday, 9 September at 5:00 PM at Station N, with no prior registration required and teams formed on the day. The hackathon builds on a newly structured open data infrastructure in which OPT-NC's job vacancy notices are now normalised to schema.org/JobPosting format, exposed via an API, and accessible through an MCP server. Participants — including developers, students, designers, and HR professionals — are invited to build services that improve recruitment readability or find new uses for the public dataset. Finalists will present their projects live at TECH'N CO on 4 November, with all teams required to publish a documented article on DEV Community.

0
ProgrammingHacker News ·

Study Models Worst-Case Flood Risks From Himalayan Glacial Lakes

A 2022 scientific study published in Natural Hazards and Earth System Sciences examined worst-case glacial lake outburst flood scenarios in a transboundary Himalayan river basin. Researchers modeled the potential scale and impact of floods that could result from the sudden release of water stored in glacial lakes. Such events pose serious risks to downstream communities across national borders in the Himalayan region. The study contributes to growing scientific efforts to assess climate-related hazards in high-mountain environments shared by multiple countries.

How SellerVai Built a Webhook Architecture to Handle Flash Sale Message Surges · ShortSingh