Knoldus provides a reactive architecture to improve the efficiency and extend the business benefits

  • project-icon

    Partner: Bank of America

  • tech-icon

    Technologies Used: Ansible, Kerberos, Cucumber, AMPS, Jenkins, FIX 4.4, Scala, Akka

  • domain

    Domain: Reactive

Result Highlights

  1. Enhanced the customer experience with features upgrades and streamlined processes.

  2. Major boost in the business ROI with a remodeled trading platform.

  3. 20% to 30% increase in the number of trading transactions per day.

  4. Significant decrease in costs and expenses by making the system compliant trading regulatories.

  5. Minimum Downtimes, increased resilience, and better service quality in traffic spikes with the reactive architecture.

About the Organisation

Our partner is a global financial institution which helps major corporations and businesses with an impressive suite of financial and investment solutions. Recognized as one of the world′s best investment banks, its services range from corporate & investment banking solutions, mergers & acquisitions, debt, equity, foreign exchange markets trading, lending, risk management, research, and more.


Our partner already had a resilient trading platform in place that has helped major institutional clients to invest in the European markets to raise capital.

The investment banking firm had a Straight-Through Processing (STP) system in place. When it comes to trading, an STP helps to automate the entire transaction process when one invests in a financial instrument so that minimum manual intervention is required. The entire workflow of the transaction from placing the order to the final settlement is managed by a standalone system.

The workflow includes a Front office (Trade capture & execution), Middle Office (Trade enrichment, validations, bookings & confirmation) and finally, the Back Office (Clearing & Settlement).

Our partner wanted to improvise their middleware system which was written in Scala Programming Language and built on an actor-based, in-house event sourcing system.

The middleware system is responsible for:

  1. Capturing client orders from the Front Office

  2. Getting allocation instructions from the client

  3. Trade validation

  4. Order Confirmation

The existing system in place already had an impressive turnaround time with trade confirmation being sent to clients within minutes or even seconds. However, our partner wanted to grow their business and have more clients onboard by enriching their platform and reducing the turnaround time further.

This is where Knoldus stepped in.


Introduced a new feature to optimize the process workflow.

To optimize the process workflow, we introduced a new feature, “Replace” keeping the Financial Information Exchange (FIX) protocol in mind. It significantly eased out the process of modifying an existing trade.

The ‘Replace’ feature changed the way trades had to be modified. Earlier, the client was struggling to modify their existing trades as it took a lot of manual effort to do so. It was a complex procedure as trades had to be cancelled and needed to be placed all over again.

Now, this process has been reduced to a single step of just replacing the current trade with the new one.

This solution also removes the redundant transactions in the entire system from the front office to the downstream applications.

Capacitated the system for compliance with regulatory requirements

The MiFID II regulations were instituted in the EU to protect the interests of the investors within the financial markets. In a case where investment banks fail to comply with the requirements of regulatory conditions, huge fines are levied by the authorities and it is a mandate that systems comply with it; within the stipulated deadline.

Our team ensured the complete re-evaluation of the application and enabled it to comply with this regulation. It required exhaustive study of each and every clause of the regulation and sophisticated software engineering expertise to ensure that all trades comply with them.

Giving the system an infrastructural overhaul

The application was not following proper architectural and design principles to remain resilient in the face of system failure or downtime. It was tightly coupled with the front office components and dependencies were so high that if there was any error, failure, or upgrade in the front office systems, the middleware application would be stalled.

We enabled an architectural overhaul to ensure the decoupling of components. This minimized the dependency of the application on external components and made it more responsive and resilient.

Revamp the entire trade settlement and clearance process

Getting trades cleared is an important step. Often a trader will submit a Front Office Trade which then flows through the Middle Office and Back Office through various systems to settle the trade so that money is exchanged. In this a clearing house ensures that both parties carry on the financial transaction ethically and buyers & sellers adhere to the contract obligations. Earlier, the investment bank had to approach every clearing house in the European markets so that individual trades could be cleared which proved to be a costly and time consuming process.

