# Mode

The mode determines whether messages will be written to the store synchronously or asynchronously. This property is required for both file and mstore types.

Mode is either:

- async — the server stores messages in this file using asynchronous I/O calls.
- sync — the server stores messages in this file using synchronous I/O calls.

When no value is given for this property, the default for file-based stores is async. The default mode for mstores is sync.

## Classic Configuration

Set the mode using the mode property in the stores.conf file:

    mode=async|sync

## Administration Tool

Stores cannot be created or modified using the administration tool.

Copyright © Cloud Software Group, Inc. All rights reserved.