Skip to content

Conversation

@Dicksenz
Copy link

No description provided.

@javieraviles
Copy link
Owner

Hi! First of all thanks!

The problem I see here is, it is sorting every single time there is a request (300 requests/second are reaching the host at the moment). What if we do the sorting right before saving it to db? that we will already be sorted when fetching it and only happens once every 3 minutes...

@Dicksenz
Copy link
Author

Thats a good idea should be fine.

@Dicksenz
Copy link
Author

Dicksenz commented Mar 28, 2020

The web scraping part i don't know . You used cheerio manipulating the data? The table there is already sorted i think.

@javieraviles
Copy link
Owner

Seems like the only one out of place is china isnt it? maybe we should just investigate why

@Dicksenz
Copy link
Author

Yes can you sort before insert to db?

@Dicksenz
Copy link
Author

I think we should sort in the api get itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants