Cookie Consent by Free Privacy Policy Generator Investment Management Firm Case Study - NCache

Case Study - Investment Management Firm

 

Country or Region:
North America

Industry:
Investment

Company Profile:
This global investment management firm offers a broad spectrum of financial solutions, including mutual funds, exchange-traded funds (ETFs), and asset management services. The organization is dedicated to providing tailored investment strategies for retail and institutional clients worldwide. They focus on strategic solutions and responsible investing to help their clients meet financial goals in today's rapidly shifting market conditions.

NCache allows this organization to maintain high availability and accelerate their FinTech Application performance.

Download PDF

Introduction

In the ever-changing investment management sector, the firm faced notable challenges using AppFabric. Additionally, after Microsoft discontinued AppFabric, the firm urgently needed to find a more effective solution to enhance transaction speeds and reduce database reliance for their financial trading application. This was especially pressing given that the application in question serves as the backbone for their data processing, executing trades, and managing client portfolios. However, given the firm required a robust security infrastructure while ensuring a seamless migration. They were driven to explore other distributed caching options, that would reduce database trips and optimize overall performance, resulting in a more efficient experience for their trading application.

 

Application Pain Points

Prior to implementing NCache, they used a Jenkins CI/CD pipeline. This pipeline utilized PowerShell and MSBuild scripts to fetch code from TFS. It then built solutions and generated MSIs for their Microsoft BizTalk applications, which were subsequently deployed with web services.

However, with AppFabric's discontinuation, they had to deal with frequent downtime and manual interventions during application deployment, which significantly impacted their ability to monitor and make trades. They also struggled to efficiently handle the growing volume of users and transactions. This increased traffic led to slow response times, and the database became overloaded with queries, causing delays.

These issues prompted them to look for more reliable high-performance alternatives that could seamlessly replace AppFabric while resolving the previous limitations in their CI/CD pipeline. Specifically, they sought a solution that would reduce downtime, automate deployments, improve application availability, and manage increasing workloads, all while integrating smoothly with their existing Microsoft BizTalk applications and web services.

They explored both Redis and NCache, with multiple teams testing each product extensively. These teams concluded that NCache was the more suitable option given their applications are .NET-based, necessitating a native .NET caching solution. Moreover, the variety of features that NCache provides convinced them that NCache was by far the stronger choice.

 

How NCache Fits into Their Solution?

NCache offers a seamless AppFabric migration through its AppFabric wrapper, enabling a smooth transition with negligible application changes. Its powerful features, including the Partition-Replica topology for high availability, and limitless performance, make it an ideal solution for the firm's trading application. By significantly reducing database trips and accelerating transaction processing, NCache has optimized the application's overall performance. Additionally, NCache's perpetual licensing model and comprehensive 24/7 support, made it easy for the firm to adopt within their available timeframe.

Alachisoft Product:
NCache

Customer Needs Met:

  • Seamless Migration
  • Performance
  • Reduced Database Trips
  • High Availability
 

Application Architectural Overview and Deployment with NCache

The application architecture comprises of following components:

  • Front-end: The front-end is based on Microsoft BizTalk, which handles incoming requests and forwards them to the application layer via a load balancer to distribute traffic efficiently.
  • Application Layer: The application layer is built on Windows Communication Foundation (WCF).
  • Back-end: The back-end uses an MSSQL database for data storage, and the application runs on .NET Framework 4.5.
Architectural Diagram Using NCache
Figure - Architectural Diagram Using NCache

The application is designed to efficiently manage up to 15,000 transactions per second, with peaks reaching up to 20,000. It is organized into two lanes: one for Ad Hoc files and other for batch processing. The batch processing lane can handle up to 450,000 transactions over a four-hour period. Given this transaction volume, NCache is essential to reducing response times, minimizing database trips, and improve overall performance. The application employs a Partition-Replica topology to optimize cluster performance and ensure high availability. Each lane comprises three web servers hosting a combination of NCache and application instances. These servers are equipped with 12 cores, 12 vCPUs, and 64GB of RAM.

For Ad Hoc processing, Microsoft BizTalk sends requests to the application tier, which includes the application and NCache. The application tier retrieves data from NCache, performs any necessary operations, and then updates the database. Reference data, such as currency rates, is stored in NCache for fast access. By caching reference data, NCache significantly reduces database load and improves response times.

Similarly, for batch processing, BizTalk sends requests in bulk, and the application layer retrieves data from NCache and then processes these batches before updating the database. This approach ensures efficient handling of large volumes of data while maintaining system performance.

About Alachisoft:
Alachisoft provides a high-performance in-memory distributed cache called NCache. NCache is an Open Source middleware that runs in a production environment and boosts the performance and scalability of .NET web apps, SOA service apps, and general high-traffic server apps. Since 2005, NCache has proven essential to hundreds of customers worldwide, especially in the US, UK, and Western Europe.

You can download a free 30-Day fully working trial of NCache from here.

Alachisoft
Corporate Headquarters
12005 Ford Road, Suite 520
Dallas, TX 75234

US: +1 (214) 764-6933
UK: +44 207 993-8327

sales@alachisoft.com
support@alachisoft.com

 

NCache Feature Usage

Effortless Migration from AppFabric to NCache

As previously mentioned, migrating from AppFabric to NCache was easy and hassle-free, thanks to NCache's AppFabric wrapper. This wrapper allowed the application to maintain its existing structure without the need for any major code changes, significantly reducing the effort involved. Later on, when their caching needs evolved, they adopted NCache's direct APIs, which offered greater flexibility and control over advanced features. This effortless migration not only safeguarded the application from future issues but also improved its performance and reliability, ensuring the trading platform could handle high transaction volumes with ease.

Improved Performance with NCache

NCache, as an in-memory distributed cache, greatly enhances the trading application's performance by minimizing costly database queries. This caching mechanism significantly reduces latency, allowing for real-time access to critical information (e.g., currencies, current prices, etc.). By retrieving data from the cache instead of the database, NCache alleviates the load on the database, which is especially beneficial during peak trading hours. Consequently, the application encounters fewer bottlenecks and enjoys improved response times, ensuring traders can react to market changes in a timely manner, even under high transaction volumes.

Partition-Replica and High Availability

The Partition-Replica topology has been instrumental in enhancing the application's reliability and performance. By maintaining active replicas of each partition, this topology ensures that data remains accessible even in the event of a node failure. This redundancy allows for seamless failover, preventing downtime and ensuring that client applications can continue to operate without disruption.

 

Moving Forward with NCache

The investment management firm is excited to expand its use of NCache after experiencing notable improvements in performance and reliability. They plan to leverage the NCache Bridge feature, which will allow them to synchronize their cache across different data centers. Furthermore, they are actively exploring NCache Cloud for their upcoming cloud deployment. Therefore, the firm is poised to unlock the true potential of their trading operations and drive innovative solutions for their global clientele.

What to Do Next?

© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.