region change not working
dwaynemac
PROOP

2 years ago

I'm trying to change from us-west1 (metal) to us-west2 (non-metal) but after the re-deploy made by the change the region remains unchanged.

The region change is important for my app service and db service to be on the same region avoiding lag on requests.

Solved

15 Replies

2 years ago

Hello,

All Hobby deploys go exclusively to metal now.

Please make sure you are using the private network to avoid latency.

Best,

Brody


dwaynemac
PROOP

2 years ago

ok


dwaynemac
PROOP

2 years ago

previous experiments have shown that connecting through private network wont solve the issue:

https://help.railway.com/questions/slower-performance-since-nov-18th-f139afa8

it'd be reasonable to delay enforcing metal on hobby users until metal supports volumes (for db services)


2 years ago

Are you sure you are connecting to the database via private network?


dwaynemac
PROOP

2 years ago

yes.


dwaynemac
PROOP

2 years ago

connection variable

Attachments


dwaynemac
PROOP

2 years ago

similar performance impact as reported on the previous thread (linked above)

Attachments


2 years ago

Are you opening a new database connection for every query?


dwaynemac
PROOP

2 years ago

i dont think so but not sure. i'm using default RubyOnRails 7.2 behaviour.


2 years ago

Please look into that.


dwaynemac
PROOP

2 years ago

it's not a new connection per query

ActiveRecord uses a connection pool. When you try to interact with the database, a connection is acquired from the pool, query is made and connection is returned to pool after the query. All this is handled by ActiveRecord in the background. You can adjust the number of connections in the pool in your database configuration

http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/ConnectionPool.html


2 years ago

How many queries are you making per API route?


dwaynemac
PROOP

2 years ago

Irrelevant. The point is that without notice railway enforced a new policy that impacts my end-users with over a second (sometimes 2-3 seconds) delay.

Railway has made a habit of this kind of unnoticed changes that impact end users.


dwaynemac
PROOP

2 years ago

Is there an ETA on metal supporting volumes?


2 years ago

Sorry but I am not able to provide one.


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...