由买买提看人间百态

topics

全部话题 - 话题: fastcgi
1 (共1页)
x**y
发帖数: 10012
1
来自主题: StartUp版 - fastcgi or mod_php?
fastcgi

concern
l*******9
发帖数: 177
2
来自主题: BuildingWeb版 - webhosts with FastCGI
Can anyone recommened a webhosting service that
provides FastCGI, many thanks.
D******y
发帖数: 3780
3
来自主题: BuildingWeb版 - fastcgi or mod_php?
【 以下文字转载自 StartUp 讨论区 】
发信人: DrDonkey (DrDonkey), 信区: StartUp
标 题: fastcgi or mod_php?
发信站: BBS 未名空间站 (Thu Jul 2 15:22:49 2009, 美东)
what's your guys's preference if it is dedicated server (no security concern
)?
w**2
发帖数: 724
4
来自主题: Linux版 - Any future for CGI/FastCGI ? (转载)
【 以下文字转载自 Programming 讨论区 】
发信人: wds2 (阿旺), 信区: Programming
标 题: Any future for CGI/FastCGI ?
发信站: BBS 未名空间站 (Wed Feb 25 19:36:03 2015, 美东)
just curious to see if it's totally dead or not
k***r
发帖数: 4260
5
不太喜欢IIS,想用Apache,也比较容易搬到Linux hosting。
我知道的有几个option:
- cgi,这个估计很少人用吧?太慢了
- mod_php
- mod_fastcgi
- mod_fcgid
我刚试通了mod_fcgid,但是发现mod_fcgid好像不能用port
连接后台(非PHP)的FastCGI daemon。一些网上的文章推荐这个。
mod_fastcgi应该可以用port接FastCGI server。还没来得及试
PHP。有文章说有些问题,也没说有什么问题。
mod_php还没用过。
请大家评论一下?
c***c
发帖数: 21374
6
来自主题: StartUp版 - ruby on rails 和 php
fastcgi,mod_perl很快
I****7
发帖数: 47
7
来自主题: StartUp版 - ruby on rails 和 php
传统的cgi不管是用c/c++,perl,sh 或 php,也就是 一个request,一个process
正在被淘汰。现在的fastcgi和各种 mod_*或许可以改进cgi的performance。但是我还
是最爱 servlet/jsp,我的网站都是用 java,正确使用 servlet/jsp 给你最安全最能
scale 的 application。最讨厌的是 struts 和 hibernate,那是忽弄那些想在公司
混的,创业的人傻瓜才用它们。
D******y
发帖数: 3780
8
来自主题: StartUp版 - fastcgi or mod_php?
what's your guys's preference if it is dedicated server (no security concern
)?
d********g
发帖数: 10550
9
PHP的话当然是Apache,不过Win下效率就那样,Linux的话都嫌Apache臃肿,现在很多
都是用LEMP (Linux + nginx + MySQL + PHP)替代LAMP,同时用PHP-FPM管理PHP
FastCGI
d********g
发帖数: 10550
10
来自主题: PhotoGear版 - 说道C语言
做web ui的现在连PHP都归到“经典”里去了,还用C/perl吭哧吭哧搞CGI的也比较行为
艺术,特别是纯CGI。web server老早就不用纯CGI了,FastCGI/SCGI以及各种mod也快
要退流行。技术一直在进步,你看一下现在各种网站的部署,就知道哪些属于古董哪些
属于新秀了
f*e
发帖数: 18
11
来自主题: BuildingWeb版 - webhosts with FastCGI
webhostingtalk.com
l*******9
发帖数: 177
12
来自主题: BuildingWeb版 - webhosts with FastCGI
这是一论坛吧!我现在用的是一个$6月费的 hosting service
想看看周围有没有其他的选择:-)
f*e
发帖数: 18
13
来自主题: BuildingWeb版 - webhosts with FastCGI
去他的 hosting 论坛看,里面很多
e******x
发帖数: 925
14
来自主题: BuildingWeb版 - webhosts with FastCGI
去HostMonster看看。
l*******9
发帖数: 177
15
来自主题: BuildingWeb版 - webhosts with FastCGI
godaddy上就有:)
c***c
发帖数: 21374
16
来自主题: BuildingWeb版 - PHP or .NET
php的framework中zend那个我看就是个怪物
php的特点就是短平快,本来就不适合开发大程序
我研究过些open source的php应用,看起来很不错,里面的代码一塌糊涂,比如
oscommerce
php的framework我主要用过2个,cakephp和codeigniter,我感觉后者好
前者太想让php成为一个类似ruby的东西,太想模范很多只有规范的OO环境才应该有的
东西,结果就是搞得复杂,速度也慢了不少
我个人感觉,如果你的应用很复杂,业务逻辑多多,根本就不应该考虑php。php不是
不好,而是只是在其擅长的地方才好,否则就用错地方。
java servlets/jsp或者jsf要比php好的多,对于复杂应用;我想作为竞争技术的
asp.net也不会差到哪里去。
跑题一下,如果你能写很好的perl,perl+mod_perl或者fastcgi可能速度更快。

page
a*******t
发帖数: 85
17
Your account is already opened and login info is sent to your email.
1.The server OS is linux (Centos 5)
2. We do not offer any other server like game server.
3. php is spawned by fastcgi to ensure complete separation of different
users.

