Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Laravel Queue の運用管理 / laravel-queue-20190318

Laravel Queue の運用管理 / laravel-queue-20190318

Masato Igarashi

March 18, 2019
Tweet

Other Decks in Technology

Transcript

  1. public function updateItem($id, Request $request) { $item = Item::findOrFail($id); $item->name

    = $request->input('name'); $item->save(); } public function updateItem($id, Request $request) { dispatch(new UpdateItem($id, [ 'name' => $request->input('name'); ])); } ίʔυͷมԽ
  2. )PSJ[POͱ5FMFTDPQFͷҧ͍ )PSJ[PO 5FMFTDPQF 4VNNBSZ 3FEJTΩϡʔઐ༻ͷ
 ϞχλϦϯάπʔϧ -BSBWFM಺ͷঢ়ଶΛ೺ѲͰ͖Δ ։ൃ༻σόοάπʔϧ 5BSHFU&OW 1SPEVDUJPO

    %FWFMPQNFOU 7FSTJPO -ʙ -ʙ 2VFVF 3FEJTPOMZ "MM JODMVEF4ZOD 3FUSZ'BJMFE+PC ˓ ☓ 4IPX+PC4UBUVT ˚ 3FDFOUPOMZ ˓
  3. ๻͕ͨͪٻΊͯΔ΋ͷ )PSJ[PO 5FMFTDPQF ཉ͍͠΋ͷ 4VNNBSZ ϞχλϦϯά σόοά ϞχλϦϯά
 ϩΪϯά 5BSHFU&OW

    1SPEVDUJPO %FWFMPQNFOU 1SPEVDUJPO 7FSTJPO -ʙ -ʙ - 2VFVF 3FEJTPOMZ "MM JODMVEF4ZOD "MM 3FUSZ'BJMFE +PC ˓ ☓ ˓ 4IPX+PC 4UBUVT ˚ 3FDFOUPOMZ ˓ ˓