g-wan

Problems to start G-WAN

。_饼干妹妹 提交于 2019-12-08 12:13:08
问题 I try to install G-Wan on Ubuntu 12.04.1 LTS (x64). I follow the fast instructions: http://gwan.com/download When i execute $sudo ./gwan, shows me: Floating point exception (core dumped) Then i follow the slow instructions: http://www.as2.com/pdf/GWAN-Install-Manual-for-Ubuntu-12.04.pdf but i have the same error. I show you the errors of the logs: apport.log ERROR: apport (pid 13912) Mon Apr 29 13:42:56 2013: called for pid 13870, signal 8 ERROR: apport (pid 13912) Mon Apr 29 13:42:56 2013:

g-wan updating servlets

蓝咒 提交于 2019-12-08 09:34:46
问题 I noticed in the g-wan User Manual pdf documentation as of 10/19/2012, http://gwan.ch/download that it says: Updating servlets (C, C++, etc.) When you need to add or update servlets located in the csp directory you can do so without stopping G-WAN (all cached files are updated in real-time). Yet when I start gwan, it appears to compile everything in the csp directory. That would be down right ugly on a system with 1000's of .c files. Anyway, I tried updating the hello.c file just to see what

GWAN Key-Value persistent store

二次信任 提交于 2019-12-07 19:24:49
问题 I want to use the GWAN API Key-Value to record and read a number of data (in a multi-threaded way). The problem is that my recordings are only available on the current page and therefore can not be used on my other pages. Can you show me an example or explain how to create a persistent KV store (which will be accessible on all my subdomains) ? Here is an example that I currently use: kv_t store; kv_init(&store, "users", 10, 0, 0, 0); kv_item item; item.key = "pierre"; item.klen = sizeof(

API gateway for WebSocket

拈花ヽ惹草 提交于 2019-12-07 12:44:31
问题 I need a API gateway for my websocket application. Analyse and identify unusual requests from certain IP Quotas and Rate Limiting Statistics Free or commercial Solid performance The sub-protocol of my WebSocket is WAMP, so I am afraid there is no existing product to do the job. I intend to develop one and suppose it will work in this way: There is a proxy (NGINX or HAProxy) installed between my client application and my websocket server The proxy duplicates the request/response to another app

g-wan - reproducing the performance claims

南楼画角 提交于 2019-12-07 06:46:03
问题 Using gwan_linux64-bit.tar.bz2 under Ubuntu 12.04 LTS unpacking and running gwan then pointing wrk at it (using a null file null.html) wrk --timeout 10 -t 2 -c 100 -d20s http://127.0.0.1:8080/null.html Running 20s test @ http://127.0.0.1:8080/null.html 2 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 11.65s 5.10s 13.89s 83.91% Req/Sec 3.33k 3.65k 12.33k 75.19% 125067 requests in 20.01s, 32.08MB read Socket errors: connect 0, read 37, write 0, timeout 49 Requests/sec:

GWAN Key-Value persistent store

☆樱花仙子☆ 提交于 2019-12-06 05:30:46
I want to use the GWAN API Key-Value to record and read a number of data (in a multi-threaded way). The problem is that my recordings are only available on the current page and therefore can not be used on my other pages. Can you show me an example or explain how to create a persistent KV store (which will be accessible on all my subdomains) ? Here is an example that I currently use: kv_t store; kv_init(&store, "users", 10, 0, 0, 0); kv_item item; item.key = "pierre"; item.klen = sizeof("pierre") - 1; item.val = "pierre@example.com"; item.flags = 0; kv_add(&store, &item); char *p = kv_get(

How to configure GWAN as a reverse proxy?

懵懂的女人 提交于 2019-12-06 00:18:22
I saw some performance of GWAN and interested in testing it as a reverse proxy of static content in front of Apache with APC for optimizing PHP opcode, to run a Wordpress multisite. I can get GWAN up and running but I have no idea how to configure it for reverse proxy, as there seems to be almost no information on it. Anyone use GWAN as a reverse proxy? It's still a not documented feature ... maybe in a next release ? @gil ? Right now there's no easy way for you to do that. That will change with the next release. We first hardcoded the reverse-proxy feature in G-WAN along with the load

API gateway for WebSocket

拈花ヽ惹草 提交于 2019-12-06 00:06:29
I need a API gateway for my websocket application. Analyse and identify unusual requests from certain IP Quotas and Rate Limiting Statistics Free or commercial Solid performance The sub-protocol of my WebSocket is WAMP, so I am afraid there is no existing product to do the job. I intend to develop one and suppose it will work in this way: There is a proxy (NGINX or HAProxy) installed between my client application and my websocket server The proxy duplicates the request/response to another app, which I call monitor The monitor app analyses the flow and control the proxy to limit/block certain

g-wan - reproducing the performance claims

六月ゝ 毕业季﹏ 提交于 2019-12-05 13:16:21
Using gwan_linux64-bit.tar.bz2 under Ubuntu 12.04 LTS unpacking and running gwan then pointing wrk at it (using a null file null.html) wrk --timeout 10 -t 2 -c 100 -d20s http://127.0.0.1:8080/null.html Running 20s test @ http://127.0.0.1:8080/null.html 2 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 11.65s 5.10s 13.89s 83.91% Req/Sec 3.33k 3.65k 12.33k 75.19% 125067 requests in 20.01s, 32.08MB read Socket errors: connect 0, read 37, write 0, timeout 49 Requests/sec: 6251.46 Transfer/sec: 1.60MB .. very poor performance, in fact there seems to be some kind of huge

Are there any low-level languages that can be used in place of scripts?

拜拜、爱过 提交于 2019-12-03 18:21:04
I am a "high-level" scripting guy. All my code is Class-based PHP or JavaScript. However, I want to know if there is any form of useful interpreter projects for "low-level" compiled languages like C or C++ (strange sounding huh?). This all came about when I stumbled upon http://g-wan.com/ and was fascinated by the fact that you could setup C code to run as server scripts. However, that project is all but useless because it is run by one guy and is closed source. So, is there anything out there for "low-level" languages that would enable them to be easier to run by compiling them at runtime. OR