Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:51:44+00:00 2026-05-28T06:51:44+00:00

I started to develop an application which consists of two parts. The whole system

  • 0

I started to develop an application which consists of two parts. The whole system acts as a digital signage application. Everything is located at one physical machine.

First component is an administration backend for the content management. Users can schedule and upload multimedia files. This is web based thing available via browser.

The second part is a media player. Its task is basically to load data which people uploaded and display them. Metadata for those are saved in a database (e.g. how long should it display this picture, what goes next …) and physical data in the filesystem since it is all on the same machine.

All related data are stored in PostgreSQL database. There are basicaly schedule information + filesystem paths of content – not their binary form.

There is a socket connection through local loop between those two. There is some really simple communication and command parsing (status check, exit, refresh content). If user uploads and schedules new content or changes current one via webbased backend – a message via socket is sent to media player which tells him to build a new schedule.

However as soon as player recieves a message to check for new content, it loads scheduling data from database.

I would like to know if this is considered as a Database as an IPC antipattern? If yes what would be better ways of solving it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:51:44+00:00Added an answer on May 28, 2026 at 6:51 am

    Does not sound like it at all to me. The scheduling data is something persistent, no? Schedules can be recurring, last for a long time? Getting them from the database is fine.

    “Database as IPC” would be if you sent “messages” by inserting say, an “exit”-row in the database and the media player decided when to exit by querying that table and checking for an “exit message” in it every 15 seconds or something.

    There’s nothing wrong with Process A inserting data, then sending a message to Process B that says “I have created new data you may be interested in” as long as the data you created is actually persistent data that belongs in a database. It’s only a problem if what you’re putting in the database isn’t actually persistent data and you’re just using is as a transient intermediate step.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop logging system in OSGI bundle which can write application errors
I'm developing an application which has two main 'parts' to it... The public facing
I started to develop an Android application, and I would like to run a
I have a Git repository which I have started to develop on master branch
I want to develop an application in which if a method is in execution
I have just started to develop android application yesterday and having a great fun
As I'm just starting to develop an iPad application & have started getting used
I've started the development of a windows application, which target windows 7 and vista
I develop an Eclipse RCP application which makes heavy use of OSGi bundles which
I started develop a distributed application and we have a big dilemma! We need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.