Country or Region:
United States
Industry:
eCommerce
Company Profile:
Established in 1976, TruckSpring is one of Michigan’s most well-known truck and trailer parts dealers. They offer spare parts for light, medium, and heavy-duty vehicles. They specialize in truck suspension, towing, and aftermarket parts. Their dedication to innovation and excellence in the automobile industry has solidified their position as a trusted industry provider, serving customers across Michigan and beyond.
TruckSpring offers a wide range of products designed to meet all personal and commercial needs of Truck owners. They use an ASP.NET eCommerce solution to fulfill their use-case. This solution provides a vast variety of features to support online businesses, offering customizable storefronts with advanced product management and secure payment processing capabilities.
TruckSpring caters to 100,000 users per month. They were experiencing the following pain points which were resolved by NCache.
To deal with these crucial performance and availability issues, TruckSpring needed a reliable caching solution to better process user requests.
TruckSpring has optimized their ASP.NET AJAX web form application through the robust caching features and load-balanced environment that NCache provides. TruckSpring is now able to manage user sessions effectively and provide a seamless browsing experience with its session management feature. NCache has also empowered TruckSpring to store and manage static application data, reducing page load times and enhancing overall performance through its ASP.NET View State and Object Caching features.
NCache has optimized TruckSpring’s operations by distributing incoming traffic effectively across multiple servers. Additionally, using the two-node NCache Replicated Topology eliminated the risk of single point of failure and ensured high availability. Each server maintains an exact copy of the cache, guaranteeing application responses even during server failures or downtime, making the application highly reliable. This assures that the user gets a response even during server failure or application downtime making their application highly reliable. As an in-memory solution, NCache offers a significant performance boost by serving user’s requests from within the memory escaping the resource-intensive network trips.
Alachisoft Product:
NCache
Customer Needs Met:
The application architecture mainly comprises the following components:
The current application is deployed within a single data center. It consists of two web servers with a load-balanced production environment. The deployment is shared between NCache and their application on both servers with a dedicated database server (SQL Server). This infrastructure caters to numerous monthly visitors and comprises 64 GB of RAM, 6 cores, 12 virtual CPUs, and Intel Xeon processors on each server. They are currently employing NCache 5.3 SP2 with two distributed caches called TSCache and myBVCache. TSCache is configured to manage the ASP.NET Session State and View State, whereas myBVCache is configured for object caching.
The following diagram depicts this application architecture visually:
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 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
As explained previously, one of the pain points for TruckSpring was the management of ASP.NET View State pages and their traffic. The larger ASP.NET View State pages lead to increased data transfer between the client and the server node, contributing to high network latency. Moreover, the transmission of such large ASP.NET View State pages caused delays and impacted the user experience. By caching View State data on the server side, and reducing the size of the View State payloads NCache has minimized the application’s response time.
Furthermore, NCache has enabled TruckSpring to compress the ASP.NET View State before network transmission resulting in faster transmission times. As their eCommerce Marketing Manager stated,
Reducing the page size has also reduced traffic on our CDN and reduced costs. Now, we are better prepared to scale our infrastructure as traffic increases with NCache.
TruckSpring handles hundreds of user transactions daily, maintaining an equivalent number of user sessions which have significantly slowed down their application functionality. Along with application functionality delays, there was no failover support due to the use of Sticky Sessions.
Fortunately, NCache’s ASP.NET Session State Management feature configured along with the Replicated caching topology, is the optimal fix to address these performance issues. Using the NCache Session Cache (TSCache) saves the users' session data as a cache item in its in-memory store. Thus, when the same user logs in next time, the application will have the relevant session data (username, password, favorite items, cart items, etc.,) from the cache instead of the SQL Server - offloading the ASP.NET Session State from the database. Moreover, the Replicated topology creates a replica of this session information and stores it on the other node. This ensures a backup in case of server failures without affecting the application’s performance. Hence, eliminating the use of Sticky Sessions.
Along with Session Caching, TruckSpring also caches the website catalogs, menu bars, category structures, and other website elements using NCache Object Caching. Before incorporating NCache as part of their application, all user requests went to the SQL database and fetched results from there. These frequent database trips became a bottleneck which limited application scalability, as the addition of every menu item or catalog further slowed down the application. Now, the most visited catalogs and product categories are cached in myBVCache. So, when a user clicks on a catalog, the request is sent to this cache, and the desired items are fetched from there, instead of the database. This reduces the access time and improves application responsiveness.
NCache is exactly what TruckSpring needed to fulfill their performance and scalability needs. They are looking forward to extending their integration with their UPS application module where they are currently retrieving UPS rates via database. The module is currently facing performance issues and they intend to integrate NCache in this module to resolve these issues. They are eager to explore how NCache SQL queries can further enhance their application deployment.
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.