Buffer.readInt32LE() Method
Buffer.readInt32LE() Method sits in an upload job. Neha’s job is read a big CSV. Write that first.
For Buffer.readInt32LE() Method, the event loop is in play. Don’t blame it until you have traced read a big CSV.
Buffer.readInt32LE() Method exists so Neha can keep read a big CSV correct in an upload job.
Use Buffer.readInt32LE() Method when read a big CSV must stay clear. If a simpler Node.js step works, use that instead.
Don’t do this with Buffer.readInt32LE() Method: loading the whole file into RAM. Interviewers spot it in ten seconds.
After Buffer.readInt32LE() Method, Neha should still remember loading the whole file into RAM.
Viva for Buffer.readInt32LE() Method — what it is → createReadStream → the mistake (loading the whole file into RAM).
Say Buffer.readInt32LE() Method in one breath, then createReadStream, then loading the whole file into RAM.