cmogstored - alternative mogstored implementation for MogileFS
--------------------------------------------------------------

cmogstored is an alternative implementation of the "mogstored" storage
component of MogileFS.  cmogstored is implemented in C and does not use
Perl at runtime.  cmogstored is the only component you need to install
on a MogileFS storage node.

Read more about MogileFS at https://github.com/mogilefs/MogileFS-Server
cmogstored is not directly affiliated with the MogileFS project
nor any commercial interests behind MogileFS.

Features
========

* low memory footprint, more memory for file system caches
* multithreaded design[1] keeps queues in rotational disks busy
* epoll/kqueue used to cheaply maintain persistent connections
* supports checksumming features in MogileFS::Server 2.60+
* easily installable on modern GNU/Linux and FreeBSD without Perl
* supports HTTP/1.1 persistent connections and pipelining
* supports chunked and partial (Content-Range) HTTP/1.1 PUT requests
* supports partial GET requests
* may reject PUTs based on Content-MD5 header/trailer verification
* graceful shutdown via SIGQUIT will not terminate active requests
* extensive test suite, code coverage and Valgrind-tested

Getting Started
===============

See the INSTALL document for installation and runtime requirements.

cmogstored aims to be mostly command-line and configuration-file
compatible with the Perl mogstored.

cmogstored does not support spawning lighttpd/Apache instances like its
Perl counterpart.

In other cases, you can simply replace "mogstored" with "cmogstored"
in your init scripts and use the same config file.

Contact
=======

For any and all questions, bug reports, patches, pull requests,
send plain-text email to our publically archived inbox at:

	cmogstored-public@bogomips.org

No subscription is neccessary, so reply-to-all on replies.
HTML email is not welcome and will be bounced.

Our archives are at https://bogomips.org/cmogstored-public/
and via NNTP:

  nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored

We also piggy-back onto the public MogileFS mailing list for public
discussions:

	mogile@googlegroups.com

Note, subscription required for the MogileFS list:

	mogile+subscribe@googlegroups.com

MogileFS archives are at: <https://groups.google.com/forum/#!forum/mogile>

Downloads
=========

Source tarballs suitable for distribution are housed here:

* https://bogomips.org/cmogstored/files/

The latest stable release is:
	https://bogomips.org/cmogstored/files/cmogstored-1.7.1.tar.gz

See https://bogomips.org/cmogstored/NEWS for release notes

Source code
===========

* git clone https://bogomips.org/cmogstored.git
* gitweb :: https://repo.or.cz/w/cmogstored.git

License
=======

cmogstored is licensed under the GNU General Public License, v3 (or later).
Distribution tarballs include LGPL code from the Gnulib project in lib/.
The bsd/*.h compatibility headers are BSD-licensed.
The nostd/* files are Expat/MIT-licensed from the libnostd project
Contributors retain their copyrights to their respective contributions.

This project is not affiliated with the GNU project nor FSF even though
we use their tools and licenses.

Homepage
========

Eric Wong hates pretty things, so this README file is also the homepage:
https://bogomips.org/cmogstored/README

The latest releases are announced via Atom feed:
https://bogomips.org/cmogstored/NEWS.atom.xml

[1] https://bogomips.org/cmogstored/queues.txt