SShortSingh.
Back to feed

SQL, NoSQL and NewSQL: How the Three Database Models Differ

0
·29 views

Relational databases long forced a choice between SQL transactions on a single server and horizontal scale through NoSQL systems that give up joins or strong consistency. NewSQL, also called distributed SQL, aims to combine the SQL interface and ACID guarantees with data spread automatically across many nodes. The overview compares traditional SQL systems like PostgreSQL and MySQL, NoSQL stores such as MongoDB and Cassandra, and distributed options like Spanner and CockroachDB across data models, consistency, and write scaling. It notes that stronger consistency in distributed systems adds latency because replicas must reach agreement, and that NoSQL scalability depends heavily on schema design. It also cautions that a single well-tuned relational server suffices for many applications and that distributed SQL compatibility is incomplete.

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 ·

Keycloak Operator Flaw CVE-2026-137944 Exposes Proxy Credentials in Kubernetes

CVE-2026-137944 is a credential-disclosure flaw in the Red Hat Build of Keycloak Operator, which runs inside Kubernetes and manages Keycloak services. The operator does not normally expose a public web listener, so internet searches for Keycloak reveal identity services but cannot show whether the operator itself is affected. The article argues that the real risk lies in the cluster's control plane, where proxy values may be copied into StatefulSet specs in plain text. Recommended steps include reviewing RBAC and audit logs, rotating proxy passwords if clear values were exposed, verifying the vendor fix, and adding policies that flag credential-bearing URLs in workload environment variables.

0
ProgrammingDEV Community ·

Python DNS Automation: When Mail Evidence Justifies a Provisioning Pipeline

The article argues that a property management platform should verify mail authentication before automating DNS record changes for customer domains. It suggests keeping occasional, reviewed changes in manual consoles until a repeatable verification process exists. Automation is justified when onboarding repeatedly collects the same evidence and applies the same approval rules. The author stresses that DMARC alignment, not just a passing SPF or DKIM check or a DNS screenshot, is the key evidence to preserve. Verification records should keep the relevant identifiers, alignment mode, and result source for operator review.

0
ProgrammingDEV Community ·

Developer builds random video chat with WebRTC, Socket.IO and Redis, and shares production bugs

A developer describes building Chaface, a free 18+ random video chat service that runs in browsers and on Android. The architecture uses React and TypeScript on the frontend, Node.js with Socket.IO for signaling, Redis for matching queues, and PostgreSQL for storage. Video and audio flow directly between users when possible, with a self-hosted TURN server relaying media only when needed. The author explains that matching works through Redis lists, and that country filters could leave small user bases in empty queues, which was fixed with a priority cascade. The post focuses on real-world lessons such as avoiding fallback logic that skips people who are waiting.

0
ProgrammingDEV Community ·

Diagnosing Corrupted Marketplace Archive Downloads Caused by Multipart Upload Gaps

A corrupted ZIP download can be traced back through the upload manifest to determine whether the stored object is complete. The recommended approach is to compare the file's length against the source export, then check the download response, the published object, the completion record, and the numbered parts in turn. Upload sessions and catalog records should stay separate, with download links issued only after completion and verification succeed. Parallel uploads require completion to sort parts by their assigned numbers, and retries should reuse part numbers and consult persisted manifests to avoid ambiguous objects. Download responses also need an intentional cache policy suited to private content.