Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / November 2006

Tip: Looking for answers? Try searching our database.

MSMQ question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric - 02 Nov 2006 22:25 GMT
I’m developing an application that I need to be able to push an alert to
thousands (approx 8k) machines.  I’ve looked into multi casting to save
network utilization but the loss of packets makes it unreliable, I need to be
certain the message is delivered.   Do you think it would be viable to use
MSMQ to push an alert to so many machines?  I’m also concerned how the
queuing system works.  If I send out 8,000 messages and half are not
available does MSMQ ping the machines until they are available?  How does it
know when it can send the message?  Thanks
eAndy - 09 Nov 2006 05:52 GMT
Hi Eric,

Can you tell us a little more about the requirements?

What's your performance budget?  (i.e. send 8K messages over 2 days or 12
seconds).
What are the priorities? i.e. Is guaranteed delivery more important than
speed or vice versus, or are they equally as important.
How big are the messages (8 bytes? 8K? 1MB?)

If you decide to use MSMQ and need guaranteed delivery you're going to need
to use transactions to ensure the messages move between queues. Planning the
deployment of the queues and servers and authn/Authz and A/D could be complex
or not so bad depending on a lot of the previous questions.

Alternatively I have wrapped a custom TCP server that can service thousands
of clients quickly. Make sure you use the thread pool, there are samples in
the sdk that show how to do async IO. Our messages were very small and it
scaled nicely.

eAndy
==================

> I’m developing an application that I need to be able to push an alert to
> thousands (approx 8k) machines.  I’ve looked into multi casting to save
[quoted text clipped - 4 lines]
> available does MSMQ ping the machines until they are available?  How does it
> know when it can send the message?  Thanks
Eric - 09 Nov 2006 15:15 GMT
Hi eAndy,
The messages are small, I think around 4k.  Speed and guaranteed delivery
are probably the most important.  We'd like to have all 8k clients receive
the message under 15 min.  I've tested transaction messages but they take too
long to send, so I'll probably have to use non transaction private queues.  
The thing that makes me want to use MSMQ is the fact that it will handel
queueing, message expiration, and unavailable clients.  I'd like to try the
TCP socket solution, do you have any code samples?  Thanks

Eric

> Hi Eric,
>
[quoted text clipped - 27 lines]
> > available does MSMQ ping the machines until they are available?  How does it
> > know when it can send the message?  Thanks
eAndy - 21 Nov 2006 22:10 GMT
You might also check out the Spread toolkit http://www.spread.org
Signature

====================

eAndy

====================

> Hi eAndy,
> The messages are small, I think around 4k.  Speed and guaranteed delivery
[quoted text clipped - 38 lines]
> > > available does MSMQ ping the machines until they are available?  How does it
> > > know when it can send the message?  Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.