Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Turning Neo4j Into a Real-time Database

Blog post from PubNub

Post Details
Company
Date Published
Author
Anmol Agrawal
Word Count
1,430
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text discusses how to implement real-time updates in a railway reservations system using Neo4j, a leading graph database, in conjunction with PubNub for real-time capabilities. The project aims to address the issue of users facing delays and missed bookings when trying to reserve emergency Tatkal train tickets on the Indian IRCTC portal, a problem exacerbated by the high volume of daily e-ticket bookings and the time-sensitive nature of these reservations. Although Neo4j excels in read and write performance, it lacks intrinsic real-time update features, which the tutorial compensates for by employing PubNub to push live seat availability data to users via a web interface. The solution involves creating and managing nodes and relationships in Neo4j to represent trains and stations and using JavaScript for the client-side interface to instantly reflect changes in ticket availability. This setup demonstrates a step towards achieving a real-time database by effectively bridging the server and client sides for immediate data updates.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 19 91 27 12 -44%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.