FastJsonparser, Fastest JSON parser for Ruby

FastJsonparser is ruby wrapper for simdjson which is written in c++. "JSON is de facto standard for exchanging data between web server and browser." If your application is parsing large JSON data then you must consider optimising it for better performance. I came across Simdjson which claims to parse gigabytes of JSON per second, It also claims to be over … Continue reading FastJsonparser, Fastest JSON parser for Ruby

When not to use Memoization in Ruby on Rails

Memoization is a wonderful concept in programming world. It helps in writing clean code which execute faster. Example: def slow_method @result ||= perform_slow_method end In the above code, slow_method will cache perform_slow_method in @resultvariable, therefore perform_slow_method will execute only once. So, if memoization is wonderful then why not to use it always? that’s the question I am going to answer … Continue reading When not to use Memoization in Ruby on Rails

Learnings from first solo talk at RubyConf TH

Content posted here with the permission of the author Shweta kale, who is currently employed at Josh Software. Original post available here I spoke at International RubyConf alone for the first time and it is one of the best experience I ever had at a conference. It all started few years back when I joined Josh. … Continue reading Learnings from first solo talk at RubyConf TH