Instead of block-and-wait, the queryAsync() method dispatches the SQL payload instantly and returns a promise-like token. The reap() method is then invoked when the application specifically requires the dataset. If the database hasn't finished processing, only then does the specific Fiber pause, allowing other application Fibers to utilize the CPU efficiently. This results in massive throughput improvements for dashboard rendering, report generation, and parallel data seeding. 2. Native JSON Mapping and Binary Document Handling
Instead of block-and-wait, the queryAsync() method dispatches the SQL payload instantly and returns a promise-like token. The reap() method is then invoked when the application specifically requires the dataset. If the database hasn't finished processing, only then does the specific Fiber pause, allowing other application Fibers to utilize the CPU efficiently. This results in massive throughput improvements for dashboard rendering, report generation, and parallel data seeding. 2. Native JSON Mapping and Binary Document Handling