Skip to main content
Version: Any 26

Main architecture

The components of Any​

voici l'image

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​

voici l'image
Flow no.Connection sourceConnection targetIP protocolDescription
1 and 2UsersNgInx / TomcatHTTPSUsers reach Any in HTTPS through their web browser.
3UsersIdentity serverHTTPSUsers authenticate against the identity server (optional)
4TomcatActiveMQHTTPSOpenWire protocol allowing native access to ActiveMQ to send and retrieve messages.
5TomcatNetwork disk (NFS / SMB / S3)-Read and write of the files stored in Any
6TomcatMongoDBHTTPSCalls to the MongoDB REST services in HTTPS
7TomcatElastic SearchHTTPSCalls 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.

voici l'image