Skip to content
Browse files

decrease buffersize - fix readme

  • Loading branch information...
1 parent 38aebaa commit 54d1cbf549d79c1e2cc0a82723249eca53ce040e Ryan Dahl committed
Showing with 9 additions and 8 deletions.
  1. +6 −5 README
  2. +3 −3 src/ebb.h
View
11 README
@@ -10,11 +10,12 @@ and a front-end server. It is not meant to serve static files in production.
## Design
-The design is similar to the
-[Evented Mongrel](http://swiftiply.swiftcore.org/mongrel.html) web server;
-except instead of using EventMachine (a ruby binding to libevent), the Ebb
-web server is written in C and uses the
-[libev](http://software.schmorp.de/pkg/libev.html) event loop library.
+The design is similar to the [Evented
+Mongrel](http://swiftiply.swiftcore.org/mongrel.html) web server; except
+instead of using [EventMachine](http://rubyeventmachine.com/) to drive
+network interactions, the Ebb web server handles sockets directly in C and
+employs the use of the [libev](http://software.schmorp.de/pkg/libev.html)
+event loop.
Connections are processed as follows:
View
6 src/ebb.h
@@ -18,10 +18,10 @@
typedef struct ebb_server ebb_server;
typedef struct ebb_client ebb_client;
-#define EBB_BUFFERSIZE (1024 * (80 + 32) * 2)
-#define EBB_MAX_CLIENTS 950
+#define EBB_BUFFERSIZE (1024 * (80 + 32*2))
+#define EBB_MAX_CLIENTS 200
#define EBB_TIMEOUT 30.0
-#define EBB_MAX_ENV 100
+#define EBB_MAX_ENV 500
#define EBB_TCP_COMMON \
unsigned open : 1; \
int fd; \

0 comments on commit 54d1cbf

Please sign in to comment.
Something went wrong with that request. Please try again.