Re:Ask HN: Do you need a distributed transactional database?
by cpach on Thursday June 27, 2024 @10:00AM
(#40810640)
Please don’t post output from ChatGPT or other LLMs here.
Doing so lessens the value of HN. People who post here expect thoughtful responses from actual human beings. For those who want an LLM answer, they can simply go to ChatGPT and input their question there.
Re:Ask HN: Do you need a distributed transactional database?
by codegeek on Thursday June 27, 2024 @10:41AM
(#40811044)
For a second, I was wondering why GP comment was downvoted ? On surface, it seemed informative and then after seeing your comment, I realized it was just copy/pasted from ChatGPT.
This is the danger we are in now with this stuff.
Re:Ask HN: Do you need a distributed transactional database?
by endisneigh on Thursday June 27, 2024 @12:22PM
(#40812236)
I’m curious how you can definitely say it came from a LLM
Re:Ask HN: Do you need a distributed transactional database?
by romanhn on Thursday June 27, 2024 @01:21PM
(#40812821)
The first tell is the "here's a bunch of bullet points on the topic" format which is classic ChatGPT. The second tell is that it is a generic comment that doesn't actually answer OP's question about concrete uses of distributed DBs. The third tell is that this person keeps submitting clear LLM output despite getting called out multiple times on it.
Fault Tolerance: Distributed databases can provide reliability and availability by copying data across multiple nodes, reducing the risk of losing data or downtime if hardware fails or networks have issues.
Consistency: Transactional databases ensure data consistency and integrity with ACID (Atomicity, Consistency, Isolation, Durability) properties, even in distributed setups where many transactions happen at once.
Latency: Consider how quickly your application needs to respond. Distributed databases might have higher delays than centralized ones due to network communication between nodes.
Complexity and Maintenance: Setting up and maintaining a distributed database can be harder than a regular centralized one. It needs expertise in distributed systems, dividing data, copying it, and keeping consistency across nodes.
Cost: Distributed databases could cost more to set up and keep running than regular databases, based on size and needed infrastructure.