Christian Tucker
NextJS
, ReactJS
, NodeJS
, and styled-components
while tasked with utilizing data from several abandoned APIs I was also forced to familiarize myself with many services using languages such as JavaScript
, Java
, and Kotlin
. Referencing some APIs that did not have documentation also meant inspecting mobile clients that were written in Swift
(iOS) and Kotlin
(Android) as well. NextJS
, I was more than happy to lead the charge in this regard. There were a few areas that we were not prepared for, but it was a lesson that we will employ for future projects moving forward. NextJS
. I couldn't believe it when we determined that the reason for our problems was that the framework was not correctly deferring processing of similar requests to the rendering pipeline. This meant that if we had 1,500 requests for the same resource that was not available in the cache, it would spawn 1,500 different rendering events for the same resource. This was unacceptable, but a solution was simple to engineer. In short, whenever a request to an identical resource is made, we don't send that request to NextJS for processing, instead we simply put it into a wait list. Once NextJS completed the SSR action and responded to the initial request, we simply forwarded that request to all clients in the wait list. This improved scalability, response, and speed of the Explorer by magnitudes of 1xxx% percent.