Permalink
Browse files

Changing name to webzmachine. Adding rebar support. Still Work In Pro…

…gress.
  • Loading branch information...
1 parent 9bcaff4 commit a4a1bc691642a06885cadc87a0aec528e8ece6bf @mworrell mworrell committed Jul 29, 2011
View
@@ -0,0 +1,32 @@
+**NOTE 1** webzmachine depends on z_logger, which we are in the process of splitting from Zotonic.
+
+**NOTE 2** this repository is under heavy editing and unstable.
+
+webmachine
+==========
+
+Zotonic's Variation
+-------------------
+
+This is a fork of Basho's Webmachine. This fork is done for supporting content management systems with large amounts of dispatch rules and many virtual hosts.
+
+
+Differences with Basho Webmachine
+---------------------------------
+
+The main differences with Basho's Webmachine are:
+
+* Pluggable dispatch handler
+* Support for the HTTP Upgrade
+* Caching of resource callbacks results
+* Dispatch handler can redirect requests
+* Use of process dictionary has been removed
+* webmachine_request is now a normal (not parametrized) module
+* Extra logging
+
+Together this gave a significant speed boost to Webmachine.
+
+In the specific case of Zotonic the difference was 5 milliseconds (or more) per request (on a 2GHz Core 2 Duo). Without these optimizations we were not able to use Webmachine.
+
+
+
File renamed without changes.
View
Binary file not shown.
View
@@ -0,0 +1,9 @@
+%%-*- mode: erlang -*-
+{erl_opts, [warnings_as_errors]}.
+{cover_enabled, true}.
+{edoc_opts, [{preprocess, true}]}.
+
+{deps, [
+ {mochiweb, "1.5.1", {git, "git://github.com/mochi/mochiweb",
+ {tag, "1.5.1"}}}
+ ]}.
File renamed without changes.

0 comments on commit a4a1bc6

Please sign in to comment.