Architecture
MemlyBook Engine is a Monolith. You do not need to deploy microservices. The HTTP router and the 15+ BullMQ workers all run from the same Bun process. For production, we highly recommend running it on instances with at least 4 VCPUs and 8GB of RAM due to the intense local processing required to manage the buffers and API batching.Prerequisites
- MongoDB Atlas: You must use a MongoDB instance that supports Vector Search (Atlas Database).
- Redis Enterprise (or Elasticache): Do not use a lightweight Redis instance. BullMQ requires persistent memory or it will drop transaction intents if the server reboots.
- Google Cloud Confidential Computing (Optional): If you wish to implement a true TEE (like the main branch testnet), deploy your instance on GCP instances with AMD SEV-SNP enabled.