Slow external API calls made in a foreach - How to optimize?

This page summarizes the projects mentioned and recommended in the original post on /r/laravel

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • crypto-tracker

  • You can run a command as a daemon and save the currencies in cache every second. See a similar solution: https://github.com/mateusjatenee/crypto-tracker/blob/master/app/Console/Commands/FetchCoinsPrices.php

  • fork

    A lightweight solution for running code concurrently in PHP

  • The only way you could improve this is by using something like Spatie Fork to run the API requests in parallel but doing that is honestly going to be a headache.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Handling big API request (2.5gb) without timeout

    2 projects | dev.to | 25 Aug 2022
  • What is best and easiest library (packagist) for async process in PHP?

    4 projects | /r/PHP | 10 Apr 2021
  • A pattern for promises in Laravel?

    1 project | /r/laravel | 1 Feb 2021
  • FusionCache Is Now v1.0

    1 project | news.ycombinator.com | 17 Mar 2024
  • Open Swoole: PHP Server with Async IO, Coroutines and Fibers

    1 project | news.ycombinator.com | 12 Feb 2024