# Lale Architecture ## Current Architecture ![Lale Architecture](https://i.imgur.com/GxJyHds.png) - Database: 1 postgresql - Lale: 1 Java Spring boot - Matrix: 1 Synapse V.0.03 (python2) - Bot (lami): Python (Matrix-nio) - sygnal: push notification. Python2 - AF: Agent Flow. (Java Spring boot) - Database: MSSQL SERVER - LEIA-DAU: python3 flask, restful API. - MQ: Message Queue Broker. (ActiveMQ - Java based) - Laleplus: Python3 fastapi, restful API. - LEIA-LALE: python3 ## Future (Including Websocket) ![Lale-websocket Architecture](https://i.imgur.com/8OAUHgz.png) - Database: 1 postgresql (PG) - Lale: 1 Java Spring boot - Matrix: 1 Synapse V.0.03 (python2) - Bot (lami): Python (Matrix-nio) - sygnal: push notification. Python2 - AF: Agent Flow. (Java Spring boot) - Database: MSSQL SERVER - LEIA-DAU: python3 flask, restful API. - MQ: Message Queue Broker. (ActiveMQ - Java based) - Laleplus: Python3 fastapi, restful API. - LEIA-LALE: python3 - Websocket: python3 FastAPI, starlette websocket - Redis: cache. - Message Handler: Python3