Github Ds

screenshot of Github Ds
rails

A collection of Ruby libraries for working with SQL on top of ActiveRecord's connection

Overview

GitHub has introduced a powerful suite of libraries designed specifically for the Ruby community, enabling developers to work seamlessly with SQL on top of ActiveRecord's connections. This collection, which includes GitHub::DS, GitHub::KV, and GitHub::SQL, allows users to create, manage, and execute SQL queries while enjoying an improved API that simplifies data access. These libraries are not only extensive but have also been validated through extensive production use at GitHub, ensuring reliability and robustness for developers looking to integrate them into their projects.

For anyone eager to leverage the power of SQL with a focus on performance and ease of use, this library set offers unique features that cater to modern application needs. From key-value storage solutions to executing complex SQL commands, the GitHub DS suite holds promise for both new and experienced developers alike.

Features

  • Key/Value Store: GitHub::KV provides a flexible key/value datastore backed by MySQL, making it easy to store and retrieve data efficiently.
  • Enhanced SQL Execution: GitHub::SQL streamlines the building and execution of SQL queries, utilizing ActiveRecord's connection class while offering a more user-friendly API.
  • Resilient Result Handling: With GitHub::Result, developers can gracefully handle errors through effective use of Result objects instead of traditional exception handling.
  • Automatic Key Expiration: GitHub::KV supports key expiration, allowing users to specify expiration times for data, enhancing data management.
  • Production Proven: This suite has been extensively used in production at GitHub, ensuring all changes are thoroughly vetted and reliable for users.
  • Robust Installation Process: Easy installation and setup processes, with instructions clearly laid out for users to get started quickly.
  • Community and Collaboration: The project invites collaboration from the community with guidelines for code contributions, fostering a welcoming space for developers.
  • Comprehensive Testing Support: Tools and scripts are provided to run tests efficiently, ensuring stability and functionality of the libraries during development.
rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.