Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imor80
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
1.
▲
by
imor80
1y ago
There are two levels on which this argument feels weak: * The author is confusing memory safety with other kinds of safety. This is evident from the fact that they say you can write unsafe code in GC languages like python and javascript. un
2.
▲
by
imor80
1y ago
Interested to know how it compares with PgDog: https://pgdog.dev/
3.
▲
by
imor80
2y ago
A lot of what you say is explained in detail in Martin Kleppmann's article[0]. As you said, there's no guarantee about when the lock will expire. The proper solution for this is a fencing token. The idea is similar to how people h
4.
▲
by
imor80
2y ago
Not yet, but it is planned for the future. We'd need to pick one of the two options you suggested.
5.
▲
by
imor80
2y ago
These days, for writing extensions/FFI pgrx[0] is the best crate. [0] https://github.com/pgcentralfoundation/pgrx
6.
▲
by
imor80
2y ago
Please do share your experience using pg_replicate as feedback once you integrate with windmill.
7.
▲
by
imor80
2y ago
pg-bifrost looks solid. > Have you thought about / have solved sharding consumption across multiple slots / multi consumers to increase throughput? Not yet, there has been not performance yet, as the project is still quite youn
8.
▲
by
imor80
2y ago
Thanks for trying out, I'll update the code and/or the README to fix this.
9.
▲
by
imor80
2y ago
Agree, Rust and Postgres and a perfect match. It feels so much more productive to write Postgres tooling in Rust. E.g. we already have extensions like pg_graphql[0], pg_jsonschema[1] and wrappers[2] which use pgrx. We don't have plrust
10.
▲
by
imor80
2y ago
Yes, logical replication complements very nicely the normal way of interacting with the database via queries. This inverted flow makes those apps possible which were hard/impossible to build with just queries.
11.
▲
by
imor80
2y ago
> I’m curious in your experience how many clients can run pg_replicate at once? I'd expect more clients to put more pressure on the resource usage on the db. But it's not clear whether the relationship between number of clients
12.
▲
Show HN: Pg_replicate – Build Postgres replication applications in Rust
(github.com)
216 points
by
imor80
2y ago
|
28 comments
13.
▲
by
imor80
2y ago
Hey HN, For the past few months, as part of my job at Supabase, I have been working on pg_replicate. pg_replicate lets you very easily build applications which can copy data (full table copies and cdc) from Postgres to any other data system
14.
▲
by
imor80
2y ago
I'd have definitely liked if the demo video was at least 1080p.
15.
▲
Postgres Roles and Privileges
(supabase.com)
12 points
by
imor80
2y ago
|
1 comments
16.
▲
by
imor80
2y ago
A follow along, tutorial style, guide to understanding how roles and privileges work in Postgres.
17.
▲
by
imor80
3y ago
Copy and Clone traits have different semantics. Copy is only for bitwise (and cheap) copies. Clone is for explicit, potentially expensive copies. Also what entails cloning differs from type to type. String, for example, needs to duplicate t
18.
▲
by
imor80
3y ago
https://hashrust.com/ I write about the Rust programming language. I basically write about whatever I learn in Rust. This not only helps cement my understanding of the topic but hopefully helps others as well.
19.
▲
A guide to closures in Rust
(hashrust.com)
170 points
by
imor80
3y ago
|
99 comments
20.
▲
Creating social sharing images in Rust
(hashrust.com)
1 points
by
imor80
5y ago
|
0 comments
21.
▲
by
imor80
5y ago
You mean "Parse, don't validate" right?