A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/apache/pulsar-dotpulsar/wiki/Compression below:

Compression · apache/pulsar-dotpulsar Wiki · GitHub

DotPulsar support compression from version 0.11.0 (released 2021-02-21).

All we have to do is install the needed NuGet packages listed below and DotPulsar will automatically detect them.

Why doesn't DotPulsar just include them by default?

Choosing dependencies is never easy, especially when the project will be a dependency for others like DotPulsar is. There are often a lot of NuGet packages that do the same thing, but which one is the best? So we start investigating:

The above are some of the questions we start asking ourselves and eventually we make a choice but...

What if we don't need compression?

Maybe we don't need compression but now DotPulsar will bring in all these compression packages and their dependencies. Not nice! Therefore, these dependencies are optional. Install them only if we need them.

What if we are using another version of the dependency?

Maybe we are already using e.g. IronSnappy, but a different version and now this is causing problems for us? With optional dependencies, it's possible to support multiple versions of the same library, even though it was breaking changes.

What if we are already using another compression package?

Maybe we are using e.g. Snappier instead of IronSnappy and now we have both in our runtime. Since optional dependencies are "free" to add, we can simply start adding support for more options, so that we can choose between Snappier and IronSnappy.

We respect the freedom to choose your dependencies

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4