Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"running on multicore monster"

Just curious, but how do you take advantage of the multiple cores? Are you using a language that handles concurrency directly, with something like threads? If you use a language that has historically been single threaded (Ruby, PHP, partially Python) do you use multiple processes? If you use multiple processes, what manages the processes? What can spin up additional processes? And when you talk about a "multicore monster" what are you actually running there, the application or the web server or both? If the web server runs elsewhere, how does it connect to the app? Do you have something else to load balance the web server itself?



I write multi-threaded servers in languages like C++/C/FreePascal/Java. As how to properly write multi threaded applications that take advantage of multiple cores? Well I think it is beyond the scope of this discussion. I have no desire to write lengthy articles. It takes experience anyways and ff you do not already know how to do it putting few words in newsgroup is not going to help.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: