Skip to content

sonic0002/rubyonrailsgems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

rubyonrailsgems

List of useful gems in Ruby on Rails app

General

This includes gems which have general purpose.

  • crontab_syntax_checker: This is a gem to chek crontab entry syntax. It is useful when someone wants to verify whether a crobtab entry is valid.

Web servers

This includes gems related to webservers which would drive the RoR app.

  • unicorn: unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • puma: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. It can be well cooperated with JRuby on Rails app.

Database

This includes gems related to database handling or optimization.

  • strong_migrations: This is a gem which catches unsafe database migrations at development time so that it would not cause migration issues in production environment. It also helps improve the migration performance(especailly good for Postgres).

Asynchronous jobs

This includes jobs gem which help run aynchronous tasks in a RoR application.

  • delayed_job: A process based asynchronous task processing gem which can be ran at background. It will fork the specified number of processes to execute the tasks.
  • delayed_job_worker_pool: A gem based on delayed_job which extends its capability by allowing running the job workers at foreground and recreate jobs which are dead. Moreover, it can reduce memory usage by preloading the app where various workers can share the same application stack.
  • sidekiq: A thread based task processing gem which uses thread instead of process to process task. This reduces the memory footprint of tasks. It needs to have Redis installed while usng it.

Performance

This includes gems which are help developers understand the RoR application performance and how to opitimize the application when there is performance issue.

  • memory_profiler: It is to measure memory usage of specific code blocks. It is frequently used while developing code.
  • derailed_benchmarks: It can be ran to check the memory usage of a static gem and a dynamic running RoR app. It provides many commands which can be used to measure performance at different aspects. Including memory, object, gc, time etc.

This list would be updated frequently and pull requests are welcomed.

About

List of useful gems in Ruby on Rails app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published