---
title: "Discussion on \"Real-time data replication in Postgres and Node.js\" | Hashnode"
description: "Discussion on \"Real-time data replication in Postgres and Node.js\". Understand how to do a real-time data replication in Postgres with Node.js"
url: "https://hashnode.com/posts/real-time-data-replication-in-postgres-and-nodejs/665038a496f3e57f2901039b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Real-time data replication in Postgres and Node.js](https://backend.cafe/real-time-data-replication-in-postgres-and-nodejs?utm_source=hashnode&utm_medium=feed)

Understand how to do a real-time data replication in Postgres with Node.js

May 24, 2024 · 10 min read · backend.cafe  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#realtime](https://hashnode.com/tag/realtime)

## Written by

[Manuel Spigolon](https://hashnode.com/@Eomm)

@Eomm · Italy

  
[View profile](https://hashnode.com/@Eomm)

Developer

I'm Manuel and I work at NearForm as a Full Remote Software Developer from 🇮🇹 Italy. I'm one of the Fastify maintainers since 2019. Contributing to Open Source Software teaches me something new every day. You should join this extraordinary world.

## Responses 1

Markdown supported · ⌘↵ to post

[Tushar Barate](https://hashnode.com/@tushar86)

[May 27, 2024](https://hashnode.com/posts/real-time-data-replication-in-postgres-and-nodejs/665038a496f3e57f2901039b/comment/6654159ba9e020a6ef383b61)

Can logical replication be implemented to data from root table to partioned leaf table?

eg. Root table is publisher and leaf partitioned tbale are subscribers.

Can this possible?

[Manuel Spigolon](https://hashnode.com/@Eomm)

[Jan 20, 2025](https://hashnode.com/posts/real-time-data-replication-in-postgres-and-nodejs/665038a496f3e57f2901039b/comment/6654159ba9e020a6ef383b61#reply-678e6856125256a88ff456b1)

In the `logical replication` your code get the data event and at that stage you can do what you want, such as writing the data back to another table.

[Purity Nzao](https://hashnode.com/@Puritynzao)

[May 26, 2024](https://hashnode.com/posts/real-time-data-replication-in-postgres-and-nodejs/665038a496f3e57f2901039b/comment/66538bea52f34d01efbff7c2)

ALPHA KEY, A LICENCED CRYPTO RECOVERY HACKER, IS A GREAT REFERENCE

I can't stand to say that I truly appreciate the work and effort you put into my case. After being conned by two different recovery hackers, I woke up to find that almost everything had been taken from me. If I were to recommend a legitimate recovery hacker on Earth, I would recommend ALPHA KEY RECOVERY; they are the best so far. For any kind of recovery concerns, get in touch with ALPHA KEY RECOVERY HACKER EXPERT right now. Contact info Email: Alphakey@consultant.com WhatsaApp :+15714122170 Signal:+18622823879 Telegram: Alpha Key Recovery Website : [dev-alpha-key.pantheonsite.io](https://dev-alpha-key.pantheonsite.io/)
