Database-as-IPC
In computer programming, Database-as-IPC may be considered an anti-pattern where a disk persisted table in a database is used as the message queue store for routine inter-process communication (IPC) or subscribed data processing.[src] If database performance is of concern, alternatives include sockets, network socket, or message queue.[src] British computer scientist, Junade Ali, defined the Database-as-IPC Anti-Pattern as using a database to "schedule jobs or queue up tasks to be completed", noting that this anti-pattern centres around using a database for temporary messages instead of persistent data.[src]
In computer programming, Database-as-IPC may be considered an anti-pattern where a disk persisted table in a database is used as the message queue store for routine inter-process communication (IPC) or subscribed data processing.[src] If database performance is of concern, alternatives include sockets, network socket, or message queue.[src] British computer scientist, Junade Ali, defined the Database-as-IPC Anti-Pattern as using a database to "schedule jobs or queue up tasks to be completed", noting that this anti-pattern centres around using a database for temporary messages instead of persistent data.[src] ==Controversy== The issue arises if there is a performance issue, and if additional systems (and servers) can be justified.[src] In terms of performance, recent advancements in database systems provide more efficient mechanisms for signaling and messaging, and database systems also support memory (non-persisted) tables.[src] There are databases with built-in notification mechanisms, such as PostgreSQL, SQL Server, and Oracle.[src] These mechanisms and future improvements of database systems can make queuing much more efficient and avoid the need to set up a separate signaling or messaging queue system along with the server and management overhead.[src] While MySQL doesn't have direct support for notifications, some workarounds are possible.[src] However, they would be seen as non-standard and therefore more difficult to maintain.[src] ==References==[src]
13 sentences · 13 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Database-as-IPC." encyclopegia.org, 2025, https://encyclopegia.org/wiki/database-as-ipc. Accessed 03 December 2026.
Chicago
"Database-as-IPC." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/database-as-ipc.
APA
encyclopegia.org. (2025). Database-as-IPC. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/database-as-ipc
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON