|
1
|
export const metadata = { |
|
2
|
title: `${pageNumber} Infrastructure Modules`, |
|
3
|
} |
|
4
|
|
|
5
|
# {metadata.title} |
|
6
|
|
|
7
|
In this chapter, you’ll learn about Infrastructure Modules. |
|
8
|
|
|
9
|
## What is an Infrastructure Module? |
|
10
|
|
|
11
|
An Infrastructure Module implements features and mechanisms related to the Medusa application’s architecture and infrastructure. |
|
12
|
|
|
13
|
Since modules are interchangeable, you have more control over Medusa’s architecture. For example, you can choose to use Memcached for event handling instead of Redis. |
|
14
|
|
|
15
|
--- |
|
16
|
|
|
17
|
## Infrastructure Module Types |
|
18
|
|
|
19
|
There are different Infrastructure Module types including: |
|
20
|
|
|
21
|
 |
|
22
|
|
|
23
|
- [Analytics Module](!resources!/infrastructure-modules/analytics): Integrates a third-party service to track and analyze user interactions and system events. |
|
24
|
- [Caching Module](!resources!/infrastructure-modules/caching): Defines the caching mechanism or logic to cache computational results. |
|
25
|
- [Event Module](!resources!/infrastructure-modules/event): Integrates a pub/sub service to handle subscribing to and emitting events. |
|
26
|
- [Workflow Engine Module](!resources!/infrastructure-modules/workflow-engine): Integrates a service to store and track workflow executions and steps. |
|
27
|
- [File Module](!resources!/infrastructure-modules/file): Integrates a storage service to handle uploading and managing files. |
|
28
|
- [Notification Module](!resources!/infrastructure-modules/notification): Integrates a third-party service or defines custom logic to send notifications to users and customers. |
|
29
|
- [Locking Module](!resources!/infrastructure-modules/locking): Integrates a service that manages access to shared resources by multiple processes or threads. |
|
30
|
|
|
31
|
<Note> |
|
32
|
|
|
33
|
The Caching Module was introduced in [Medusa v2.11.0](https://github.com/medusajs/medusa/releases/tag/v2.11.0) to replace the deprecated Cache Module. |
|
34
|
|
|
35
|
</Note> |
|
36
|
|
|
37
|
--- |
|
38
|
|
|
39
|
## Infrastructure Modules List |
|
40
|
|
|
41
|
Refer to the [Infrastructure Modules reference](!resources!/infrastructure-modules) for a list of Medusa’s Infrastructure Modules, available modules to install, and how to create an Infrastructure Module. |