Mike Martin

Results 21 comments of Mike Martin

@mavilein I'm attempting to implement the pattern you described in which you route `/management` to prisma-primary and all other routes `*` to prisma-primary and prisma-secondary. I'm unable to implement that...

Hey @emmenko if you have a fairly generic kubernetes template for prisma with support for horizontal scaling, would you mind posting it or submitting a PR against https://github.com/prismagraphql/prisma-templates ? The...

My suggestion was to issue `USE database_name;` on the database connection before issuing the query in `executeRaw`, but I guess that requires that you either: A) Don't share database connections...

And in case anyone's wondering, I already tried doing this: ``` mutation { executeRaw( query: "USE `default@default`; SELECT * FROM User LIMIT 1;" ) } ``` and I get the...

It looks like postgres always connects you to 1 and only 1 DB, so this may be a MySQL connector issue. Not sure about Prisma+Postgres yet. Please someone try with...

FYI prior art (sequelize): ``` var sequelize = new Sequelize('database', null, null, { dialect: 'mysql', port: 3306 replication: { read: [ { host: '8.8.8.8', username: 'anotherusernamethanroot', password: 'lolcats!' }, {...

@dpetrick's approach works well for me. RDS Aurora automatically creates 2 endpoints and load balances the read-only traffic for you, so there's no need for an array, 1 url each...

@joonhocho Please accept this and update npm. Thank you!

I think the only rationale is that they're currently 2 separate templates. I would personally love it if you could rejigger the templates to use the same VPC because I've...