How do I configure SOW storage parameters?

For many applications, it is not necessary to change the default values for the SOW storage parameters.

You may need to change the parameters if:

  • You need to store larger messages than the default configuration allows (roughly 5MB)

  • You want to control how the SOW file grows when more space is allocated

60East recommends using the following approach to configuring the SOW Storage parameters.

First, calculate the amount that you want the SOW to grow in a single allocation. You can use the message size and number of messages to calculate the growth size, or start with the desired growth size and message size to calculate the number of messages.

average size of messages * number of messages to allocate at once = growth size

Once you have that calculation, set the SlabSize option in the Topic configuration to the growth size.

The maximum message size for which AMPS will guarantee storage is the SlabSize. If the calculated value is smaller than the largest message size you need to store, 60East recommends increasing the SlabSize (using the method appropriate for your version) until the maximum size is large enough to store the largest anticipated message plus 256 bytes for file and record metadata.

Last updated