Nginx to D ?

2013-12-20 Thread Larry
Hello, I am not really confident on this one, but could D be interfaced with Nginx ? It would be nice to replace python but if not easily doable, then it is a no-no for me. Any clue on it ? Thanks

Re: Nginx to D ?

2013-12-20 Thread Larry
Let me add a bit more of context : I currently use UWSGI but I would like to accelerate python replacing it with D. Less memory consumption and so on.. I need something as robust as uwsgi. If there is none, then, no go. :) Thanks !

Re: Nginx to D ?

2013-12-20 Thread Max Klyga
On 2013-12-20 21:21:22 +, Larry said: Hello, I am not really confident on this one, but could D be interfaced with Nginx ? It would be nice to replace python but if not easily doable, then it is a no-no for me. Any clue on it ? Thanks Sure you can. There are three options: 1. Make ng

Re: Nginx to D ?

2013-12-20 Thread John Colvin
On Friday, 20 December 2013 at 21:21:23 UTC, Larry wrote: Hello, I am not really confident on this one, but could D be interfaced with Nginx ? It would be nice to replace python but if not easily doable, then it is a no-no for me. Any clue on it ? Thanks http://dicebot-old.blogspot.co.u

Re: Nginx to D ?

2013-12-20 Thread Larry
Ok, thanks you answered while I was typing :)

Re: Nginx to D ?

2013-12-20 Thread Larry
Thanks ! Now, the next question : are those implementations robust ? Do they bite (are they reliable )? Do many people use it ? Remember, I am coming from python where everything is easy and am already learning D and decided to give it a jump.

Re: Nginx to D ?

2013-12-20 Thread John Colvin
On Friday, 20 December 2013 at 21:32:57 UTC, Larry wrote: Let me add a bit more of context : I currently use UWSGI but I would like to accelerate python replacing it with D. Less memory consumption and so on.. I need something as robust as uwsgi. If there is none, then, no go. :) Thanks !

Re: Nginx to D ?

2013-12-20 Thread Larry
Now, I assume that it is very fast. But there are no benchmarks under heavy loads. It seems very good but not really commonly used.

Re: Nginx to D ?

2013-12-20 Thread Dicebot
On Friday, 20 December 2013 at 21:38:20 UTC, Larry wrote: Do many people use it ? Not many, as not many people use D in general. No negative feedback from those who have tried so far though ;) You may want to contact developer(s) directly via http://forum.rejectedsoftware.com/groups/rejected

Re: Nginx to D ?

2013-12-20 Thread Dicebot
On Friday, 20 December 2013 at 21:44:11 UTC, Larry wrote: Now, I assume that it is very fast. But there are no benchmarks under heavy loads. It seems very good but not really commonly used. Probably only current information about vibe.d performance is this article : https://atilanevesonco

Re: Nginx to D ?

2013-12-20 Thread Larry
Thanks a lot ! You are all wonderful and helpful

Re: Nginx to D ?

2013-12-20 Thread Adam D. Ruppe
On Friday, 20 December 2013 at 21:32:23 UTC, Max Klyga wrote: 2. Make a D fastcgi process and point nginx to it. There is Adam Ruppe's cgi.d implementation for example. Yeah, my cgi.d can interface with nginx through fastcgi, scgi, or reverse proxy pretty well. Though my code doesn't scale a

Re: Nginx to D ?

2013-12-21 Thread Russel Winder
On Fri, 2013-12-20 at 22:44 +0100, Larry wrote: > Now, > > I assume that it is very fast. But there are no benchmarks under > heavy loads. > > It seems very good but not really commonly used. Well it is relatively new, and not many people know about D and fewer about Vibe.d. If you use it other

Re: Nginx to D ?

2013-12-21 Thread Larry
Being one of the pioneers won't make me cry. I had a look at it. This project seems like it deserves a bit more work : http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/7556/ This is particularly annoying and a show stopper for me. I will definitely look for its evolution

Re: Nginx to D ?

2013-12-21 Thread Dicebot
On Saturday, 21 December 2013 at 21:15:19 UTC, Larry wrote: But when I look at UWSGI, it is directly tied to nginx so no need to manage yet another server and so on. It just works as is, redirects to the app and boom, executes the script. There is no practical difference - uWSGI has own protoc