Education & Learning

YourBestGrade: Modernizing a Mission-Critical Nursing Exam Platform

Project Overview

With a 15-year history, YourBestGrade (YBG) has become an important resource for nursing students across the United States. The platform provides a comprehensive suite of exam preparation tools, supporting students from the HESI A2 entrance exam through to HESI NCLEX certification.

YBG's goal has always been to provide a flexible practice environment where students can identify their weaknesses, focus on areas that need improvement, and prepare with questions that closely mirror real exam formats.

When NUS Technology joined the project, the platform was already running on an 11-year-old codebase. Rather than replacing an established product, NUS took over the existing system and began an ongoing partnership focused on improving performance, modernizing the technology, and expanding the platform's capabilities.

  • Overlapping squares

    Name

    Client Logo - Yourbestgrade client logo

    YBG

  • Overlapping squares

    Services

    Take Over & Stabilize, Run & Maintain, Extend & Integrate

  • Overlapping squares

    Backend

    Ruby on Rails

  • Overlapping squares

    Database

    PostgreSQL

  • Overlapping squares

    Frontend

    Ruby on Rails, react-rails, Next.js, Tailwind CSS

  • Overlapping squares

    Infrastructure

    AWS (EC2, RDS, S3, ElastiCache), Google Cloud (Backup)

  • Overlapping squares

    Industry

    EdTech (Nursing Education & Exam Preparation)

  • Overlapping squares

    Market

    United States

  • Overlapping squares

    Integration

    Aweber, BugSnag, VWO, VdoCipher

Overview Image client logo
Overlapping squaresTHE CHALLENGES

A Mission-Critical Platform Weighed Down by Legacy Code

YBG had built a feature-rich exam preparation platform over many years, but its aging codebase had accumulated technical debt and performance issues. As the product continued to evolve, these limitations made it increasingly difficult to maintain reliability, deliver new features, and support complex exam interactions.

  • An Aging Legacy Codebase: The 11-year-old platform carried significant technical debt, making ongoing maintenance and modernization increasingly challenging.

  • Slow Test Generation: The Test Creator frequently took 70–120 seconds to generate exams, with some requests hitting the two-minute timeout limit.

  • Database Performance Bottlenecks: Loading tests and question sets placed heavy demands on PostgreSQL, causing database overload and slowing down the user experience.

  • Complex Interactive Question Types: Supporting 18 question types, particularly image-based drag-and-drop interactions, required consistent behavior across different screen sizes and mobile devices.

Challenge Image - Patrick client logo

Taking Over and Understanding the Legacy Platform

NUS inherited an established Ruby on Rails application backed by PostgreSQL, with an existing frontend built around Rails and react-rails.

Rather than introducing a complete rewrite, the team worked within the existing architecture, identifying how core exam logic, question management, and test generation operated before making targeted changes.

This provided a foundation for safer modernization, allowing the team to preserve established business logic while improving the platform incrementally.

Stabilizing Performance and Eliminating Database Bottlenecks

Two of the most critical performance issues involved test generation and database overload.

  • Optimizing the Test Creator

The Test Creator was taking 70–120 seconds to generate an exam, with frequent requests reaching the two-minute timeout limit.

NUS conducted a deep analysis of database queries and application logic, then applied targeted optimizations to reduce generation time to an average of 3–7 seconds.

  • Eliminating Database Overload

To reduce the database load when users accessed tests and question sets, NUS introduced AWS ElastiCache (Redis) as a caching layer.

Frequently accessed questions and test data could be served from memory rather than repeatedly querying PostgreSQL. This reduced database read pressure and significantly improved question-set loading performance.

Modernizing the Frontend and Extending Exam Capabilities

NUS evolved the frontend incrementally, using react-rails to introduce modern, interactive components within the existing Rails application.

For standalone features such as the HESI A2 module, the team adopted Next.js and Tailwind CSS, creating a more modern frontend foundation while keeping the core platform intact.

  • Supporting Complex Exam Interactions

The platform needed to support all 18 question types, including image-based drag-and-drop interactions.

NUS engineered custom JavaScript solutions to handle image scaling across different screen sizes and introduced a click-and-drop alternative for mobile users, ensuring that complex question interactions remained accessible across devices.

  • Improving Regression Testing

NUS also retrofitted automated testing onto a codebase that previously had very limited test coverage. By prioritizing critical revenue and exam-logic modules, the team improved confidence in changes and reduced the amount of manual regression testing required before releases.

Overlapping squaresTHE RESULT

A Faster, More Stable Platform Built for Continued Growth

Through targeted modernization and continuous engineering improvements, NUS helped YBG turn an aging platform into a more reliable exam preparation environment, while making future development safer and more efficient.

  • Green tick circle

    Faster Test Generation and Fewer Failures: The Test Creator's average generation time dropped from approximately 95 seconds to around five seconds, representing a performance improvement of over 95%. Timeout-related failures also fell from an estimated 11% of attempts to below 0.5%.

  • Green tick circle

    Reduced Database Load and Improved Reliability: Redis caching achieved a cache hit rate of nearly 90%, reducing peak database read load by approximately 65%. Question-set page loading times also improved from around four seconds to under one second, while the platform maintained approximately 99.9% uptime.

  • Green tick circle

    Faster and Safer Development Cycles: By introducing automated testing into critical revenue and exam-logic modules, NUS brought test coverage to approximately 50% across these key areas. Regression testing time was reduced from 2 - 3 days of manual work to just a few hours.

YBG Result Image client logo
Overlapping squares

95%+ Faster Test Generation | Timeout Failures: ~11% → Under 0.5%

Overlapping squares

~65% Lower Peak Database Read Load | 99.9% Platform Uptime

Overlapping squares

~50% Coverage of Critical Test Modules | Regression Testing: 2–3 Days → A Few Hours

Circle check

These gains underpin the defining outcome: an 8-year (and continuing) collaboration on a mission-critical system, reflecting deep trust and NUS Technology's ability to consistently deliver value.

Conclusion

For nursing students preparing for important exams, YBG is more than a collection of practice questions. It is a platform they rely on throughout their preparation, making its reliability and continued improvement essential.

The 8-year-and-counting collaboration between YBG and NUS Technology reflects the trust built over time and the value of having an engineering partner who understands the system deeply. Together, the teams continue to keep this mission-critical platform reliable while supporting its ongoing evolution.

Conclusion Image - Patrick

Links

Overlapping squaresTESTIMONIAL

What Our Client Says

Patrick A.
Patrick A.

Director

Reliable. Skilled. A Partner You Can Count On

"We've partnered with NUS Technology for 8 years. Their team skillfully optimized our legacy platform, significantly improving performance on key features like the test creator. Their reliable, long-term support has been invaluable to maintaining our system's stability."

Download This Case Study

Get the full story in PDF format, including project details, technical insights, and measurable results you can apply to your own business.

Download backgroundDownload background

Explore Other Case Studies

Case study ipromise
Healthcare Operations

iPromise: Strengthening the Product Experience Behind Social Accountability

Case study the-padel-society
Commerce & Marketplace

Building Thailand's Connected Booking and Community Platform for Padel Players

Ready to Write Your Own
Success Story?

Let’s have a strategic conversation about your goals and how we can achieve results like these for your business.

CodeMonitorGrid with light