![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/f3189f30-f8c8-4c4f-b957-e3a7bfd1c784.png)
1·
1 year agoTrue, but that would likely require some code changes in Lemmy to segregate read queries and avoid using the replica if it’s a transaction that might read and write.
True, but that would likely require some code changes in Lemmy to segregate read queries and avoid using the replica if it’s a transaction that might read and write.
If Postgres becomes the bottleneck I wonder whether something like Citus could work to shard the data (relatively) transparently?
It’s been very snappy today, nice work! Is it all under Docker Compose with the node handling Nginx and Postgres as well?