Chemwatch products are developed based on a three-tier architecture. The high level system topology is as depicted in the picture below:
From the consumer perspective the structure looks like this:
Database layer
Chemwatch employs an optimized, high-performance, relational Oracle database to manage millions of daily transactions that form the system's state. The database architecture is designed to resolve relations instead of storing duplicate data. This approach allows for an efficient design schema that can manage a high server-side load, resulting from a large user base of 3500 active accounts.
Full-text search is implemented using Oracle text and Elastic Search engine. The database is fully Unicode compatible and can store and search information in over 40 languages.
The solution is scalable and can be adjusted using Amazon Cloud which has near to infinite resources.
The data layer is represented by Oracle 19 database hosted in Amazon Cloud (RDS extra large node). It holds all the data required for the effective management of chemicals against different regulations used in different countries. All available performance and statistic tools are enabled on RDS to help us monitor the database 24x7 and act on any deviation from the normal patterns.
Business logic
Chemwatch WebService represents a business layer of the three-tier architecture. It is the backbone of the entire system topology. All the calculations and data processing is conducted in the WebService. It also supplies data and processes requests from front-end applications providing output in 5 different formats (JSON, SOAP, CSV, ZIP, or XML).
WebService is absolutely stateless and implements SOA patterns. Its architectural role is to detach the front end from the database. It is developed with the concept of reversibility claiming that database implementation should be generic, so if there is a need to replace the database, it can be done quickly and efficiently.
The service provides different types of services to the end user applications, starting with authentication to document and report generation.
The service is entirely developed using the .NET latest tested framework. The solution corresponds to the latest performance and security standards. All the operations with the client-side are going through secure protocols (SSL). User access is tracked session-wisely.
Front end
The front end is represented by Chemwatch WebAppication, which depending on the subscription type comes into one of the available packages: Backpack, ChemFFX, ChemGold, Cobra/Coshhpliant, SmartCobra, Chemritus, AuthorITe. etc.
Each client connects to a single WebService instance to request data and save user input into the database. Basic calculations can be performed on the client side, but this is discouraged. Instead, we have built a reusable library that holds all the client-side logic throughout all the products. This ensures that all Chemwatch products work in a consistent manner.
Web-based client applications are developed using .NET Framework and work efficiently under different browsers such as Edge (Chromium), Mozilla Firefox, Google Chrome, and Safari.
SmartSuite for the iPhone and Android is created using mobile development frameworks.
Application Platform
Both the Business layer and Front end run on IIS under Windows Server EC2 Datacenter Edition. Amazon is responsible for keeping those up to date and installing all the required security updates.
Integration capabilities
Web Service API 2.0 enables clients to create live data or document links to other applications using:
- SOAP/WSDL
- REST (JSON, XML)
Any modern programming language has means to send and receive web requests (HTTPS). This is all that is required to build connectivity to Chemwatch Web API 2.0.
API provides:
- 24x7 operation time
- High reliability
- High availability
- Backward compatibility
Operational considerations
System Overview
Amazon cloud allows us to provide a high-end level of data safety and disaster recovery. Amazon cloud also enables us to quickly scale the system to cope with increased load at runtime. A tailored balancing mechanism is used to enhance server capabilities automatically when required. All the critical updates are installed by Amazon timely, maintaining the system in its current state and decreasing any risks associated with security vulnerabilities.
Data Security
In the Cloud solution, user data stored is available only to the user and Chemwatch IT (to provide support). Other customers cannot get access to the other client’s information as it is protected by a security login and password. To make sure no outside person can get hold of the user data we established a “white list” of IP addresses allowed to connect databases directly. In order to secure traffic we enforce SSL (MD5) /TLS (SHA-1) secure connection between Chemwatch and the client. Additionally, we implement TLS secure connection on our server, so customers may use the power of the SHA-1 hashing key to secure the traffic.