We helped the investment bank’s system to integrate with an external centralized clearing menu. Now, the trades are automatically cleared by the centralized system, which acts as a bridge between the investment bank and individual clearing houses in all the markets across Europe.

Restructuring how commissions are handled

A commission is a service charge levied by the broker in exchange for investment advice or handling the buy-and-sell process. In case of a disagreement on the commission rate between the two parties, the trade would not be processed and would throw an exception in the application. The trader would have to resolve this situation manually on paper.

After our intervention, a lot of manual effort was cut down as such orders could be processed digitally, within the application.

Migration to an in-house event streaming platform

We stepped up in the migration from an open source event streaming platform to an in-house, proprietary framework. The investment bank wanted to ensure that all the bank’s systems rely on the AMPS (Advanced Message Processing System) framework instead of Kafka and we assisted them in the endeavour.

With all these, we also helped our partner in:

  1. New deployments & releases.

  2. Keeping them aligned with the regulatory disclaimers which helps in preventing any untoward activities while trades are being executed.

  3. End-to-end testing of the newly developed functionalities, user acceptance testing of the product in the UAT environment and subsequently releasing the same on production.

Business Results:

  • Enhanced the customer experience with optimized workflows, streamlined processes, robust infrastructure and better features & upgrades.

  • With the efficient and optimized process, they onboarded more clients and experienced a major boost in business ROI.

  • Integrating the FIX protocol with the ′Replace′ functionality and equipping the system to handle commission mismatch scenarios, we significantly eliminated manual effort from the workflow.

  • With the elimination of manuals efforts and ease of complex process, there was an overall increase of 20% to 30% in the number of transactions per day as a result of this initiative.

  • By enabling the MiFID II and other regulations within the stipulated deadlines, we helped the investment bank save millions of dollars in fines along with their prestigious position within the industry.

  • The application is now more robust and resilient in the face of component failures & downtimes. The new-found resilience has resulted in a more reliable application, better service quality and higher productivity.

Technology Stack:

ScalaThe original trading platform was also based on this highly functional, scalable, and concise programming language
Cucumber for BDDA Behaviour-driven development framework; used to write acceptance tests
Actor-based Event Sourcing framework on AkkaFor building a reactive system which follows the principles of domain-driven design; event-sourcing to atomically update state and publish events
AnsibleIT automation platform for configuration management and automatic deployment
KerberosA network authentication protocol for building application and user level security infrastructure.
FIX 4.4Communication protocol that outlines messaging specifications used in trade communications
Apache CamelTo build the integration layer between different applications or services
AMPS (Advanced Message Processing System)A fast messaging engine that supports both publish-subscribe messaging and queuing
JenkinsTo enable CI/CD
ITSM BMC RemedyFor change request and production release management.
Active ConsoleFor application monitoring

Download the detailed version of the case study:

Get In Touch:

If you are a banking and financial services provider, you would be required to constantly innovate to grow your customer base. Tech ecosystems are changing and playing a crucial role in the financial services sector as everything is going digital these days.

Microservices and event-driven architectures, blockchain development, real-time streaming & Big Data are some of the tech phenomena which are helping organizations to cater to the needs of the tech-savvy customer.

Knoldus experts have deep experience in all aspects of reactive and distributed computing, big data, machine learning, and data sciences, and are able to provide your team with critical advisory-level services at key points in your journey.

Drop us a line at or contact us here and let’s discuss how Knoldus can help as your trusted IT partner.

Relevant Resources

Case Study


PayU launched a configurable marketplace in new geographies and centralized all the operations with the help of Knoldus API solution.

Case Study


Knoldus helps a leading APAC stock exchange to transforms their process and improves efficiency.

Case Study


D&B handles almost 8x times the volume of alerts through rapid development and concise code offered with Scala.

Schedule a meeting