Experimental Evaluation of the PHP's cURL Library Performance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Kalmukov, Yordan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917654788308992
author Kalmukov, Yordan
author_facet Kalmukov, Yordan
contents cURL (libcurl) is a popular and widely used library distributed with the php interpreter. It allows php applications to connect to and communicate with external resources (servers) by using wide variety of communication protocols. In most cases it is the preferred way of consuming external REST web services. Programmers usually use it for granted without even thinking of any performance issues. During an experimental analysis of the Hadoop's WebHDFS API throughput, it has been noted that read (download) speed from WebHDFS reduces with increasing the file size. However, this issue does not happen when writing to WebHDFS. Since the communication between the php application and the WebHDFS API is handled by the php's cURL library, then the cause of the download speed decrease could be either the cURL library itself or the API. This paper presents a series of experimental analyses aiming to determine the cause of the download speed decrease in previous experiments - whether it is the WebHDFS API or the php's cURL library. Both parties are tested in multiple ways separately and independently of each other. Results clearly prove (in two different ways) that the cause of the download speed decrease is the php's cURL library itself, not the consumed API.
format Preprint
id arxiv_https___arxiv_org_abs_2405_00001
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Experimental Evaluation of the PHP's cURL Library Performance
Kalmukov, Yordan
Distributed, Parallel, and Cluster Computing
68M14 (Distributed systems), 68M20 (Performance evaluation), 68M11 (Internet topics)
cURL (libcurl) is a popular and widely used library distributed with the php interpreter. It allows php applications to connect to and communicate with external resources (servers) by using wide variety of communication protocols. In most cases it is the preferred way of consuming external REST web services. Programmers usually use it for granted without even thinking of any performance issues. During an experimental analysis of the Hadoop's WebHDFS API throughput, it has been noted that read (download) speed from WebHDFS reduces with increasing the file size. However, this issue does not happen when writing to WebHDFS. Since the communication between the php application and the WebHDFS API is handled by the php's cURL library, then the cause of the download speed decrease could be either the cURL library itself or the API. This paper presents a series of experimental analyses aiming to determine the cause of the download speed decrease in previous experiments - whether it is the WebHDFS API or the php's cURL library. Both parties are tested in multiple ways separately and independently of each other. Results clearly prove (in two different ways) that the cause of the download speed decrease is the php's cURL library itself, not the consumed API.
title Experimental Evaluation of the PHP's cURL Library Performance
topic Distributed, Parallel, and Cluster Computing
68M14 (Distributed systems), 68M20 (Performance evaluation), 68M11 (Internet topics)
url https://arxiv.org/abs/2405.00001