Skip to content

Instantly share code, notes, and snippets.

View nickpoulos's full-sized avatar

Nick Poulos nickpoulos

View GitHub Profile
@nickpoulos
nickpoulos / concurrent-pool.php
Last active November 23, 2021 04:44 — forked from tonysm/concurrent-pool.php
[Concurrent Requests] Concurrent Pools Using Laravel #php #laravel
<?php
// 1. Register the routes
Route::get('test/{lorem}', function ($lorem) {
sleep(3);
return response()->json([
'message' => $lorem,
'token' => Str::random(),
]);