Videos tagged with Multithreading
Ruby is great for scripting, what about the heavy-lifting? In this talk we’ll disassemble the lessons learned at AideRSS, and how we’ve optimized our Ruby infrastructure to handle millions of RSS feeds on a daily basis – building a spider, processing content, and optimizing process coordination and communication. “Green Threads” and global interpreter lock (GIL) im...
RubyConf 2008: Ruby In the Clouds
Ruby In the Clouds is about the challenges and results I've faced bringing Ruby and Rails to the 10gen cloud computing platform. It will most definitely NOT be an advertisement for 10gen, though I do plan to touch on 10gen's high-level architecture and mention that it's Open Source. 10gen Architecture OS virtualization vs. application virtualization OO database GridFS file system Application se...
RubyConf 2008: Future of RubyVM
Koichi Sasada's talk "Future of Ruby VM", where he explains his view of the C implementation of Ruby as the pragmatic solution for the near future, despite some of it's problems such as the conservative GC. He continues to discuss some optimizations which were implemented for 1.9, which are off for now, but should be enabled in 1.9.2. Examples of these optimizations are tail call opti...
RubyConf 2008: What All Rubyist Should Know About Threads
We have been living in the shadow of Moore's law for many years. Transister sizes keep shrinking and processor speeds keep increasing. But technology seems to have hit a brick wall. Clock cycles have not been able to keep up with the shrinking transister. As a result, manufacturers have increased performance by putting more CPUs on a chip. But is today's software really able to deal with the co...
RubyConf 2008: Summer of Code - Rails Thread Safety
Rails Thread Safety by Joshua Peek, seeks to "make the Rails framework as thread safe as possible". Rails' lack of thread safety is the reason why multiple Ruby processes, each running one Rails instance, are necessary to scale Rails applications. What is Google Summer of Code? Google Summer of Code (GSoC) is a program that offers student developers stipends to write code for various ...
EnvyCasts: Scaling Ruby
Learn how to write faster Ruby applications and gain a deeper understanding of what it takes to scale Ruby. Topics covered: Processes & Threads Green vs Native Threading EventMachine Process Messaging Dropping to C Learning ruby-prof Speeding up Ruby code This screencast also comes with a PDF with further resources to learn more about each topic. Produced by Gregg Pollack
Concurrency: Past and Present
Summary Brian Goetz discusses the difficulties of creating multithreaded programs correctly, incorrect synchronization, race conditions, deadlock, Software Transactional Memory, the history of concurrency, alternatives to threads, Erlang, Scala, and recommendations for concurrency in Java. Bio Brian Goetz has been a professional software developer for 20 years. He is the author of over 75 artic...
dnrTV Show #4: Venkat Subramaniam on Multithreading Gotchas
Summary Venkat Subramaniam, author of .NET Gotchas, is back to begin a discussion of multithreading gotchas. If you're new to threading, this will be a challenging introduction. Bio Venkat is an agile developer who teaches and mentors. He has significant experience in architecture, design and development of distributed object systems. He has worked in positions, from Programmer Analyst to Syste...
Getting C++ Threads Right
Google Tech Talks December, 12 2007 ABSTRACT The advent of multicore processors has generated profound debate on the merits of writing parallel programs with threads and locks. Nonetheless, for many application domains, this remains the standard paradigm for writing parallel programs, and at the moment, there is no apparent universal replacement. And it is the focus of this talk. Somewhat surpr...