alexisdessard
Memory usage even when not using nextjs app
Thanks a lot Brody.
Sorry one more question: I just added these variables:
- MARIADB_PRIVATE_HOST
- MARIADB_PRIVATE_PORT
My config from NestJS/TypeORM looks now like this:
export default registerAs('orm.config', (): TypeOrmModuleOptions => ({
type: 'mariadb',
host: process.env.MARIADB_PRIVATE_HOST,
port: Number(process.env.MARIADB_PRIVATE_PORT),
username: process.env.MARIADB_USER,
password: process.env.MARIADB_PASSWORD,
database: process.env.MARIADB_DATABASE,
...)}
But I also see a variable named "MARIADB_PRIVATE_URL", should I use it or this current config using private host and port is enough to avoid extra egress fees?
24 replies
Memory usage even when not using nextjs app
I have a doubt about your comment here.
From the server, should I put the variable MARIADB_HOST or MARIADB_PRIVATE_HOST to reduce egress fees?
And why are they two different variables (private or not) ?
24 replies
Memory usage even when not using nextjs app
Hello, exactly the same issue for me so I thought it'd be better to comment here instead of creating a new post.
I understand that MySQL would be the problem and MARIADB the solution, gonna try to use it right now, but someone could explain me as a kid how the memory usage works?
I also had to pay 10$ for the memory usage without having launched my product so I'm scared this memory usage increases for each new users and I have no idea if each of the users would cost me 10$ (i guess no) or if they will barely increase the memory usage.
24 replies