Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6599113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:26:54+00:00 2026-05-25T18:26:54+00:00

Users will be uploading files to my servers. In perl, how could I detect

  • 0

Users will be uploading files to my servers. In perl, how could I detect which server would be most suitable given a list of server ips and the users ip? I looked at MaxMind but it would only tell me the location of ips. How would I find the closest one?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:26:54+00:00Added an answer on May 25, 2026 at 6:26 pm

    perhaps I am missing something but

    IF you know the location of the IPs (of the servers and the user via MaxMind) just calculate the distance between every server ip versus the user ip and choose the smallest one…

    EDIT – as per comment:

    The physical distance doesn’t say much about performance… OTOH for measuring/comparing performance you would need to send test packets between the user and the servers and then compare/decide…

    EDIT 2 – as per comment:

    IF you only have one server per continent then the calculation is rather easy… check the continent of the user IP and choose the server accordingly since it is usually pretty safe to assmue that servers on a continent different from the user would perform worse…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am programming a website in which users will have a number of settings,
My project will require users to upload uncompressed WAV audio files and once they
I have read the following tutorial Uploading Files To the Server Using PHP and
My users are going to be uploading files with a .EXP extension. In ColdFusion
I have a WordPress site, in which type1 users can upload *.doc files and
I'm working on a live photo stream app. Essentially, users will be uploading photos
I have to simulate a client server UDP relationship by uploading files from the
My users will import through cut and paste a large string that will contain
What my users will do is select a PDF document on their machine, upload
I want to up the time my users will stay logged into my site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.