title: Laravel API speed (too slow)
body: <p>i'm trying to develop an API to store alarms coming from several applications into a database. I'm developing the api with Laravel. </p>
  
  <p>I've made a C program which makes multiple post requests to the API in order to see how many request can the laravel api process. </p>
  
  <p>I have the following route in api.php</p>
  
  <pre><code>Route::post('/alarm', 'Api\v1\AlarmController@store');
  </code></pre>
  
  <p>In my controller i have made the store function which stores the alarm values received in the post request into the database</p>
  
  <pre><code>function store(Request $request)
      {
  
          $content = $request-&gt;getContent();
  
         $json_content = json_decode($content);
  
          $id = $this-&gt;alarm_model-&gt;newAlarm($json_content);
  
          echo '{ "result": '.$id.', "msg":'.$content.' }';
  
      } 
  </code></pre>
  
  <p>Then i have a Alarm model which stores the json values in the database alarm table. </p>
  
  <p>If i make 1000 requests it is not able to process all of them. I get HttpSendRequest Error : 12002 Internet Timeout</p>
  
  <p>Am I doing something wrong? How many requests per second allows Laravel framework? </p>