Skip to content

DU Result Fetcher made with Node for concurrency.

Notifications You must be signed in to change notification settings

jatin69/fetcherJS

Repository files navigation

FetcherJS

Node.js Version of DU Result fetcher. The aim is to improve the speed in comparison to python Version by using Concurrency.

Proof of Concept

Checkout the Proof of Concept.

comparison with the python version. It reduced the time to half for 50 students. For 800 students, the improvements should be even more.

Comparison with the python version

Thoughts

  • Concurrency is the MAJOR goal here
  • a way to fetch the URL with options, (fetch, request-promise) - Checkout wretch
  • find a html parser, similar to beautifulsoup (jsdom, x-ray, ?)
  • a in-memory database for when the data gets too large, (lokijs)