5 ms·
You can have multi-threaded OCaml (our server actually has two threads), but only one can run at a time currently. We solve this problem by having a multi-proce
by sinancepel 8y ago
You can have multi-threaded OCaml (our server actually has two threads), but only one can run at a time currently. We solve this problem by having a multi-process architecture where workers only communicate through a lock-free hash table in shared memory.
- leshow 8y agoIs it fair to say that it runs in parallel if only one thread may run at a time? Isn't that concurrent, but not parallel?
- platinumrad 8y agoBoth responses to your original question mention that multiple processes are run.
- deleted 8y ago[deleted]