Hacker News new | ask | show | jobs
by CodesInChaos 1158 days ago
> we need to depart from this strategy in the long run

What's the alternative you want to move to?

1 comments

Probably a custom PostgreSQL extension for BSON support.

The biggest issue right now is that MongoDB compares and sorts values differently than PostgreSQL/jsonb. For that reason, we have to do a lot of filtering on the FerretDB side, and that can't be great for performance. Pushing more work on the database size should make FerretDB perform much better.