Main architecture
The components of Any
Document database - MongoDB
The database storage is the master storage for all the metadata of the repository, application, configuration and document hierarchy. Any mainly uses MongoDB as its database. MongoDB offers a high availability and scalability capacity to answer every complex deployment.
Indexed data - ElasticSearch
Elasticsearch is the indexed storage solution. Its ability to handle large data with low-latency queries is the ideal solution to retrieve documents quickly. It indexes all the metadata and the contents and runs complex queries or real-time filtering on large volumes. The scalability capacities of ElasticSearch make it easy to handle data that grows without redesigning your whole environment.
Shared file system
The binary files are stored on a file system by default. The modular architecture of Any chooses among several solutions. It can be a shared folder, NAS, NFS, HDFS. Your solution must be reachable by the application server and the JMS. Both need access to the shared file system.
Java messaging server – ActiveMQ
Some operations must be run in the background by the distributed JMS. ActiveMQ is the link that distributes every asynchronous operation. ActiveMQ offers many advanced features, in particular message load balancing and high availability of your data. It balances a large number of operations across several JMS, removing downtime and allowing the number of operations to be scaled.
HazelCast
In a high-availability environment, several servers are needed. Hazelcast is the hub between each server. It is also a distributed cache to speed up the loading and the execution of the applications.
Cluster architecture and flows
| Flow no. | Connection source | Connection target | IP protocol | Description |
|---|---|---|---|---|
| 1 and 2 | Users | NgInx / Tomcat | HTTPS | Users reach Any in HTTPS through their web browser. |
| 3 | Users | Identity server | HTTPS | Users authenticate against the identity server (optional) |
| 4 | Tomcat | ActiveMQ | HTTPS | OpenWire protocol allowing native access to ActiveMQ to send and retrieve messages. |
| 5 | Tomcat | Network disk (NFS / SMB / S3) | - | Read and write of the files stored in Any |
| 6 | Tomcat | MongoDB | HTTPS | Calls to the MongoDB REST services in HTTPS |
| 7 | Tomcat | Elastic Search | HTTPS | Calls to the ElasticSearch REST services in HTTPS |
Any storage
The metadata and the binary files are stored in different spaces because of their different processing. Any has a modular architecture that chooses where you want to store your metadata or binaries. This architecture makes it easy to adapt Any to your environment.
