Julia Genie API - handling multiple requests


I’m using Genie.jl as a web server which basically contains some API endpoints that do some calculations using the provided JSON request data. One of these calculations can take up to a minute or two and I’ve noticed when doing simultaneous requests, it will block the running of one of them.

Does Genie support multiprocessing/threading (I assume this is what I’d need to handle this)? I’m not sure whether this behaviour would be correct but I imagine what I want is each time a request is made a new calculation process is spawned, where each calculation process utilises it’s own CPU core?

Thanks for your help :slight_smile: