Displaying 20 results from an estimated 2000 matches similar to: "fastthread -- what is it?"
2007 Mar 20
10
fastthread 1.0
Well, just when I thought I was out of the fastthread business...
Okay, in brief:
fastthread is a Ruby extension which re-implements the primitives in
Ruby''s thread.rb in C. It was merged into 1.8.6, replacing the old
thread.rb implementation, but the version that was merged had a couple
serious bugs.
So -- now I release fastthread 1.0, which is basically the Ruby 1.8.6
version with
2007 Feb 14
4
fastthread-0.6.4.1 released
== NOW
A new version of fastthread, the library providing better
implementations of the classes in thread.rb, has been released.
Please note that fastthread is only for Ruby 1.8, not JRuby or any other
Ruby implementation (most of them don''t need it anyway!).
== WHY
The existing implementation of Mutex, Queue, etc. in thread.rb is slow.
fastthread''s is faster (and bypasses
2006 Dec 16
3
fastthread 0.5.3
I''ve just committed fastthread 0.5.3, which finally gives us a working
SizedQueue (which hadn''t really ever worked in previous versions).
Mostly it was just a matter of refactoring Queue and SizedQueue into a
single class behind the scenes, so I could move the signalling of the
SizedQueue-specific condition variable inside the queue''s critical
section. Failing to do so
2006 Dec 31
3
fastthread 0.6.1
I just realized -- if fastthread can be included while Mutex-using code
is already running, then the definition and replacement of the classes
needs to happen atomically. Otherwise, it creates a race condition
where a thread can e.g. end up seeing an incompletely defined Mutex
class or none at all.
fastthread 0.6.1 addresses this by defining the classes and then
atomically swapping the constant
2006 Dec 26
7
Rubygems 0.9.0.8 and Fastthread problem
Heya Folks-
This is mainly for Zed and Mentalguy. I have been playing with the
new release of rubygems 0.9.0.8 and I have a major problem with the
requirement that fastthread needs to be required before thread. Just
requiring rubygems and then requiring fastthread right after that
will throw the error:
ez _blog $ ruby
require ''rubygems''
require
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of
a bug in the Ruby interpreter. 0.6.2 works around the bug and should be
entirely stable at this point.
Thanks to Young Hyun for his help in coming up with test cases.
== what?
fastthread is a Ruby library which provides a faster (and
non-memory-leaking) C implementation of the concurrency primitives from
stdlib''s
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2007 Dec 18
3
First Shoot, many more to appear: Rails on Ruby 1.9
Guys,
Subject says everything:
http://www.frederico-araujo.com/2007/12/18/my-first-successful-booting-rails-2-0-2-ruby-1-9-attempt
Even ActionView uses Proc.binding (which isn''t correctly supported in
1.9) it appears that lot of folks will try to put their hands in Ruby
1.9 when it comes out, and of course, try to get Rails with Mongrel
running in it.
Zed, Wayne, Evan and ry: maybe we
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2006 Nov 09
6
OptimizedMutex for Mongrel
Hey Zed-
I had a user with an app that was leaking memory with mongrel but
not lighty/fcgi. I have been doing anything I can to track it down. I
already did the Mutex patch to use unshitf and pop instead of shift
and push and it didn''t really help much. The mem leak only really
shows up when you use the wsess option to httperf.
The other day I saw a ruby C extension that
2006 Dec 01
2
fastthread 0.5
Just a quick note that I''ve committed the bits for fastthread 0.5; the
most important differences are that all the thread.rb classes are once
again marshallable, and we''ve got Luis'' commit which eliminates some
warnings when building on Win32.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type:
2008 Jun 06
1
package needed: fastthread-1.0.2
I''ve just committed the makings of fastthread-1.0.2 to SVN, fixing a
couple long-standing bugs in 1.0.1:
- merged the fix from ruby_1_8 to avoid rb_bugging during exit with
waiting threads
- SizedQueue#enq is now defined properly
Could you or whoever does the signed gems please turn the crank and
upload the new gems?
Thanks,
-mental
-------------- next part --------------
A
2007 Mar 14
3
Fastthread memory leak?
Hi All,
I have an app making extensive use of Mutex and was concerned about the
memory leak I have read about. I saw some sample code to reproduce the
problem here: http://pastie.caboo.se/10194
So I thought I would run it myself to see the problem.
I do not see a memory leak when using the sample code, but if I require
"fastthread" before "thread" using fastthread (0.6.4.1)
2007 Nov 09
2
RubyConf 2007 - Thoughts?
Hi,
For those of you that attended RubyConf 2007, what were your impressions?
Any more thoughts on JRuby, Rubinius, IronRuby or Wuby?
Regards,
Dan
2006 Dec 15
8
Early morning strange error saying: Status: 500 Internal Server Error
So I have updated to the latest mongrel and fastthread and my
environment is as follows:
Debian 3.1
Rails 1.1.6
Ruby 1.8.5
Mongrel 0.3.18
Fastthread 0.4
Mongrel Cluster 0.2.1
Apache 2.2.3
I again woke up this morning to my disappointment of seeing the
strange Status: 500 Internal Server error. It happens the same every
morning, I have three mongrels running, two give the error, one
2006 Dec 06
12
Debugging high CPU with Mongrel
I''m running a site that gets ~30k to 40k page hits per day. In the last 4
days my mongrel processes have been jumping into high CPU usage a couple of
times a day to the point where my site becomes unresponsive (database on a
diff machine with no load). The only way for me to resolve the problem and
reduce load on the machine is to delete my rails cache directory (I have
plenty of space
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing
mongrel on trunk 1.9 and trunk rubygems and got this error compiling
fastthread:
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc
creating Makefile
make
gcc -I.
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2007 Mar 14
1
ruby 1.8.6 includes fastthread?
It looks like fastthread was rolled into 1.8.6:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/NEWS?revision=12055&view=markup
Does that mean once we upgrade to 186 we can forget about rubygem version?
- Rob
2007 Apr 28
1
backgroundrb and fastthread
I was just curious if anyone noticed any significant performance
improvements using fastthread (or Ruby 1.8.6) with BackgrounDRb
Brandon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url :
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform