pg-boss icon indicating copy to clipboard operation
pg-boss copied to clipboard

Use pg-boss with postgres.js

Open StarpTech opened this issue 2 years ago • 7 comments

Hello, it would be great if pg-boss could support porsager/postgres because it is very popular. I tried to make it work but I gave up after an hour. Any help is appreciated.

StarpTech avatar Aug 27 '23 16:08 StarpTech

You can pass in porsager's project via the db option in the constructor if you want. In terms of popularity, one of these is not like the other: image

timgit avatar Aug 30 '23 20:08 timgit

It's not only about popularity although 60k a month is definitely worth supporting. We use postgres. For us, it would be great to deal with one library instead of two. I tried implementing db interface but wasn't able to make it.

StarpTech avatar Aug 30 '23 20:08 StarpTech

How does the dependency on pg affect your usage?

timgit avatar Aug 30 '23 21:08 timgit

Not directly, but if I could only use postgres.js I'd have a single way to configure TLS and pool management. Postgres drivers are complex. One thing less to worry about.

StarpTech avatar Aug 30 '23 22:08 StarpTech

@StarpTech @timgit Same situation here. Also porsager authors claim their driver has top performance by far.

StepanMynarik avatar Mar 25 '24 20:03 StepanMynarik