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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:32:03+00:00 2026-06-08T03:32:03+00:00

A technology machine uses SQL Server Express to collect the data like temperature… The

  • 0

A technology machine uses SQL Server Express to collect the data like temperature… The database is updated say every several second (i.e. low trafic). The machine and its SQL Server must work independently on anything. Sometimes the technology computer (i.e. SQL Server) is switched-off with the machine.

The central SQL Server Standard Edition should collect the data form many machines like the above.

What scenario would you recommend?

  • The machine sends each new row of a table when it is created (i.e. each several seconds one row).
  • The machine activates the process of sending the data say each hour, and sends all the rows with the newly collected data.
  • Any other approach?

If I understand the Service Broker idea well, there will be a single name of the request message type, a single name of the reply message type, a single name of contract. The related databases on the SQL machines will each have one message queue, and the related service.

I am very new to Service Broker. The tutorial examples show how to send messages as XML fragments. Is it the real world way to send the rows of the table? How can I reliably convert the result of a SELECT command to the XML fragment and back?

Thanks, Petr

Attention: The related question Service Broker — how to extract the rows from the XML message? was created.

  • 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-08T03:32:05+00:00Added an answer on June 8, 2026 at 3:32 am

    I also recommend sending as the the database is updated, one message per row inserted (one message per statement, from a trigger as JAnis suggests, also works fine if your INSERT statements do not insert huge number of rows in a single statement).

    The reason why is better to send many small messages rather than one big message is that processing one XML payload on the RECEIVE is less efficient than processing many small XML payloads.

    I’ve seen similar deployments to what you’re trying to do, see High Volume Contigous Real Time Audit And ETL. I aslo recommend you read Reusing Conversations.

    Service Broker will handle very well the Express instance going on and off or being disconnected for long periods. It will simply retain the messages sent and deliver them once connectivity is restored. You just have to make sure the 10GB max database size limit of Express is enough to retain messages for as long as needed, until connectivity is back.

    What Service Broker will handle poorly is if the Express appears as different DNS names every time it connect back (think a laptop that connects from home, from office and from Starbucks). Service Broker uses database routing to send acks from central server to your Express instance and the routing require a static DNS. Also is important that the Express instance is reachable from the central server (ie. is not behind Network Address Translation). For a mobile instance (the laptop mentioned before) both the dynamic name and the fact that most time will connect from behind NAT will cause problems. Using a VPN can address the issues, but is cumbersome.

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

Sidebar

Related Questions

What technology is better to get communication server-to-server and between server-client? ZeroMQ, directly RPC?
JavaFX is a new technology introduced by Sun. I would like to know what
I ve an audio file in Server machine, how to stream it live to
Typically I use a database such as MySQL or PostGreSQL on the same machine
I am new to JavaFx technology, I would like to know whether I can
I've been reading quite a bit about Thrift and it looks like a technology
We (my company) runs a website which have lots of data recorded like user
Which technology should I use for data access layer? What's the best way of
We have a product built on the Client-Server architecture. Some details about the technology
What technology to use for chat? I would like to create an open connection.

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.