Questions tagged [g-wan]

G-WAN is a web server with scripts in Asm, C, C++, C#, D, Go, Java, Javascript, Lua, Objective-C, Perl, PHP, Python, Ruby and Scala.

G-WAN is a (freeware) web application server first published in 2009. The gwan.com site presents the G-WAN API, answers FAQs and also publishes many benchmarks in various programming languages.

G-WAN supports scripts in Asm, C, C++, C#, D, Go, Java, Javascript, Lua, Objective-C, Perl, PHP, Python, Ruby, and Scala (click on a language link to show a benchmark).

An old performance comparison with static servers was done by an academic: http://nbonvin.wordpress.com/2011/03/24/serving-small-static-files-which-server-to-use/

A more recent benchmark (on 1/2/4/8 CPU Cores) - also made by an independent third-party - compares Apache 2.2, Apache 2.4, Nginx, Lighttpd, Varnish, Litespeed, Cherokee and G-WAN: http://www.rootusers.com/web-server-performance-benchmark/

274 questions
0
votes
2 answers

How to connect G-WAN to SQL Server?

I have a web server running G-WAN and CentOS. I'm trying to figure out the best way to make a connection to a Microsoft SQL Sever database. The most I need to do at this point is a simple insert from a G-WAN handler, nothing fancy. Anyone have any…
0
votes
1 answer

Does gwan support SSI?

Does gwan support SSI or there is another way to merge different HTML data ? I'm not sure it's the best way, but I want to include static HTML data into another HTML files ... What do you use if SSI is not working?
solisoft
  • 669
  • 4
  • 12
0
votes
1 answer

g-wan kv store KV_INCR_KEY

How to use the KV_INCR_KEY? I found a useful feature in gwan api, but without any sample. I want to add items to the KV store with this as primary key. Also, how to get the value of this key?
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
0
votes
1 answer

file upload with G-WAN

I'm trying to upload an image file with XMLHttpRequest and FormData API to my G-WAN server but I can't retrieve the file contents.Here is the output in h_entities: -----------------------------75940917410019849751723987620 Content-Disposition:…
0
votes
1 answer

Restricting image hot-linking with G-WAN

I want to serve static galleries, and I would like to know if G-WAN can restrict hot-linking to specified files? Restricting image hot-linking would be good, but what I really want to know if there is possibility to disallow hot-linking images but…
Eli
  • 106
  • 7
-1
votes
1 answer

Trouble starting g-wan webserver on Ubuntu 22.04 LTS

I am working on Ubuntu 22.04 LTS, 64bit, Intel® Celeron(R) N4020 CPU @ 1.10GHz × 2, 4.0 GiB. I downloaded G-WAN from http://gwan.ch/download today. unzipped the file (version unzipped : G-WAN 7.12.6 64-bit (Feb 8 2016 16:33:28) ) and went to the…
-1
votes
1 answer

Install HTTP/3 at G-WAN

According to you, is it possible to properly install the use of HTTP/3 on a web server such as GWAN ? If yes, do you have an idea of ideal way to proceed ? I was thinking of using a quic lib (wich one ? quiche) in the init.c file but I can't figure…
John S
  • 231
  • 3
  • 11
-1
votes
2 answers

With the last G-WAN 7.12.2 where is the 32-bit x86 version?

I'm running different 8-10 year old machines (both Intel and AMD with dual core cpu) on native Ubuntu 32-bit but with only 2 Gb of RAM (today DDR and DDR1 are rare and expensive). With such low end systems, using Ubuntu 64-bit isn't very…
Paul
  • 21
  • 3
-1
votes
1 answer

Why is G-wan perl embedded c script slower than perl script itself?

Tried running the below code using Inline C, the speed was 10reqs/s compared with pure perl hello world at 110reqs/s. What's the problem? #!/usr/bin/perl -w use Inline (Config => DIRECTORY => '/home/example/.Inline',); use Inline…
stashfree
  • 655
  • 6
  • 22
-1
votes
1 answer

Gwan dies every day and consume a lot of ressources

I would like to use Gwan for my rest webservices. It seems great, so I have installed it on a VMWare VM, on debian squeeeze. I have written a C webservice, it works perfectly. The problem is that Gwan consumes always more and more ressources (the…
huji
  • 1
  • 1
-1
votes
1 answer

G-WAN: is it possible to turn off microcaching?

According to its website G-WAN uses microcaching that lasts 200ms. The only way to prevent microcaching mentioned on the website is to use a changing query parameter. I'd like to use G-WAN. The problem is my home page is a newsfeed that's…
Continuation
  • 12,722
  • 20
  • 82
  • 106
-1
votes
1 answer

why g-wan loops on loading handler scripts and csp script each day at midnight?

I have a strange behavior on my g-wan server: each day at midnight g-wan loops on loading scripts. This is what I see in gwan.log: [Tue Apr 09 00:00:00 2013 GMT] memory footprint: 1.47 MiB. [Tue Apr 09 00:00:00 2013 GMT] Host…
user1606908
  • 89
  • 1
  • 5
-1
votes
1 answer

How to create virtual directory in G-WAN webserver

I installed G-WAN webserver , and i create virtual host , in G-WAN we must create folder for virtual host's , now i want to create virtual directory my installed path is : /home/gwan/ and myfiles are in /home/user/ so how can i create virtual…
user1853266
  • 49
  • 1
  • 7
-1
votes
1 answer

Improper behavior of Host Alias

I have two host alias in my directory structure that fail to properly register with g-wan. My folder structure is as follows: /srv/gwan_linux64-bit/192.168.3.101_80/$dg.lcl /srv/gwan_linux64-bit/192.168.3.101_80/$myapp …
celilo
  • 9
  • 3
-1
votes
1 answer

g-wan main.c - to listen to sockets

I want to fork a sub-program to do some routine jobs or listen to some sockets. If this can be done, please show with a simple example how this forked program can access the G-WAN KV store via a persistent pointer.
k.k. lou
  • 1,805
  • 2
  • 13
  • 16
1 2 3
18
19