Main architecture
The components of Any
Document database - DocumentDB
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 - OpenSearch
OpenSearch 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 content and runs complex queries or real-time filtering on large volumes. The modularity capacities of ElasticSearch make it easy to handle data that grows without redesigning your whole environment.
Shared file system
The binary files are stored in an encrypted Amazon S3 bucket.
Java messaging server – Amazon SQS
Some operations must be run in the background by the distributed JMS. Amazon SQS is the link that distributes every asynchronous operation. Amazon SQS provides 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 spread out.
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
| 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 | Elastic Beanstalk / Tomcat | Amazon SQS | HTTPS | OpenWire protocol allowing native access to ActiveMQ to send and retrieve messages. |
| 5 | Elastic Beanstalk / Tomcat | S3 | HTTPS | Read and write of the files stored in Any |
| 6 | Elastic Beanstalk / Tomcat | DocumentDB | HTTPS | Calls to the DocumentDB REST services in HTTPS |
| 7 | Elastic Beanstalk / Tomcat | Open Search | HTTPS | Calls to the Open Search REST services in HTTPS |
Every web application is hosted on Amazon Elastic Beanstalk. It provides a reverse proxy and a dynamic load balancer for each web application.
Any storage
The metadata and the binary files are stored in different spaces because of their different processing. Any has a "pluggable" architecture that chooses where you want to store your metadata or binaries. This architecture makes it easy to adapt Any to your environment.
