Get nearest linode location based on client timezone

Hello!

I thought I would share a little library I wrote to get the nearest linode location based on the clients or servers timezone. We needed this because we have NodeBalancers in each of the linode locations and we wanted to route a client to the closest NodeBalancer based on their timezone.

For example if a client connects from London, they would be routed to the London linode location. It works both in a client's browser or on a node server.

Check it out linode-near-location:

https://github.com/Jared-Sprague/linode-near-location

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct