bindata VS mongrel

Compare bindata vs mongrel and see what are their differences.

bindata

BinData - Reading and Writing Binary Data in Ruby (by dmendel)
Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
bindata mongrel
4 2
571 173
- -
6.4 10.0
about 1 month ago over 14 years ago
Ruby Ruby
BSD 2-clause "Simplified" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bindata

Posts with mentions or reviews of bindata. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-18.
  • Newb here: have you written your own web server? Seeking advice
    13 projects | /r/ruby | 18 Jun 2022
    For example, I enjoy sim racing, and some of my games provide a network API for things like telemetry data. So I wrote a simple telemetry logger that I use to gather data, which I then mess around with using R Studio. Ruby worked exceptionally well for this because of a cool little library called BinData.
  • Ruby Structs with type specifications for the properties
    4 projects | /r/ruby | 29 Jun 2021
    These projects always remind me of binary formats. I've used bindata to work with binary formats coming from UDP streams over a network, and it's very handy to have a layer that encapsulates your expectations about the data you're receiving, combined with an exception handling apparatus.

mongrel

Posts with mentions or reviews of mongrel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-18.
  • Newb here: have you written your own web server? Seeking advice
    13 projects | /r/ruby | 18 Jun 2022
    Mongrel. The granddaddy of Ruby web servers. Mongrel was the inspiration for many Ruby web servers to follow. It uses a C extension of Ragel for HTTP parsing, which gave it incredible speed. It was the first truly performant Ruby server. It is no longer maintained, so you should not use it, but it is historically significant.
    13 projects | /r/ruby | 18 Jun 2022
    The other major thing you'll run into is performance. WEBrick's HTTP parsing code may look hairy but it is fast. Mongrel was the first Ruby HTTP server to implement it's HTTP parser in C using Ragel, which Thin, Unicorn, and Puma all copied; although there's a bug in the original Mongrel HTTP parser where it does not combine the values duplicate HTTP headers (yes, HTTP Header names can actually be repeated).

What are some alternatives?

When comparing bindata and mongrel you can also consider the following projects:

config.cr - Easy to use configuration and parser.

HAR - HAR (HTTP Archive) parser in Crystal

maxminddb.cr - MaxMind DB Reader for Crystal

Crystalizer - (De)serialize any Crystal object - out of the box. Supports JSON, YAML and Byte format.

crinder - Class based json renderer in Crystal

Thin - A very fast & simple Ruby web server

EventMachine - EventMachine: fast, simple event-processing library for Ruby programs

JSON tools - An implementation of RFC-6901 and RFC-6902 in Crystal Lang

Puma - A Ruby/Rack web server built for parallelism

geoip2.cr - MaxMind GeoIP2 Reader for Crystal

Rack - A modular Ruby web server interface.

JSON::OnSteroids - [Crystal Lang] Handle and mutate JSON document easily