RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

[Manga-Downloadr] Improving the Crystal/Ruby from bursts to pool stream

Yesterday I implemented and benchmarked a new version of my Manga Downloader (use case for a crawler/scrapper) in Crystal, MRI Ruby and JRuby against by more efficient Elixir version. Today I improved the algorithm to use ThreadPool in Ruby/JRuby and a “Fiber Pool” in Crystal. Check out if we got closer to Elixir this time.

[Manga-Downloadr] Porting from Crystal to Ruby (and a bit of JRuby)

In my path to learn more about Crystal I wrote yet-another-MangaReader-downloader. The code is over here. And then I decided to port it over to Ruby to see how Crystal and Ruby compare. The new Ruby version of the downloader is here. And I wrote a detailed analysis of this experience. I also benchmarked the Crystal, MRI Ruby and JRuby with this scrapper/crawler use case. Check out my new post about it.

Loading older posts