> Just thought I'd share this observation using 2.0.0...
> 
> I ran a modified TestSender and put 50,000 messages into a single queue
> without having TestReceiver pick them up.  Each message in the
> store/router1/persistent was 286 bytes.  This means that those message
> should have consumed roughly 14.4MB of disk space.
> 
> However, because they are stored as separate files, the actual
> consumption
> was 204MB, over 14 times the actual message space.  This is because
> Linux
> uses 4096 bytes at a minimum when storing a file.  I would guess that
> my
> scenario may not be all that realistic for application messages, but
> it's
> cases like this where a database would likely be much more efficient
> spacewise.  (I won't even compare the speed issue, though Linux does
> get
> bogged down inode-wise when this many files exist in a single
> directory, but
> I know you guys are looking into that already.)

Well, usully a DBMS (like Sybase) needs a big file to store its databases. 
And this file does not shrink if a database becomes emtpy. There is also 
much space needed for indexing the keys, transaction log etc. But storage 
isn't the problem, I think. ;-)

> This was run on Redhat Linux 6.2.
> 
> On a bright note, it stored 50,000 messages without the receiver up,
> and
> when I started it, the receiver got al 50,000 messages.

I don't know the exact shell command to get the number of free/available 
inodes, but some Unix systems (SCO I guess) have a limit of 65535 inodes.

>  Great job! 
> When
> will you offer support contracts?

Soon. We're just taking some breath and then we start to create the 
infrastructure for that.

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
   SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com    
-----------------------------------------------------------------------
 Cast your vote for SwiftMQ as Best Java Messaging & Middleware Tool:
           QuickVote at: http://www.swiftmq.com/jdjvote.html          
-----------------------------------------------------------------------


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to