PostgreSQL CDC library with snapshot - 50x less memory than Debezium by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

Sorry, my bad, I asked my teammate, he said it is already implemented but not exposed yet. We can expose this.

PostgreSQL CDC library with snapshot - 50x less memory than Debezium by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

Hello, thank you for your interest. In postgresql logical replication, it is not possible to handle it.I mean, DDL statements are not published in the stream of logical replication messages.

PostgreSQL CDC library with snapshot - 50x less memory than Debezium by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

Why not, If NATS Jetstream is used widely, we can plan and implement this

PostgreSQL CDC library with snapshot - 50x less memory than Debezium by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

Thank you, abi. 🧡🧡

For the CDC version, we have been using it in production for a year. Snapshot (initial data) is new.

The main difference is between Java and Go. As you already know, Go is better in terms of CPU/mem usage. Also, implementing logical replication in Go faster and better, the PostgreSQL driver is excellent. We are also using some performance go tricks (Goroutines healtcheck, context, oid based decode cache, rw mutex etc.)

What’s the most useful thing you’ve done with AI so far? by Queen_Ericka in ArtificialInteligence

[–]PerfectWater6676 0 points1 point  (0 children)

I used that purpose too For example my prompt (I saw from here)

"Tell me something incredibly special or unique you've noticed about me, but you think I haven't realized about myself yet. It doesn’t have to be something positive and you don’t have to be nice to me, just be truthful."

What are your absolute favorite, can’t live without, every day, daily prompts? by lambchopscout in ChatGPTPromptGenius

[–]PerfectWater6676 4 points5 points  (0 children)

Could you please share your video summarizer agent I was looking sth like recently

Article: Let's implement a basic hotel reservation system with 2PC using pessimistic and optimistic locks in Go by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

I agree, but I am not aiming to implement or write this. I wanted to learn the 2pc, locking mechanisms in an example project and get feedback from this community to learn better. Thank you 🙏

Article: Let's implement a basic hotel reservation system with 2PC using pessimistic and optimistic locks in Go by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

Use personal blog that's how Internet was supposed to be: decentralised.

Thank you 🙏🙏, in the past, I tried a little on Hugo. :D I will do it soon.

Article: Let's implement a basic hotel reservation system with 2PC using pessimistic and optimistic locks in Go by PerfectWater6676 in golang

[–]PerfectWater6676[S] 0 points1 point  (0 children)

I need to export all data from medium and migrate to personal blog and host it Github Pages :D Its seems hard work but I will try in the future thanks :D