# How to run a HTTP.jl server in parallel, while doing computations in the foreground?

**URL:** https://discourse.julialang.org/t/how-to-run-a-http-jl-server-in-parallel-while-doing-computations-in-the-foreground/101889
**Category:** General Usage
**Tags:** multithreading, server, httpjl
**Created:** [July 21, 2023, 1:57pm UTC](https://discourse.julialang.org/t/how-to-run-a-http-jl-server-in-parallel-while-doing-computations-in-the-foreground/101889 "2023-07-21T13:57:31Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![algunion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/algunion/32/51630_2.png) [@algunion](https://discourse.julialang.org/u/algunion)
#### Post date: [July 21, 2023, 9:31pm UTC](https://discourse.julialang.org/t/how-to-run-a-http-jl-server-in-parallel-while-doing-computations-in-the-foreground/101889/12 "2023-07-21T21:31:15Z")

</div>

> [@dlakelan](#):
>
> EDIT: another issue might be contention over output resources. If the thing you’re trying to spawn is supposed to spew some stuff to stdout it might just block waiting to get a lock on the output or something similar.

I hoped that is the culprit - this is why I designed my experiment slightly differently [here](https://discourse.julialang.org/t/communication-between-tasks-dependent-on-free-main-thread/101911).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-run-a-http-jl-server-in-parallel-while-doing-computations-in-the-foreground/101889)._
