region change not working
dwaynemac
PROOP

a year 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

a year 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

a year ago

ok


dwaynemac
PROOP

a year 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)


a year ago

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


dwaynemac
PROOP

a year ago

yes.


dwaynemac
PROOP

a year ago

connection variable

Attachments


dwaynemac
PROOP

a year ago

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

Attachments


a year ago

Are you opening a new database connection for every query?


dwaynemac
PROOP

a year ago

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


a year ago

Please look into that.


dwaynemac
PROOP

a year 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


a year ago

How many queries are you making per API route?


dwaynemac
PROOP

a year 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

a year ago

Is there an ETA on metal supporting volumes?


a year ago

Sorry but I am not able to provide one.


Status changed to Solved brody about 1 year ago


Loading...