TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Leveraging the lightcone around the source of truth with Postgres

9 pointsby BenoitEssiambre7 months ago

2 comments

jimkoen6 months ago
&gt; The more logic happens near the db, the more surface for errors and edge cases can be reduced and reliability issues avoided. The reduction in distances may also result in improved abstractions and in making the computations efficient in a fundamental thermodynamic way.<p>Fundamentally this sounds great, but isn&#x27;t this rather painful with Postgres?<p>In my DB lectures in Uni I&#x27;ve been informally told to avoid managing logic from within Postgres, as the development and debugging experience for stored procedures is rather poor. I would add to this the painfully slow development cycles for third party language implementations such as plv8. In addition, platform support is next to none, because language extensions cannot load external code due to the trusted nature of the execution environment.
评论 #42113128 未加载
评论 #42113023 未加载
javajosh6 months ago
<i>&gt;The fact that persistent storage has to happen at the same place to be reliable is only incidental, not a defining attribute of a relational database.</i><p>Persistence happens to processes who&#x27;s state is expensive to reconstruct. Measurements of the world requires time travel to recover and so are quite expensive to acquire! &quot;Incidental&quot; implies a weaker correlation than warranted.<p>As an aside, ~100% of data models are incapable of modelling contradictary or ambiguous measurements and fail to adequately model alternative normalization and integration into whatever model of &quot;truth&quot; you pick. And these systems entirely fall over when any part of these tacit and underspecified constraints change.
评论 #42144140 未加载