pastebin 0.1.0

A simple pastebin service
docs.rs failed to build pastebin-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: pastebin-0.17.9

[Documentation]

Simple pastebin server

About

A simple multipurpose RESTful storage server written in Rust. It uses MongoDB as a storage backend and Rocket web framework to do the web stuff.

Performance

I've run a simple performance test on my maching and the service is okay with doing about 500 10 KB requests per second (in 5 threads). But we need better performance tests.

Limitations

As for now, there is a hard limit of 15 megabytes on any incoming data. This limitations comes from a BSON document size with some reserve for extra data.

While it is technically possible to store larger data chunks in a MongoDB using a GridFS it has not been implemented in this project yet. But it is on the plan :)