Merly Architecture
Closed this issue · 2 comments
Hi, I am exploring web server's for Julia to serve results from a deep neural network written in Julia. I love that Merly's style is in the tradition of Flask: declarative and simple.
I'd like to know about Merly's internal like
- Is it based on a Middleware framework?
- Is is asynchronous or uses "green threads"?
- How well does it scale?
- Is it compatible with the latest Julia?
Thanks!
Im also interested in these questions
Hi good day
an apology for responding so far.
Is it based on a framework Middleware?
no, Merly is built from scratch, it depends directly on the library HttpServer
Is is asynchronous or use "green threads"?
currently it is not asynchronous,
332 run (server, host = IPv4 (host) port = port)
It is working to Make this feature work seamlessly in any environment, but can be activated to uncomment the line 331 and the 332 comment Merly source code, but not work in all environments Properly (example OpenShift)
331 # @ async run (server, host = IPv4 (host) port = port)
How well does it scale?
Merly currently does not include scaling, I am focusing on improving existing features; although in the future I hope not too distant future will have this feature
Is it Compatible with the latest Julia?
so it is, is compatible with version 0.4.6 and 0.5.And it will give constant maintenance the code to be compatible with future versions