Jump to content

Database-as-IPC

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Chaos5023 (talk | contribs) at 16:13, 10 June 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer programming, Database-as-IPC is an anti-pattern where a database is used as the message queue for routine interprocess communication in a situation where a much more lightweight IPC mechanism, using sockets for example, would be suitable. Because using a database for this sort of message passing is extremely inefficient compared to other IPC methods and often introduces serious long-term maintenance issues, but enjoys a measure of popularity because the database operations are more widely understood than 'proper' IPC mechanisms, it is considered an anti-pattern.