score:5
Is this a known limitation of PhantomJS?
Yes, it is an expected limitation, because PhantomJS uses the same WebKit engine for everything and since JavaScript is single-threaded, this effectively means that every request will be handled one after the other (possibly interlocked), but never at the same time. The average overall time will increase linearly with each client.
The documentation says:
There is currently a limit of 10 concurrent requests; any other requests will be queued up.
There is a difference between the notions of concurrent and parallel requests. Concurrent simply means that the tasks finish non-deterministically. It doesn't mean that the instructions that the tasks are made of are executed in parallel on different (virtual) cores.
Is there a way around it?
Other than running your server tasks through child_process, no. The way JavaScript supports multi-threading is by using Web Workers, but a worker is sandboxed and has no access to require
and therefore cannot create pages to do stuff.
Source: stackoverflow.com
Related Query
- PhantomJS with embedded web server uses only one CPU
- highcharts - removing decimal places on Y axis with only one point
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- yAxis calculated with one series only
- Highcharts: Series with plotlines. Show only one series at a time
- highcharter: Fixing x-axis labels in a column chart with only one column
- Highchart live server example uses a lot cpu
- Highcharts with data populated by php generated html table - only one will load
- How to render a bar chart with different series with only one entry per category in HighCharts
- High Charts for an area-spline chart with area fill on only one data set in series
- Error with PhantomJS when installing Highcharts export server on Azure VM (Ubuntu 20.04)
- R highcharter - grouped categories - missing label for group with one value only
- Using multiple hicharts on ASP.NET web form but only one shows on the upper section of the page pushing the page header down
- Remove spaces between axes and columns in Highcharts with only one category
- Exporting Charts on server side with Highcharts and PhantomJS to make a custom PDF
- Highchart - change color of one x-axis label only
- How to save an image of the chart on the server with highcharts?
- HighCharts - two Y-axis, one with max value
- Disable marker hover in only one marker of highchart
- I can't make Highcharts phantomJs export server work
- Adding only one clickable point to the chart in Highcharts?
- exporting highcharts polar chart to PDF with phantomjs
- Highcharts phantomjs export server can't parse json string
- Only one highcharts using react-grid-layout can resize
- Two pies, one legend with unique items (merge legends)
- Highcharts - Global configuration with common code and unique data & Headings
- Highchart: Only show one series at a time
- angular2-chartjs/chartjs-plugin-annotation update options only one time
- Change height of Highcharts with JavaScript. By default only re-sizes on window re-size
- Highcharts async Server Loading with multiple series
More Query from same tag
- Highstocks individual pane shadow
- Transform an object array to an array
- How to add lines between individual data points?
- highcharts tooltip shows scroll bar
- Formatting Tooltip of Values >1000
- Motion in drilldown bubble chart Highcharts
- Highcharts Label Date Format
- Adding export-to-csv option onto Highcharts chart as a client user?
- HighCharts populate Pie Chart with data from SQL Database
- Disables Crosshair for one series of two
- Enable/Disable `Navigator` pane in Highchart
- Highcharts - time off by 1 hour
- How can I make preset json data ready to be used in my highchart?
- Responsive meteogram (icons) highcharts
- Highcharts skip columns when plotting
- Setting tick interval dynamically in highstock chart
- Pie chart slice radius using HighCharts library
- Adding data to highstocks by pushing array
- Show average in highcharts graph as column
- Issue on Setting Up Highchats.js Index of Chart
- Highcharts x-axis label automatic grouping
- Highcharts GANTT Chart Tooltip Mouse-over Tracking Issue
- Highcharts.js - placing text into the center of donut
- Dynamic Highcharts with maximum xaxis points
- How to set different background colors of yAxis headers in highcharts?
- How to set multiple xAxis.labels.align in HighCharts?
- Reading a CSV with Highchart
- How to set a function to the max value in boxplot highcharts
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- HighCharts ios Disable Initial Animation