programs?
j**********i
发帖数: 3758
18
4000万动态访问pv
6台服务器
抛弃了 Apache,因为它能承受的并发连接相对较低;
抛弃了 Squid,因为它在内存利用、访问速度、并发连接、清除缓存等方面不如
Varnish;
抛弃了 PHP4,因为 PHP5 处理面向对象代码的速度要比 PHP4 快,另外,PHP4 已经不
再继续开发;
抛弃了 F5 BIG-IP 负载均衡交换机,F5 虽然是个好东西,但由于价格不菲,多个部门
多个产品都运行在其之上,流量大、负载高,从而导致性能大打折扣;
利用 Varnish cache 减少了90%的数据库查询,解决了MySQL数据库瓶颈;
利用 Varnish cache 的内存缓存命中加快了网页的访问速度;
利用 Nginx + PHP5(FastCGI) 的胜过Apache 10倍的高并发性能,以最少的服务器数量
解决了PHP动态程序访问问题;
利用 Memcached 处理实时数据读写;
利用 HAProxy 做接口服务器健康检查;
L*******r
发帖数: 1011
19
recently I studied some open source projects such as Apache,
SCGI, Fast CGI ..., which helped me understand .Net and ASP .Net
better.
Generally, application server way (scgi, fastcgi, .net) is faster than the
the traditional ISAPI dll way, which can't share resource.
.Net itself is an applicaiton server. So no application server makers can live
in this tier in .Net architecture.
Why IIS 6 is much faster than IIS 5?
It learns from some idea from tux and ibm research. kernal space server is much
f
t**d
发帖数: 6474
20

什么server?是不是server的模块不全? 我的lighttpd里面用ipkg list_installed显
示有如下模块安装。你的如果没有,就装上这些模块 (不一定要全装)。
expat - 2.0.1-1 - XML Parser library
fcgi - 2.4.0-2 - FastCGI is a language independent, scalable, open extension
to fontconfig - 2.5.0-0 -
freetype - 2.3.6-1 - Free truetype library
gconv-modules - 2.5-1 - Provides gconv modules missing from the firmware.
gdbm - 1.8.3-2 -
libcurl - 7.20.0-1 -
libdb - 4.2.52-3 - Berkeley DB Libraries
libgd - 2.0.35-5 -
libjpeg - 6b-3 - collection of jpeg tools
libpng - ... 阅读全帖
z*********e
发帖数: 10149
21
谢谢lz分享
有个问题,我上传图片提交后出错,说500 internal error,查了lighttpd log发现是
2013-04-04 01:36:36: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Fatal error:
Call to undefined function imagecreatetruecolor() in /var/www/photoserver/
upload_local.php on line 173
这是怎么回事, ty
b******y
发帖数: 9224
22
cgi = common gateway interface
话说当年偶用c编过一个apache的module, 那个时候盛行cgi.
后来,有c/c++写的fastcgi,比较不错的library.
t******s
发帖数: 1
23
我是穿越了吗?
[ebuild R ] www-servers/nginx-1.1.4 USE="http http-cache ipv6 pcre ssl
-aio -debug -libatomic -vim-syntax" NGINX_MODULES_HTTP="access auth_basic
autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone
map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash
userid uwsgi -addition -cache_purge -dav -degradation -flv -geoip -gzip_
static -headers_more -image_filter -mp4 -passenger -perl -push -random_index
-realip -secure_link -slowfs_cache -stub_... 阅读全帖
w**2
发帖数: 724
24
来自主题: Programming版 - Any future for CGI/FastCGI ?
just curious to see if it's totally dead or not
p*u
发帖数: 2454
25
来自主题: Programming版 - 有没有C++的restful service framework
Casablanca has client-side HTTP; its server side tries to tackle every HTTP
feature, like alternative back-ends, 100-continue and HTTP upgrade.
Casablanca's abstractions are very tightly coupled: it may be difficult and
too hacky to add support for alternative back-ends (FastCGI, HTTP/2.0...)
later. Its asynchronous support is based on packaged tasks. All abstractions
are portable from the beginning.
Casablanca provides an HTTP request router (and some other useful
abstractions), uses a passive ... 阅读全帖
g****t
发帖数: 31659
26
来自主题: Programming版 - 请教Lambda的问题
看了一眼,这很像20年前的CGI, fastCGI?
two new shinning word:
Function as a Service (FaaS)
Serverless
The below book looks funny too:
Serverless Single Page Apps: Fast, Scalable, and Available 1st Edition
这么多年过去了,还 reinvent single page app?
g****t
发帖数: 31659
27
Besides the design manager of the Amzon Lambda,
it looks like there are still many people are thinking
in the CGI,fastCGI,... way.
1.
https://www.cs.tut.fi/~jkorpela/forms/cgic.html
Programming CGI using the C language.
2.
https://www.cs.tut.fi/~jkorpela/forms/javascript.html
这个爷爷十几年前的网页,风格居然是扁平化的。
超前于时代太多年了。背景色是传说中的护眼绿。
3.
C的一个问题是服务器端还要重编译,比较麻烦。
Emacs-lisp,通用于所有平台。
http://www.leancrew.com/all-this/2008/04/a-cgi-script-with-emacs-lisp/
w**********k
发帖数: 1135
28
来自主题: Announcement版 - WWW 的性能改进
我们将原来的CGI改成了FastCGI,性能应该有4、5倍的提高。
如果发现有问题,请到sysop报告,谢谢。
Have fun.
1 (共1页)