public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Update TODO and ann email for next release
macournoyer (author)
Sat Jan 12 09:23:25 -0800 2008
commit  0ff4b4247b109554fabed4422c7046e3e104cb7d
tree    c8710ba54f75dfc9e964f6c85efb657625c67b9c
parent  2b60ea8c4c40f8626847d3a67279ec3c55e0b75a
...
6
7
8
9
 
10
11
12
...
6
7
8
 
9
10
11
12
0
@@ -6,7 +6,7 @@
0
  * Fix IOError when writing to logger when starting server as a daemon.
0
  * Really change directory when the -c option is specified.
0
  * Add restart command to thin script.
0
- * Fix typo in thin script usage message and expand chdir path.
0
+ * Fix typos in thin script usage message and expand chdir path.
0
  * Rename thin script options to be the same as mongrel_rails script [thronedrk]:
0
      -o --host => -a --address
0
      --log-file => --log
0
...
3
4
5
6
7
8
9
10
 
11
12
13
14
15
16
17
 
 
...
3
4
5
 
6
7
8
9
10
11
12
13
14
15
 
 
16
17
0
@@ -3,16 +3,16 @@
0
    to the top of every HTML page in the browser ?wtf?
0
 
0
 == FEATURES
0
- * Add builtin cluster monitoring support (with god ?)
0
  * Add --prefix option to thin script
0
  * IPv6 support (bind to ::1)
0
  
0
 == TASKS
0
+ * Add a better god sample file in example, maybe generate one !?
0
  * Change benchmarking test to use
0
    http://blog.evanweaver.com/files/doc/fauna/benchmark_unit/
0
  * Provide precompiled win32 binaries in Gem
0
  * Port response writing to a C extension
0
  * Benchmark CGI and FastCGI too [Carlos Junior]
0
- * Investigate http://rev.rubyforge.org/
0
- * Check for memory leaks using dike and/or Mac OS Instruments
0
+ * Investigate http://rev.rubyforge.org/ (only Ruby 1.9)
0
+ * Check for memory usage/leaks using dike or other.
...
11
12
13
14
15
16
17
18
19
20
 
 
 
 
 
 
 
 
 
 
 
 
 
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 
 
 
57
58
 
 
59
60
61
...
11
12
13
 
 
 
 
 
 
 
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
29
 
 
 
 
 
 
 
 
 
 
 
 
 
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
0
@@ -11,51 +11,35 @@
0
 
0
 == What's new?
0
 
0
-Even though Thin has been made public only 4 days ago, lots of things have happened since:
0
- * Ruby 1.9 compatibility
0
- * Better Rails adapter
0
- * Thin support included in Ramaze and Vintage frameworks (Thin can also run Rails, Camping, Merb and more)
0
- * Some bug fixes in header parsing
0
-
0
-And some amazing numbers:
0
+* Add cluster support through the -s option in the thin script, start 3 thins like this:
0
+ thin start -s3 -p3000
0
+ 3 thin servers will be started on port 3000, 3001, 3002, also the port number will be
0
+ injected in the pid and log filenames.
0
+* Fix IOError when writing to logger when starting server as a daemon.
0
+* Really change directory when the -c option is specified.
0
+* Add restart command to thin script.
0
+* Fix typos in thin script usage message and expand chdir path.
0
+* Rename thin script options to be the same as mongrel_rails script [thronedrk]:
0
+ -o --host => -a --address
0
+ --log-file => --log
0
+ --pid-file => --pid
0
+ --env => --environment
0
 
0
-[~/projects/thin] ruby benchmark/simple.rb
0
-server request concurrency req/s failures
0
-=====================================================
0
-WEBrick 1000 1 389.31 0
0
-Mongrel 1000 1 1495.70 0
0
-EMongrel 1000 1 2070.35 0
0
-Thin 1000 1 2219.45 0
0
-WEBrick 1000 10 366.16 0
0
-Mongrel 1000 10 1501.02 0
0
-EMongrel 1000 10 2562.43 0
0
-Thin 1000 10 3129.64 0
0
-WEBrick 1000 100 ERROR
0
-Mongrel 1000 100 1500.82 0
0
-EMongrel 1000 100 3031.29 0
0
-Thin 1000 100 3372.49 0
0
+win32 support is coming soon!
0
 
0
-[~/projects/thin] ruby19 benchmark/simple.rb
0
-server request concurrency req/s failures
0
-=====================================================
0
-WEBrick 1000 1 506.33 0
0
-Mongrel 1000 1 1768.31 0
0
-Thin 1000 1 2528.11 0
0
-WEBrick 1000 10 461.66 0
0
-Mongrel 1000 10 1541.35 0
0
-Thin 1000 10 4003.19 0
0
-WEBrick 1000 100 ERROR
0
-Mongrel 1000 100 1313.19 0
0
-Thin 1000 100 4154.67 0
0
-
0
 == Get it!
0
 
0
  sudo gem install thin
0
  
0
 (Might take some time for the gem mirrors to be updated, try adding
0
 --source http://code.macournoyer.com to the command if it doesn't work)
0
+
0
+NOTE: if you installed a previous alpha version (if you have 0.5.2 already installed)
0
+uninstall it before: sudo gem uninstall thin
0
  
0
 == Contribute
0
+
0
+If you're using Thin, let me know and I'll put your site on http://code.macournoyer.com/thin/users/
0
 
0
 Thin is driven by an active community of passionate coders and benchmarkers. Please join us, contribute
0
 or share some ideas in Thin Google Group: http://groups.google.com/group/thin-ruby/topics

Comments

    No one has commented yet.