Urgent.News

What's breaking now, across thousands of outlets.

Tech

What fields does a product have? The question that breaks your schema

Try to design the products table for a store. A laptop needs RAM, processor, and inches. A bicycle needs size, material, and number of speeds. A book needs pages and language. None of those fields are useful for the other two. In class, the answer is known: you normalize, create an attributes table with key-value pairs, and live with the JOINs. It works. It also gives me…

Translated from Spanish Read in Spanish

A developer designed a product catalog using Couchbase Capella, deploying it on Render with a GitHub Actions pipeline. The catalog stores products with varying attributes in a single collection, without a predefined schema. The developer used SQL++ to query the data, demonstrating its flexibility in handling nested JSON documents.

They showcased three use cases: combining filters in a single query, searching by a field determined at runtime, and performing aggregations. The project is available on GitHub and can be accessed online.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Message Queue Timeout Issues in Delayed Webhook Delivery for Node.js

Use a delayed queue to wake up reservation expiry, then let a retryable worker make the final decision. The operational rule is simple: set a bounded consume timeout, record why a webhook was slow…

  • Message queue timeouts can disrupt delayed webhook delivery in fintech systems.
  • Logging reservation ID, attempt count, and timeout details aids troubleshooting.
  • Idempotency key prevents multiple processing of the same reservation.

More from Saturday 24 October →