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

  • Home
  • SEARCH
  • 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 70529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:44:42+00:00 2026-05-10T19:44:42+00:00

I’ve been experiencing the good and the bad sides of messaging systems in real

  • 0

I’ve been experiencing the good and the bad sides of messaging systems in real production environments, and I must admit that a well organized table or schema of tables simply beats every time any other form of messaging queue, because:

  1. Data are permanently stored on a table. I’ve seen so many java (jms) applications that lose or vanish messages on their way for uncaught exceptions or other bugs.
  2. Queues tend to fill up. Db storage is virtually infinite, instead.
  3. Tables are easily accessible, while you have to use esotic instruments to read from a queue.

What’s your opinion on each approach?

  • 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. 2026-05-10T19:44:43+00:00Added an answer on May 10, 2026 at 7:44 pm

    The phrase beats every time totally depends on what your requirements were to begin with. Certainly its not going to beat every time for everyone.

    If you are building a single system which is already using a database, you don’t have very high performance throughput requirements and you don’t have to communicate with any other teams or systems then you’re probably right.

    For simple, low thoughput, mostly single threaded stuff, database are a totally fine alternative to message queues.

    Where a message queue shines is when

    • you want a high performance, highly concurrent and scalable load balancer so you can process tens of thousands of messages per second concurrently across many servers/processes (using a database table you’d be lucky to process a few hundred a second and processing with multiple threads is pretty hard as one process will tend to lock the message queue table)
    • you need to communicate between different systems using different databases (so don’t have to hand out write access to your systems database to other folks in different teams etc)

    For simple systems with a single database, team and fairly modest performance requirements – sure use a database. Use the right tool for the job etc.

    However where message queues shine is in large organisations where there are lots of systems that need to communicate with each other (and so you don’t want a business database to be a central point of failure or place of version hell) or when you have high performance requirements.

    In terms of performance a message queue will always beat a database table – as message queues are specifically designed for the job and don’t rely on pessimistic table locks (which are required for a database implementation of a queue – to do the load balancing) and good message queues will perform eager loading of messages to queues to avoid the network overhead of a database.

    Similarly – you’d never use a database to do load balancing of HTTP requests across your web servers – as it’d be too slow – if you have high performance requirements for your load balancer you’d not use a database either.

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

Sidebar

Ask A Question

Stats

  • Questions 59k
  • Answers 59k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Solved the problem by using Chris Pietschmann's instructions to Convert… May 11, 2026 at 9:02 am
  • added an answer If you're creating stuff and then passing it to be… May 11, 2026 at 9:02 am
  • added an answer In Script.aspx.cs, you can simply check the Request.Path in comparison… May 11, 2026 at 9:02 am

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.