Coder Social home page Coder Social logo

Upgrade is extremely slow. about node-geoip HOT 4 CLOSED

ollyde avatar ollyde commented on August 19, 2024
Upgrade is extremely slow.

from node-geoip.

Comments (4)

bluesmoon avatar bluesmoon commented on August 19, 2024 1

We don't control the server. It's run by MaxMind, and this project is not affiliated with MaxMind in any way.

from node-geoip.

bluesmoon avatar bluesmoon commented on August 19, 2024

Updating the DB downloads it from the MaxMind servers. It all depends on how long that would take. What happens if you try to download the DB using curl?
There isn't anything in the update code that controls the speed of the download.

AFAIK ffmpeg does not download any large files from a third party server.

from node-geoip.

ollyde avatar ollyde commented on August 19, 2024

@bluesmoon when running locally it takes around 2 minutes.

from node-geoip.

ollyde avatar ollyde commented on August 19, 2024

@bluesmoon I found the issue.

I have an M1 Mac and I was using the Intel Ubuntu image.

Now it only takes a minute. (unless you fixed some server stuff?)

// Old image
# FROM sitespeedio/node:ubuntu-20.04-nodejs-16.15.1

// Newer faster image
FROM arm64v8/ubuntu:20.04

from node-geoip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.