Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私たちのアーキテクチャでは、各モジュールはrabbitmqを使用して互いに通信します。したがって、私たちの状況では、モジュールがデータベースにアクセスしたい場合、まず、rabbitmq を使用して rpc リクエストを呼び出し、データベースに接続するモジュールが json のような文字列を返します。
私の質問は、データベースへのアクセスには良い考えですか? または、データベースをサービスにする良いアイデアはありますか?