AkitaOnRails
akitaonrails.com · Personal blog · on HN since 2007
Fabio Akita writes about Ruby on Rails, Linux, developer tooling, and programming language trends.
What HN saysHN links it for Rails tutorials and his Ruby server benchmarks, and commenters cite its older posts on Rails and programming opinions.
53HN people shared it
16linked it in comments
105stories submitted
799story points
2 months agolast shared
2007people per year2026
Most-shared posts
- 1Optimizing Linux for Slow Computers6 people · 32 points · first shared 2017 · 1 comments on HN
- 2The New Kid on the Block for Ruby Servers: Raptor6 people · 2 points · first shared 2014 · discussion on HN
- 3Windows Subsystem for Linux is good, but not enough yet3 people · 44 points · first shared 2017 · 61 comments on HN
- 4Moving to GitLab Yes it's worth it3 people · 18 points · first shared 2016 · 1 comments on HN
- 5Rails has won: The Elephant in the Room2 people · 316 points · first shared 2016 · 201 comments on HN
- 6From Microsoft to Apple, and Back Again2 people · 33 points · first shared 2017 · 21 comments on HN
- 7Rolling with Rails 2.1 - The First Full Tutorial - Part 22 people · 12 points · first shared 2008 · 2 comments on HN
- 8Personal Thoughts on the Current Functional Programming Bandwagon2 people · 11 points · first shared 2015 · 2 comments on HN
- 9Chatting with Chris Wanstrath (Github)2 people · 10 points · first shared 2008 · discussion on HN
- 10_Why, Ruby Dramas, and Dynamiting Courtlandt2 people · 6 points · first shared 2012 · 1 comments on HN
- 11Trying to Match C-based Fast Blank with Crystal2 people · 4 points · first shared 2016 · discussion on HN
- 12Why it is just lazy to bad-mouth Ruby on Rails2 people · 4 points · first shared 2017 · discussion on HN
- 13Rolling with Rails 2.1 - The First Full Tutorial - Part 12 people · 2 points · first shared 2008 · discussion on HN
- 14Rolling with Rails 2.0 Screencast - PDF and High Quality Video2 people · 2 points · first shared 2008 · discussion on HN
- 15Phoenix Framework (Elixir) Experiment, 2M websocket clients single server2 people · 1 points · first shared 2015 · discussion on HN
What HN people wrote when they linked it
robin_reala · 2014-10-20
Not yet as far as I can find. I saw Laurent Sansonetti (of RubyMotion fame) tweet about it, but whether he’s had a play or not I don’t know. Fabio Akita’s apparently run some benchmarks against the beta ( http://www.akitaonrails.com/2014/10/19/the-new-kid-on-the-block-for-ru… ) but seems almost too excited so maybe take that recommendation with a pinch of salt.
nickb · 2008-02-26
I agree. Rails is currently the way to go. It's much more mature than Django and has more flexibility and more mature gems/plugins.
Lynda tutorials are great. I'd also recommend free ones:
http://railscasts.com/
http://www.akitaonrails.com/2008/2/1/rolling-with-rails-2-0-pdf-versio…
And for-pay ones at http://www.peepcode.com
Also, grab "The Rails Way" book by Obie Fernandez (it's THE BEST book on Rails.. when you learn the basics, it's better than 'Agile Web Development with Rails') and "The Ruby Way" by Hal Fulton.
pseudalopex · 2017-06-02
Perl was popular because it had a huge head start. Perl 5 was released the same year as Python 1.0. CPAN launched in 1995, PyPI in 2003.
Python began to pick up momentum around 2000. It was able to break out of the "scripting" niche because it had good OO support and encouraged a consistent style that made it easy for several developers to work on a large project.
Rails probably marked the tipping point, but it wasn't just the framework. A lot of Perl programmers found out they liked Ruby. You're right that Perl 6 was part of the problem; it might be where Ruby is today if it had come out in 2003.
On the other hand, Ruby probably wouldn't exist if Perl 5 had a better object system.[1] It's "Ruby on Rails" because DHH fell in love with Ruby.[2] The creators of Django learned Perl before falling in love with Python.[3] So that has something to do with the languages too.
[1] http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html
[2] https://www.quora.com/Why-did-David-Heinemeier-Hansson-choose-Ruby-ove…
[3] http://www.akitaonrails.com/2008/01/01/chatting-with-adrian-holovaty
DistractionRect · 2024-01-15
AFAIK, it's the same as any other language w/ Ruby.
Http micro service, IPC, or FFI.
There were some attempts to do inline crystal, like what Mojo does in Python, but I don't know if any of them became stable long term solutions.
There's probably a way to get native C ext speed, you can see an old attempt here:
https://www.akitaonrails.com/2016/07/06/trying-to-match-c-based-fast-b…
But at any rate, it'll be better than ruby.
igouy · 2023-06-02
aka it’s “turtles all the way down”
https://www.akitaonrails.com/2007/12/15/chatting-with-avi-bryant-part-…
cpursley · 2018-06-04
Yes, and likely faster.
http://www.akitaonrails.com/2015/10/27/how-fast-is-elixir-phoenix
akitaonrails · 2017-06-05
Coincidentally I wrote about this same subject this week. But I went a step further than that. It's not about the pen.
http://www.akitaonrails.com/2017/06/01/conference-talks-interviews-and…
it33 · 2016-08-27
Hi @chriscappuccio,
Could you share an example of what you went wrong?
The Mattermost server has around 59% automated test coverage, our community does over 120 hours of manual testing prior to each monthly release, and we're constantly striving to improve.
Here's a recent review of Mattermost's quality levels, from someone who left Mattermost and then returned, concluding Mattermost was the leading solution: http://www.akitaonrails.com/2016/08/13/choosing-mattermost-over-rocket…
If your experience is different, we're highly interested in knowing how we can improve.
stephenr · 2016-06-01
tim333 · 2016-01-20
Similar to other Erlang implementations like Pheonix I guess http://www.akitaonrails.com/2015/10/29/phoenix-experiment-holding-2-mi…
FooBarWidget · 2014-10-21
There is a benchmark comparison with Rails. See http://www.akitaonrails.com/2014/10/19/the-new-kid-on-the-block-for-ru…
gamache · 2014-10-20
Looking at the single review they link to on the site[1], it looks like the major speedup is due to internal response caching, high concurrency comes from non-thread-bound connection pooling, and there are a few other niceties relating to Nginx integration.
[1] http://www.akitaonrails.com/2014/10/19/the-new-kid-on-the-block-for-ru…
jpeterson · 2008-05-26
The parent link is broken. Should point here: http://www.akitaonrails.com/2008/5/26/rolling-with-rails-2-1-the-first…
raju · 2008-05-26
And the link to part 1 on Akita's blog is broken. Here it is... http://www.akitaonrails.com/2008/5/25/rolling-with-rails-2-1-the-first…
[Update - Never mind. It just errored out on me for some reason. I apologize]
SomeCallMeTim · 2015-02-16
I think optimizing while designing is totally appropriate. In fact you can make some of the most powerful optimizations at the design stage, with almost no additional effort required.
Should you go down a rabbit hole, spending hours optimizing something because you think it might help? No, of course not. To my reading, that is what the warning is about.
But when you're designing a system, especially one that you know needs to be fast, should your design be optimized from the ground up? Yes, in some cases at least. [1]
When I code, I choose to use languages (C++, Go, LuaJIT, JavaScript/Node) that allow me to write code that ends up faster. Some people will cite "premature optimization" based solely on that decision, and they'll write their code in Python, or PHP, or Perl, or Ruby. [2] Since my servers will handle 3000 user interactions per second with no caching, I still contend that this is an appropriate stage for optimization.
I've seen projects fail because the server requirements were too high: 100 concurrent users per Python-based server on a free-to-play game meant that if the app took off, it would be losing money because of the costs of running hundreds of servers. You can't just "optimize" the app if the problem is you need to rewrite it in a completely different language. Computer time in the cloud may seem cheaper than programmer time, but in practice if you pay the programmers up front to do it right, you can cut ongoing operating costs indefinitely. And…
pius · 2008-04-21
It doesn't really matter much to me if you watch the video or not. I did want to take the opportunity, however, to give you a taste of your own medicine after this incident: http://news.ycombinator.com/item?id=135296. ;)
All that aside, the whole point of the talk was that one can live very well off one's web application even if it's only moderately successful. I think the example he gave was 2,000 small business users at $40/month ~= $1,000,000/year in gross revenue. Or 400 users at the same rate if you don't mind only grossing $200,000 a year.
His argument was that you don't need to stress about investors, 12-hour days, and viral loops as long as you're willing to "settle" for a pleasant, financially viable, and capital efficient business with a niche of users who really appreciate your approach to solving their problems. That's the irony of making fun of an app in this thread for only having several hundred users.
You probably would enjoy the video; I certainly did.
(Incidentally, GitHub and Lighthouse didn't require massive capital investments [1] and I'm pretty sure that they're hosted "for free" on Engine Yard. Having a few hundred users would practically guarantee that they're cashflow positive.)
[1] http://www.akitaonrails.com/2008/4/21/chatting-with-chris-wanstrath-er…