Deerwalk

JOURNAL OF COMPUTER SCIENCE & TECHNOLOGY

SOCKETDB: DBMS WITH DATA STREAMING VIA WEBSOCKETS

Keywords: Database; DBMS; WebSockets; SQL; storage; relational algebra

Authors:
Abhinav Gyawali -

Published Date: 2024-09-10

ABSTRACT

This project introduces SocketDB, a novel real-time SQL database system specifically engineered to meet the evolving demands of contemporary applications requiring instantaneous data updates and robust query processing capabilities. By integrating a WebSocket-based notification system, SocketDB offers a unique approach, allowing clients to subscribe and instantly receive updates, thus facilitating real-time interactions and analytics. Built on a columnar data layout, it ensures efficient query performance and storage optimization, particularly beneficial for read-intensive scenarios. The core of SocketDB is enhanced by a recursive descent SQL parser, enabling comprehensive support for a wide array of SQL operations, making it highly adaptable to complex data manipulation needs. Additionally, SocketDB incorporates advanced features such as data compression with the Zstandard algorithm, ensuring reduced storage footprint without compromising access speed. Embedded fault tolerance mechanisms and scalable infrastructure further reinforce its reliability and applicability in diverse environments. Aimed at developers and businesses alike, SocketDB is poised to transform real-time data handling, offering a scalable, efficient, and user-friendly platform for dynamic data management and analysis.

REFERENCES

[1] ‘SurrealDB | The ultimate multi-model database’, SurrealDB [Online]. Available: https://surrealdb.com/ [Accessed: 20-Sept-2023] [2] Gaffney, Kevin & Prammer, Martin & Brasfield, Larry & Hipp, D. & Kennedy, Dan & Patel, Jignesh. (2022). SQLite: past, present, and future. Proceedings of the VLDB Endowment. 15. 3535-3547. 10.14778/3554821.3554842. [3] Gjengset, Jon & Schwarzkopf, Malte & Behrens, Jonathan & Araújo, Lara & Ek, Martin & Kohler, Eddie & Kaashoek, M & Morris, Robert. (2018). Noria: dynamic, partially- stateful data-flow for high-performance web applications [4] M. Budiu, F. McSherry, L. Ryzhyk, and V. Tannen, "DBSP: Automatic Incremental View Maintenance for Rich Query Languages," 2022. [Online]. Available: arXiv:2203.16684 [cs.DB].


(Total Views: 30)