# Web Stack

**URL:** https://discourse.julialang.org/c/domain/web/28.md?page=3

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 4

---

## [I am noob, how do I keep the HTTP server running if I want to start it from the command line?](https://discourse.julialang.org/t/i-am-noob-how-do-i-keep-the-http-server-running-if-i-want-to-start-it-from-the-command-line/95136)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 6\
**Last updated:** [February 24, 2023, 9:47pm UTC](https://discourse.julialang.org/t/i-am-noob-how-do-i-keep-the-http-server-running-if-i-want-to-start-it-from-the-command-line/95136 "2023-02-24T21:47:01Z")

</div>

I have a very simple HTTP server that I want to run server.jl using Pkg Pkg.add("HTTP") using HTTP # if false ENV\["PORT"\] = "8080" # end print(ENV\["PORT"\]) const PORT = parse…

---

## [Reactive UI that does not stop tasks after page refresh/close](https://discourse.julialang.org/t/reactive-ui-that-does-not-stop-tasks-after-page-refresh-close/94455)

<div class="topic-metadata">

**Author:** [@wiseac](https://discourse.julialang.org/u/wiseac)\
**Replies:** 0\
**Last updated:** [February 11, 2023, 5:33am UTC](https://discourse.julialang.org/t/reactive-ui-that-does-not-stop-tasks-after-page-refresh-close/94455 "2023-02-11T05:33:40Z")

</div>

Hello, I’m trying to get into using a reactive web ui like Stipple.jl to create a Web UI that can control an analytical instrument. My main problem is i do not know how to keep a function running on the backend when the…

---

## [Web server with latency-sensitive and compute-heavy task separate thread pools](https://discourse.julialang.org/t/web-server-with-latency-sensitive-and-compute-heavy-task-separate-thread-pools/93949)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 12\
**Last updated:** [February 10, 2023, 9:32am UTC](https://discourse.julialang.org/t/web-server-with-latency-sensitive-and-compute-heavy-task-separate-thread-pools/93949 "2023-02-10T09:32:03Z")

</div>

I need to set up a web server that mainly serves requests which are computationally heavy and multithreaded, but should remain responsive to health checks (from a Kubernetes cluster) which are latency sensitive. I want t…

---

## [WebSocket Heartbeat](https://discourse.julialang.org/t/websocket-heartbeat/54291)

<div class="topic-metadata">

**Author:** [@MasFlam](https://discourse.julialang.org/u/MasFlam)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 10:41pm UTC](https://discourse.julialang.org/t/websocket-heartbeat/54291 "2023-02-08T22:41:05Z")

</div>

The websockets Discord API expects clients to send a “heartbeat” every X milliseconds (it’s around a minute) to keep the connection alive. How can I (using WebSockets.jl or the HTTP.WebSockets module) send a websocket me…

---

## [A package for sentry.io integration - looking for testers](https://discourse.julialang.org/t/a-package-for-sentry-io-integration-looking-for-testers/64961)

<div class="topic-metadata">

**Author:** [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Replies:** 8\
**Last updated:** [January 24, 2023, 10:41am UTC](https://discourse.julialang.org/t/a-package-for-sentry-io-integration-looking-for-testers/64961 "2023-01-24T10:41:05Z")

</div>

A little while ago I wrote a package SentryIntegration.jl to interface with Sentry (https://sentry.io) and I wanted to let people know of it in case it helps others and to get some feedback. A quick description on Sentr…

---

## [Genie docs, tutorials, guidelines](https://discourse.julialang.org/t/genie-docs-tutorials-guidelines/90909)

<div class="topic-metadata">

**Author:** [@gudyrmik](https://discourse.julialang.org/u/gudyrmik)\
**Replies:** 5\
**Last updated:** [December 10, 2022, 10:36am UTC](https://discourse.julialang.org/t/genie-docs-tutorials-guidelines/90909 "2022-12-10T10:36:11Z")

</div>

Hello Julians! I’m designing an analytical financial application and I want all parts to be in pure-Julia. So my question is: what is the most developed and known tutorial for Genie at the moment? I’m not completely n…

---

## [Use middleware to log time it takes client to receive response](https://discourse.julialang.org/t/use-middleware-to-log-time-it-takes-client-to-receive-response/91250)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [December 7, 2022, 6:24pm UTC](https://discourse.julialang.org/t/use-middleware-to-log-time-it-takes-client-to-receive-response/91250 "2022-12-07T18:24:05Z")

</div>

I’m trying to understand how to use HTTP.jl’s middleware to log the amount of time between two distinct events: The server started sending the response The client received it The following MWE doesn’t accomplish this,…

---

## [Download file with multiple connections](https://discourse.julialang.org/t/download-file-with-multiple-connections/91110)

<div class="topic-metadata">

**Author:** [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 6:18pm UTC](https://discourse.julialang.org/t/download-file-with-multiple-connections/91110 "2022-12-01T18:18:13Z")

</div>

Hey, while testing a downloading script in python, I also wanted to check if Julia behaves similarly, but could not figure out how to do a script that: downloads a big file from the internet (\>5GB) has a progress mete…

---

## [Linux raw socket](https://discourse.julialang.org/t/linux-raw-socket/91044)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 5\
**Last updated:** [November 30, 2022, 4:45pm UTC](https://discourse.julialang.org/t/linux-raw-socket/91044 "2022-11-30T16:45:15Z")

</div>

Is there a way to open a raw linux socket through Julia? From the documentation, it seems that the answer to my question is no, but I wanted to double check.

---

## [Dash Julia: Processing Multiple Near-Simultaneous Requests](https://discourse.julialang.org/t/dash-julia-processing-multiple-near-simultaneous-requests/72106)

<div class="topic-metadata">

**Author:** [@grahamstark](https://discourse.julialang.org/u/grahamstark)\
**Replies:** 5\
**Last updated:** [November 25, 2022, 10:09pm UTC](https://discourse.julialang.org/t/dash-julia-processing-multiple-near-simultaneous-requests/72106 "2022-11-25T22:09:41Z")

</div>

Hi, I have a little simulation in Dash that takes ~20 seconds to run. Is there a trick that would allow the Dash app to run multiple requests simultaneously? From what I can see, Dash just queues up multiple requests an…

---

## [Setting a cookie in http.jl so as to start a session](https://discourse.julialang.org/t/setting-a-cookie-in-http-jl-so-as-to-start-a-session/88572)

<div class="topic-metadata">

**Author:** [@grahamstark](https://discourse.julialang.org/u/grahamstark)\
**Replies:** 1\
**Last updated:** [October 20, 2022, 2:27am UTC](https://discourse.julialang.org/t/setting-a-cookie-in-http-jl-so-as-to-start-a-session/88572 "2022-10-20T02:27:50Z")

</div>

Hi, I appreciate this will seem obvious to those in the know, but could someone post an example of how to add a cookie server-side to a response that can be used as a session identifier? As a kind of middleware, I think…

---

## [Implement a REST server in Julia?](https://discourse.julialang.org/t/implement-a-rest-server-in-julia/9117)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 19\
**Last updated:** [October 17, 2022, 2:20am UTC](https://discourse.julialang.org/t/implement-a-rest-server-in-julia/9117 "2022-10-17T02:20:48Z")

</div>

I would like to build a REST API for a Julia code. I am currently evaluating whether I use also Julia to implement the REST server or if I use another language (e.g. Python) for the server part. These are the package th…

---

## [Migrating old html posts to Franklin](https://discourse.julialang.org/t/migrating-old-html-posts-to-franklin/87214)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 3:52pm UTC](https://discourse.julialang.org/t/migrating-old-html-posts-to-franklin/87214 "2022-09-13T15:52:36Z")

</div>

I would like to migrate my old Hugo-based setup to Franklin. I am not going to re-edit the Markdown files, so I just want to copy over everything (generated HTML) in post/ so that the old links indexed in search engines…

---

## [Return from Websockets.open do block](https://discourse.julialang.org/t/return-from-websockets-open-do-block/86879)

<div class="topic-metadata">

**Author:** [@Tharsalys](https://discourse.julialang.org/u/Tharsalys)\
**Replies:** 3\
**Last updated:** [September 8, 2022, 5:35am UTC](https://discourse.julialang.org/t/return-from-websockets-open-do-block/86879 "2022-09-08T05:35:12Z")

</div>

I have a scenario in which I’m intentionally sending a wrong message to a websocket and it returns me the right input; I need to parse and store the right input and use it across the application. But I can’t return it. H…

---

## [TLS Support Questions](https://discourse.julialang.org/t/tls-support-questions/84004)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 5\
**Last updated:** [September 2, 2022, 6:24am UTC](https://discourse.julialang.org/t/tls-support-questions/84004 "2022-09-02T06:24:20Z")

</div>

Currently HTTP.jl hard-codes a dependency on MbedTLS.jl for TLS support; it has served us decently over the years, but there have always been a lingering set of errors that crop up that are very difficult to debug; eithe…

---

## [HTTP.jl: How to post a series of json strings over a live connection](https://discourse.julialang.org/t/http-jl-how-to-post-a-series-of-json-strings-over-a-live-connection/85572)

<div class="topic-metadata">

**Author:** [@mst](https://discourse.julialang.org/u/mst)\
**Replies:** 2\
**Last updated:** [August 10, 2022, 12:26pm UTC](https://discourse.julialang.org/t/http-jl-how-to-post-a-series-of-json-strings-over-a-live-connection/85572 "2022-08-10T12:26:04Z")

</div>

Hello, I have a vector v where each element is a valid json string: v = \[json1, json2, ..., jsonN\] using HTTP.jl, I open a connection to a url and post each json in v: for json ∈ v HTTP.post(url, headers, json) end…

---

## [Slow HTTP.jl requests when SSL is enabled](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183)

<div class="topic-metadata">

**Author:** [@karelh](https://discourse.julialang.org/u/karelh)\
**Replies:** 9\
**Last updated:** [August 9, 2022, 2:00pm UTC](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183 "2022-08-09T14:00:12Z")

</div>

I am using HTTP.jl library to download large files over an encrypted connection (via AWSS3 to connect to an S3-enabled datastore). I have found out that the performance is greatly degraded when encrypted connection is us…

---

## [How to deploy MVC server to Nginx](https://discourse.julialang.org/t/how-to-deploy-mvc-server-to-nginx/85363)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 4:53pm UTC](https://discourse.julialang.org/t/how-to-deploy-mvc-server-to-nginx/85363 "2022-08-08T16:53:42Z")

</div>

I tried following the tutorial at the link below to set up Nginx with my website, but I am confused about what folder to pick as the Nginx config root since my landing html page is in the /app/resources/resource/views, n…

---

## [How to add WebSocket to Genie Site?](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 5\
**Last updated:** [August 5, 2022, 3:58pm UTC](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976 "2022-08-05T15:58:54Z")

</div>

The Genie.jl documentation does not seem to have any information as to how to include a websocket in a web app, all the examples are just from the command line. I have a website composed of html and javascript in a webap…

---

## [Can't Install Julia Packages on AWS Lightsail Ubuntu](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 3:17pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301 "2022-08-05T15:17:24Z")

</div>

I am trying to create a Genie.jl website hosted with Amazon, but when I try to install the required packages, the process is killed. The image below demonstrates this when trying to install the CSV package. Any help fixi…

---

## [How to use custom back end model with Genie MVC app?](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 6:45pm UTC](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257 "2022-08-03T18:45:47Z")

</div>

I am trying to use Genie to create a MVC structured web application, but I have not figured out how to include something other than a database retrieval system for the model. I have read the entire documentation and the…

---

## [Wrapping the API for themoviedb.org](https://discourse.julialang.org/t/wrapping-the-api-for-themoviedb-org/84281)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 4:22pm UTC](https://discourse.julialang.org/t/wrapping-the-api-for-themoviedb-org/84281 "2022-07-15T16:22:50Z")

</div>

While looking at the movielens.org ml-25m data set (see ml-25m - Downloading and examining the MovieLens 25m data) I encountered an online movie/tv-show database called themoviedb.org that provides a public API, API Over…

---

## [DatePicker event handler not working](https://discourse.julialang.org/t/datepicker-event-handler-not-working/84257)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 1\
**Last updated:** [July 15, 2022, 8:35am UTC](https://discourse.julialang.org/t/datepicker-event-handler-not-working/84257 "2022-07-15T08:35:47Z")

</div>

I’m able to perform some action when the button is pressed but not when the daterange changes: using Stipple using StippleUI using StipplePlotly using Random palette = \[ "#e61c4c", "#004976", "#3fa535", …

---

## [Canvas in Stipple.jl](https://discourse.julialang.org/t/canvas-in-stipple-jl/83887)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 9:38am UTC](https://discourse.julialang.org/t/canvas-in-stipple-jl/83887 "2022-07-07T09:38:39Z")

</div>

Is there a canvas in Stipple.jl where programatically generated reactive SVGs can be displayed like konvajs? Similar to GtkReactive.jl?

---

## [How download file with Stipple (Genie)](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 12:28am UTC](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760 "2022-07-05T00:28:05Z")

</div>

Does anyone know how?

---

## [How do I put a plot in a Blink (electron) desktop application?](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404)

<div class="topic-metadata">

**Author:** [@davidwallis](https://discourse.julialang.org/u/davidwallis)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 3:09am UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404 "2022-06-29T03:09:01Z")

</div>

Very basic question, but I’ve spent all afternoon looking for an answer. I want to make a cross-platform desktop application and I thought I’d try Blink.jl. I can run the example and create a hello world program appearin…

---

## [FastAPI alternative in Julia](https://discourse.julialang.org/t/fastapi-alternative-in-julia/26645)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 7\
**Last updated:** [June 23, 2022, 5:29am UTC](https://discourse.julialang.org/t/fastapi-alternative-in-julia/26645 "2022-06-23T05:29:34Z")

</div>

I recently came across https://fastapi.tiangolo.com which looks really cool. I was wondering if there is a similar project in Julia with similar ambitions? I’m aware of Genie and Mux et. al. which are quite nice and do t…

---

## [Internet browser enabled visualization](https://discourse.julialang.org/t/internet-browser-enabled-visualization/82575)

<div class="topic-metadata">

**Author:** [@grimon](https://discourse.julialang.org/u/grimon)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 10:44am UTC](https://discourse.julialang.org/t/internet-browser-enabled-visualization/82575 "2022-06-22T10:44:57Z")

</div>

I have created a visualization that displays in a local window using Graphs, Blink, and WebIO. Is there an easy way for me to convert what I have written into something that will display on a webpage? This is the code t…

---

## [HTTP Streaming Chunked JSON](https://discourse.julialang.org/t/http-streaming-chunked-json/82797)

<div class="topic-metadata">

**Author:** [@JohnDuffy](https://discourse.julialang.org/u/JohnDuffy)\
**Replies:** 7\
**Last updated:** [June 22, 2022, 7:54am UTC](https://discourse.julialang.org/t/http-streaming-chunked-json/82797 "2022-06-22T07:54:34Z")

</div>

Hi I receive streamed new-line delimited JSON data from a REST API. The data is streamed in chunks and full line of JSON may span multiple chunks. So, I need to somehow buffer the chunks as they arrive until I have a f…

---

## [Is this how to load dash datatable from a Dict?](https://discourse.julialang.org/t/is-this-how-to-load-dash-datatable-from-a-dict/82462)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 0\
**Last updated:** [June 8, 2022, 8:59pm UTC](https://discourse.julialang.org/t/is-this-how-to-load-dash-datatable-from-a-dict/82462 "2022-06-08T20:59:21Z")

</div>

Hi all I’m going to be looking at using Dash to represent a Dict I build from a stream of realtime data. Here’s an example. data\_flow = Dict{String, Any}("AMZN" =\> Dict{String, Any}("hv10" =\> "45.99", "price" =\> "122…

[Previous page](https://discourse.julialang.org/c/domain/web/28.md?page=2)

[Next page](https://discourse.julialang.org/c/domain/web/28.md?page=4)
