[go-nuts] Re: Golang ORM Performances

2024-12-21 Thread Jason E. Aten
Bhavesh, Go is great for big projects. You don't say specifically which part is slow, nor which database you are using, so it is hard to give specific advice. You should measure and profile to see what part of your process is taking a long time. Go has great profiling tools. That's one of the re

[go-nuts] Re: Golang ORM Performances

2024-12-19 Thread 'Brian Candler' via golang-nuts
I am not a fan of ORMs. Application performance problems are usually down to poorly formed SQL queries (and/or lack of supporting indexes), which ORMs can mask or amplify. For an alternative approach, have a look at https://github.com/sqlc-dev/sqlc In short, you write the set of SQL queries to