タグ

2021年8月10日のブックマーク (2件)

  • トランザクション — Redis Documentation (Japanese Translation)

    トランザクション¶ MULTI, EXEC, DISCARD および WATCH は Redis におけるトランザクションの基です。これらは、複数のコマンドの実行をひとつのステップで行えるようにします。その際、2 つの重要な点が保証されます。 トランザクション中のすべてのコマンドは直列化され、順に実行されます。他のクライアントにより発行されたリクエストが、Redis トランザクションの 途中に 入り込むことはありません。このことは、コマンド群がひとつの隔離されたオペレーションとして実行されることを保証します。 すべてのコマンドが実行されるか、ひとつも実行されないかのいずれかであり、すなわち Redis のトランザクションはアトミックです。 EXEC コマンドはトランザクション中の全コマンドの実行のトリガです。もし、クライアントがトランザクションの途中で、 MULTI [訳注: EXEC

    ikosin
    ikosin 2021/08/10
  • Transactions – Redis

    How transactions work in Redis Redis Transactions allow the execution of a group of commands in a single step, they are centered around the commands MULTI, EXEC, DISCARD and WATCH. Redis Transactions make two important guarantees: All the commands in a transaction are serialized and executed sequentially. A request sent by another client will never be served in the middle of the execution of a Red

    ikosin
    ikosin 2021/08/10