a year ago
Hey there, we just migrated to Railway and in the last 24h I saw that the memory usage is consistently at 500mb, without much traffic.
Is that normal? / Do we have to expect at least 5$ sub + 10$ memory usage each month?
0 Replies
a year ago
That is unfortunately completely normal memory usage for a MySQL deployment, MySQL is a memory hog, I'd recommend Brody's [MariaDB Template]() though, it's basically a drop in replacement for MySQL and should be a lot more memory effecient
a year ago
a year ago
you can also try adding that parameter to the end of the start command as stated by brody
a year ago
@DaFelix
a year ago
but it wont do any miracles lol
a year ago
friendship ended with medim, now fragly and grid are my best friends
a year ago
i can confirm that swapping in mariadb saves about 100-150mb of memory overhead
Technically it should help if there is little to no traffic right?
2 months ago
oh yea for sure, that is definitely an option
heads up though, as far as I know the private network doesn't pair well with serverless yet
2 months ago
it can, your application just needs to have seamless reconnect retries, but easier said than done depending on the application
2 months ago
!s
Status changed to Solved brody • 2 months ago