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 8449517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:43:50+00:00 2026-06-10T10:43:50+00:00

I have a rails app that integrates to a Legacy MS SQLServer based system.

  • 0

I have a rails app that integrates to a Legacy MS SQLServer based system. I need to create some kind of publish subscribe where by the Legacy SQLServer generates events, and the Rails app subscribes to the events.

The events I need to generate will be caused by users of the Legacy Application, Observers won’t help. Basically I need to detect a table insert caused by the Legacy App and broadcast that to the rails app.

I can set up TRIGGERS on the Legacy SQLServer that can ultimately call something via xp_cmdexec.

I figure some kind of Ruby based pub/sub gem where a ruby executable on the SQLServer box (In Back Office) can publish the events, and the Rails (in the Cloud) app can subscribe to them. Performance is not a concern, average of 10 to 30 table inserts PER DAY! I control the firewall, so I can get any protocol through.

I have lot’s of the Legacy SQLServer tables defined in the rails app through the SQLServer adapter, but the rails app doesn’t generate the table inserts I’m interested in.

I’ve seen hookr, ants, ruby-mqtt, then I started seeing many many more :<

Anybody have a recommendation?

  • 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-06-10T10:43:52+00:00Added an answer on June 10, 2026 at 10:43 am

    If responsiveness is not the primary concern, it may be easiest to have the Rails app poll for new records every so often. If the database has timestamps or at least autoincrement IDs you can be sure to process only the new ones. Otherwise you’ll have to use a record count.

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

Sidebar

Related Questions

I have a Rails app that does everything I need it to do via
We have a Rails app that has some pages that are available to all
I have some additional scripts that I've written outside of my Rails 3.1.x app,
I have a Rails app that is running on port 8080 that I need
I have a Rails 3 app that I'm looking to create in-house analytics for.
I have a rails app that has some simple functionality, allowing the user to
I have a Rails app that I need to deploy. Here are the facts:
I have a Rails app that will post some data to another Rails app.
I have a rails app that generates a webpage with some reports (Google charts
I have a rails app that shows statistics based on an employee's daily production.

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.