pluribus-poker-bot-js
pluribus-poker-bot-js copied to clipboard
Solutions to use NodeJS with multiple cores with a shared memory
Hello,
Here's some threads and projects that could help to have pluribus-poker-bot-js working with multiple cores in a shared memory environement:
https://github.com/nodejs/help/issues/560 https://github.com/nodejs/node/issues/14158
https://www.npmjs.com/package/@markusjx/shared_memory https://github.com/Microsoft/napajs/ https://www.npmjs.com/package/mmap-object https://github.com/audreyt/node-webworker-threads
I will try to test which solution fit the best for this project and give you my feedback, any help would be welcome thanks ;)
Also, I would like to know if issues of hands that aren't played correctly have been resolved or not please?
Regards.
Hi @Mudr0x , thanks for this. Did you find a solution to run my code multi-threaded with shared memory? Please contact me at [email protected], we can have a chat and figure this out.
It would be cool to make a combined effort. Maybe in C++ because of shared memory and because Python is pretty slow.
Hi, yes now NodeJS has a good way to run in multi-threaded with ‘workers’. I have already succeed to run your code with workers and it’s really running much faster and now I’m working to share the treeMap{} result between workers in a shared array memory object, when I succeed to finish this I will share my code.
From: Wijnand @.> Sent: Sunday, August 15, 2021 6:05 PM To: @.> Cc: @.>; @.> Subject: Re: [Karsens/pluribus-poker-bot-js] Solutions to use NodeJS with multiple cores with a shared memory (#2)
Hi @Mudr0xhttps://github.com/Mudr0x , thanks for this. Did you find a solution to run my code multi-threaded ? Please contact me at @.@.>, we can have a chat and figure this out.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Karsens/pluribus-poker-bot-js/issues/2#issuecomment-899071909, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS2RSZ6S4UD5XJ4QPYPXDJLT47QSZANCNFSM5AQ5ZC5A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
Let me just drop this, if anyone would join, we could impl. this https://github.com/nodejs/help/issues/560#issuecomment-993832308