473,511 Members | 10,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Message Queuing

Did anybody use this Message Queuing and knew all details about it? What's
the physical limit of this Message Queuing system, number of messages,
mbytes, message size? Where it stores messages, RAM, DISK? Do we lose
everything if the machine is just rebooted or we can save all messages on
disk to send them later where we're on line?

Just D.

Nov 16 '05 #1
4 5207
They are not listed when the system is rebooted. Here are
a few samples:

http://www.eggheadcafe.com/articles/20041204.asp
http://www.eggheadcafe.com/articles/20021221.asp
http://www.eggheadcafe.com/articles/20021125.asp

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Just D." <no@spam.please> wrote in message
news:x_1Zd.53085$xt.25689@fed1read07...
Did anybody use this Message Queuing and knew all details about it? What's
the physical limit of this Message Queuing system, number of messages,
mbytes, message size? Where it stores messages, RAM, DISK? Do we lose
everything if the machine is just rebooted or we can save all messages on
disk to send them later where we're on line?

Just D.

Nov 16 '05 #2

Hi!

"Just D." <no@spam.please> wrote in message
news:x_1Zd.53085$xt.25689@fed1read07...
Did anybody use this Message Queuing and knew all details about it?
- I have and I know some details.
What's the physical limit of this Message Queuing system, number of
messages, mbytes, message size?
- How long is a string? I have no hard statistics at all, but on a fairly
new server I haven't yet had any problems with scalability regardring cpu,
memory and disk; - It simply just works...=)

If you need to scale just throw in another server and randomly hit them.
Should not be a problem.
Where it stores messages, RAM, DISK? Do we lose everything if the machine
is just rebooted or we can save all messages on disk to send them later
where we're on line?
- This is the beauty with message queueing. It gives you 'reliable
transmission' i.e. if you send a message on the queue it will only signal
success if was stored reliable on the queue. Also a message received is not
removed from the queue if it has not been trasnmitted correctly. Same as a
database management system like SQL Server.

Hence, you could very much pull the plug on a computer with a message queue.
The queue start up ok when you turn the power back on and no messages will
be lost or sent twice.

Just D.


There was rumours that older versions of MSMQ was unreliable. Not sure that
is true.
But, I've tried working with old MSMQ via COM in C++, and it was a
nightmare.
I'll never do that again! Ever!. =)

With .NET; working with MSMQ is so very elegant and easy that I tend to use
MSMQ more and more in my solutions. In the future, with longhorn and the
indigo framework, queuing will be used even more for handling async
webservices.

Regards
- Michael S

Nov 16 '05 #3
MSMQ has seen a significant evolution over the years, and your questions are
valid ones.

In order to get good information about MSMQ, you will need to ask about the
specific version of the OS on which you intend to use MSMQ.
See
http://www.microsoft.com/windows2000...mq/default.asp
for links to detailed information on each version.

For current versions of MSMQ, there is a 4MB limit on the size of an
individual message if it is in ASCII, or a 2MB limit if it is in Unicode.
MSMQ messages are stored in the filesystem in memory-mapped files, so
rebooting your PC will not delete the messages.
There is no limit on the number of messages. However, if you have a large
volume of messages open at one time, you may want to adjust specific
settings to allow virtual memory to be reclaimed more frequently than the
default (which is something like '6 hours').

You do not need to save messages to make MSMQ reliable. It is already
reliable.

With Indigo, many of these statements will not be valid, so I strongly
encourage you to read up on the Indigo framework if you intend to make use
of it.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Just D." <no@spam.please> wrote in message
news:x_1Zd.53085$xt.25689@fed1read07...
Did anybody use this Message Queuing and knew all details about it? What's
the physical limit of this Message Queuing system, number of messages,
mbytes, message size? Where it stores messages, RAM, DISK? Do we lose
everything if the machine is just rebooted or we can save all messages on
disk to send them later where we're on line?

Just D.

Nov 16 '05 #4
menahem
1 New Member
"For current versions of MSMQ, there is a 4MB limit on the size of an
individual message if it is in ASCII, or a 2MB limit if it is in Unicode."
that of course, is completely wrong.
The size limit is 4MB and the format of the data inside is irrelevant.

what i think you meant is that you can put 1/2 the amount of chars in a MSMQ maessage using unicode than when using ASCII. (this is due to the 16 byte size of a unicode char.)

Menahem
Apr 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
4894
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
0
1432
by: Markus Bauer | last post by:
Hello, has anybody a good ressource for a first contact programming message queues under dotnet? I´m familiar with webservices but message queuing is untouched land to me and the docs I...
1
1631
by: tiger | last post by:
Hi, I have a question on MS Message queuing. I would like to check a message queuing to see if there is a message in the queue. That is if the queue is empty, I would like to send a note to...
0
1177
by: sam | last post by:
Hi, I have windows services appliaction. Application reads message from MS message queuing. I have short code example below of my application. I have different process points these point have...
1
1539
by: Dave Pink | last post by:
I support a web server farm of about 80 machines, of which 35 are in Production at any given time. Machines are running Windows 2000 Advanced Server with IIS 5. All 80 machines are configured...
25
2737
by: Mark Harrison | last post by:
I would like to try and build a queuing mechanism on top of Postgresql. Imagine an application where a large number of processes generate images and queue up thumbnail requests. A smaller number...
1
1293
by: Jason Richmeier | last post by:
Is there a way to create a setup package (setup and deployment project in Visual Studio 2005) that installs the Windows Message Queuing components as a prerequisite or is this something that has to...
0
985
by: RituJetly | last post by:
Hi, I want to use Oracle's Advanced Queuing from C# code, but not getting proper interfaces/classes to create the Queuing objects. Please help. Regards, Ritu.
6
2851
by: shakthi | last post by:
I have problem with message queuing. I wrote simple service and client that communicate through endpoint that works with netMsmqBinding. Exception occurs when client sends message to server, and...
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7089
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5673
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1581
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.