Convert a part of existing PHP code to C+ code with multithreading
Thanh toán khi bàn giao
Please see attached project which is currently using PHP and xampp local web server.
***PLEASE NOTE - the only thing to covert to C++ code is the "write to file" button, not the entire script****
1) Copy the existing php combine script that runs when pressing "write to file" and convert to C++ code that supports multi threading.
This is the part of the script that happens when pressing the "write to file" button.
2) Please add a new button under "write to file" button that is "write to file C++" that will launch the new combine process using C++ instead of php.
The goal of this is to write to disk faster than php is able to using all available cores/threads of the cpu.
For example, when the script has this kind of data:
2,196 lines | 196 lines | 6,585 lines | 2,834,289,360 lines
The file generated by "write to file" will be around 600gb. Right now on Windows 11 pro, with 16 core cpu, if writing 600gb with script takes 10 minutes with current php version that is not multithreaded, the goal would be to get the C++ script to write the file faster if possible.
This is not a requirement, but for anyone that feels adventurous, if you are the first person that contacts me with a working code example that is able to reduce the file generation time of a 600gb file by 40% or more and you can show an example video, I will probably award the project to you if the code is good and the speed increase is reproducible!
Thank you for taking the time to look!
ID dự án: #37473970
Về dự án
34 freelancer chào giá trung bình$327 cho công việc này
Hello, I'm interested in your project. So, I have checked your description well and I can start working on your project. Contact me with all the details and requirements for your project.