Abrir Fechadas

I want to separate DB read and write endpoints. #4870


User avatar
0
portx-dev criada

I want to separate DB read and write endpoints. Is such a thing possible with the standard features? The objective is load balancing.

env: ABP Commercial 7.1


4 resposta (s)
  • User Avatar
    0
    liangshiwei criada
    Equipe de Apoio Fullstack Developer

    Abp does not provide out-of-the-box read-write separation.

    You can see: https://github.com/abpframework/abp/issues/7120 and https://github.com/abpframework/abp/issues/3838

  • User Avatar
    0
    portx-dev criada

    Thank you very much.

    I have checked and it looks like it can be done with some customization. I am aware that this customization is not too difficult, is that correct?

  • User Avatar
    0
    liangshiwei criada
    Equipe de Apoio Fullstack Developer

    Hi,

    Yes, you can try to implement it.

    Just an idea, You can customize the IReadOnlyRepository and switch the connection string to the read-only database.

  • User Avatar
    0
    portx-dev criada

    thx

Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11