As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been hearing things lately about the LiteSpeed webserver as being a drop-in replacement for Apache webserver. Even my web host is going to replace their shared webhost environment with LiteSpeed (I'm currently not sure if I must be happy about that or not).
Does anyone have any experience with the LiteSpeed webserver (both in development and production)? It would be appreciated if you could share your experience here.
You should look at those links;
LiteSpeed vs Apache (from Litespeed Tech)
Benchmark: LiteSpeed vs Apache (PHP and Plain HTML)
LiteSpeed vs Apache
Apache can be configured to run as well as Litespeed. Your host is probably taking the lazy way out. There's this benchmark where Apache beats Litespeed (with some help). Check it out: Apache vs Litespeed
You can also check out benchmarks for litespeed cache vs apache + varnish at http://vbtechsupport.com/26/ there's also static file comparisons between litespeed vs apache vs nginx at http://www.vbulletin.com/forum/entry.php/2452-Boosting-vBulletin-performance-via-caching-Apache-Varnish-versus-Litespeed-Cache
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am migrating from a shared host to VPS for the first time and I am in a dilemma wondering if I need to go with NginX or still stick with Apache. Atm I use Apache for my site that runs on phpbb 3.0.11. It has forums along with static pages. When I was googling info on NginX, it appears to be faster than Apache and works well in serving static pages. So my questions are:
1) Is NginX good to use for forums?
2) How is NginX in serving Dynamic pages from MySql?
3) Is NginX really fast compared to Apache or is it overrated?
4) Do I stick with Apache or is it worth taking a chance and trying out NginX for my phpbb forum?
Any advise please.. I am in such a dilemma and I am hoping someone who have had practical experience with NginX and Apache can shed some lights!
If you know Apache, just stick with it. The learning curve for Nginx is quite high, and not needed here if you haven't already done basic tuning.
Make sure that you are loading APC and memcached with say 16M cache.
Use APC for Opcode caching, and acm_memcache for variable caching.
This will make phpBB a lot faster.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How do configure an netgear wireless router in vb.net code? I want to restart my router and thought about disconnecting clients. This might be used to help a relative with their wireless router.
Edit:
OS Information:
Windows 7 SP1
.NET Framework 4.5 or above
First-off: you should never have to reboot your router under any circumstances (short of a firmware upgrade). If your modem/router "breaks" occasionally and requires a reboot to resume normal operation then something is wrong with it and you should seek a warranty replacement. A line de-sync should not require a reboot either.
With that disclaimer out of the way: there are two ways you can achieve your goal:
The first is to use the Telnet administration features present in your Netgear router (assuming they're enabled and operational). Writing a Telnet-client in code is trivial and an exercise left to the reader. It's just a matter of knowing the right commands to send to get it to reboot.
The second is to write a web client (using HttpWebRequest) that sends the series of HTTP requests to the router in the same way a human-directed-browser would if they were doing the reboot themselves. Use a tool like Firefox's "Live HTTP Headers" to see what HTTP requests need to be sent. Be wary of problems with cookie retention in HttpWebRequest.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
best solution for mobile website locally testing
Note: I am using windows 7 with visual studio 2012.
A good way to do this is to simply hook up your mobile device to the network that your machine is on and visit the IP Address associated to the machine on your port.
Note that IIS Express is a pain to configure in this regard, so it will be good if you can setup your site to run on IIS on your primary machine, and configure it to be default website bound on either port 80 if you have nothing else, or another unique port so that the hostname is not required.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
It's basically a educational situation:
We've got a Intel Celeron 2.5Ghz / 512 MB RAM / >40GB Hard Drive.
We need to set up a basic SQL server for 5~15 LAN users with a >1GB database.
I can use debian, fedora, freeBSD, mandrake, opensuse, redhat, slackware, suse or ubuntu with firebird, mysql or postgreSQL.
[btw: it's a corporate decision, I can't pick anything else besides the one listed. What I can do is ask for support for another software - This is something that looks interesting since I believe that MariaDB w/ Slackware would be the best choice)
I basically need the most lightweight solution possible.
I'm thinking about Slackware with PostgreSQL, but I was wondering which one would be less dependent on hardware specs and easiest to manage, the traffic flow itself won't be very high but the database will have to up for tests for at least a semester or two before we can apply for a dedicated server..
I recommend debian with mysql.
Debian because its a very widespread system for severs and you get tons of documentation so its easy to setup and maintain.
mysql because its simple and well documented.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
What web server (and why) should I use for Lua web development?
There are a few Lua-based webservers around:
Xavante seems to be the most popular.
Haserl is nice and small.
Nanoki is not strictly a webserver, but a nice small pure Lua wiki engine worth studying. As for the Lua wikies, there is also Sputnik, which is fully featured and very flexible, but is a bit on the slow side.
There is mod_lua (ex mod_wombat) if you prefer Apache. Looks like it would make it into the next Apache distribution as a core module.
Note that it is not so hard to write a FastCGI Lua module.
There is also Luv Lua MVC web-framework project (GitHub page). It is not mature yet, but may contain some interesting insights.
Update. Some more frameworks to check out:
Luvit: http://luvit.io/ (too node-like for my taste)
ngx_lua module for nginx: http://wiki.nginx.org/HttpLuaModule
TIR for mongrel2: http://tir.mongrel2.org/
Ophal: http://ophal.org (web platform)
lev: https://github.com/connectFree/lev
Turbo: https://github.com/kernelsauce/turbo
We've been working on the ngx_lua module for nginx, which supports 100% non-blocking network traffic to mysql, PostgreSQL, memcached, other http services, and more, hence outstanding concurrency level and over-all performance :)
http://github.com/chaoslawful/lua-nginx-module
and we're using it in production :)
The best web server I can think for lua web development is mongrel2. Take a look on TIR framework, which, IMHO, is the best lua use for web development these days.
For development, it can be handy to run a small test server. A good candidate in particular for Lua web development is the Xavante server which is part of the Kepler project. Aside from some of the supporting Kepler modules , Xavante itself is written in pure Lua.
For production, the new mod_lua (which had been known as mod_wombat before the Apache team accepted it into the core set of modules) running on Apache would seem to be a well-respected choice.
there is as well the LuCI project [1]. which is the LuaConfigurationInterface, the web based mangement frontend for OpenWRT (embedded Linux).
The LuCI guys wrote also a very small webserver, called lucittpd.
LuCI is an MVC as well.
And in production state ;)
[1] http://luci.subsignal.org
Recently, Lua support was added to the http://github.com/valenok/mongoose web server, check out pre-build windows binary at http://code.google.com/p/mongoose/downloads/list