---
title: Cluster vs Competition
slug: admin-en/cluster-vs-competition
description: This document explores the benefits of using multiple Graph Mail instances to access the same Microsoft Email and folder, as long as they operate without direct competition. By implementing separate queues and folders, simultaneous work can be efficiently
docTags: 
createdAt: 2023-03-02T11:29:51.000Z
---

### E-mail Readout

It is plausible that one or more Graph Mail accede to the same Microsoft E-mail and folder, whereas the work logic is protected against competition. For the reason a Graph Mail project reads and processes the same queue or folder of another, the user must be aware that they can compete as long as the purpose of the processing is the same or the destination of the processing is another SM, for example.

However, if the work scope is isolated by a queue or a folder, it is possible to work simultaneously without conflict.

### Work Logic

- [x] One queue for each account
- [x] One folder for each processing objective

### E-mail dispatch

For dispatching, there are no competition problems since ActiveMQ is used, it covers competition in queue consumption issues. Therefore, it is possible to upload more than one Graph Mail container, so that a dispatch cluster can be made. The Graph Mail can already handle to avoid the attachments files competition, sharing them via volume.

### Clearing

The directory mapped in the container volumes is emptied by Graph Mail and SM from the attachments files, to process operations. It only leaves the image gallery files that are frequently used, to reduce disk writing operations.



