Skip to content

Commit

Permalink
Merge pull request #26 from hudl/next
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
robhruska committed Jun 27, 2014
2 parents 63db242 + e552a90 commit e81c80a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 4 additions & 2 deletions Hudl.Mjolnir/Hudl.Mjolnir.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<version>$version$</version>
<authors>$author$</authors>
<description>$description$</description>
<licenseUrl>https://github.com/hudl/Mjolnir/LICENSE</licenseUrl>
<licenseUrl>https://raw.githubusercontent.com/hudl/Mjolnir/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/hudl/Mjolnir</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>isolation resilience threadpool circuitbreaker</tags>
Expand All @@ -14,5 +14,7 @@
<files>
<file src="bin\Release\$id$.dll" target="lib\net45"/>
<file src="bin\Release\$id$.pdb" target="lib\net45"/>
<file src="dll\SmartThreadPool.dll" target="lib\net45"/>
<file src="dll\SmartThreadPool.pdb" target="lib\net45"/>
</files>
</package>
</package>
4 changes: 2 additions & 2 deletions Hudl.Mjolnir/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
[assembly: Guid("97b23684-6c4a-4749-b307-5867cbce2dff")]

// Used for NuGet packaging, uses semantic versioning: major.minor.patch-prerelease.
[assembly: AssemblyInformationalVersion("2.0.0")]
[assembly: AssemblyInformationalVersion("2.0.1")]

// Keep this the same as AssemblyInformationalVersion.
[assembly: AssemblyFileVersion("2.0.0")]
[assembly: AssemblyFileVersion("2.0.1")]

// ONLY change this when the major version changes; never with minor/patch/build versions.
// It'll almost always be the major version followed by three zeroes (e.g. 1.0.0.0).
Expand Down
Binary file added Hudl.Mjolnir/dll/SmartThreadPool.pdb
Binary file not shown.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ When bad things like network partition or resource exhaustion happen, Mjolnir he
- shed load from failing downstream dependencies.
- fail fast back to the caller.

Mjolnir is modelled after Netflix's awesome [Hystrix](https://github.com/Netflix/Hystrix) library. Some components are ports, but much of it has been written using C#- and .NET-specific features (e.g. `async/await`, `CancellationToken`s).
Mjolnir is modeled after Netflix's awesome [Hystrix](https://github.com/Netflix/Hystrix) library. Some components are ports, but much of it has been written using C#- and .NET-specific features (e.g. `async/await`, `CancellationToken`s).

When To Use
-----
Expand Down Expand Up @@ -61,7 +61,7 @@ using Hudl.Mjolnir.External;
CommandContext.Stats = new MyStats();
```

You'll want to set `CommandContext.Stats` early on application startup; breakers and pools will cache their stats implementations, and won't pick up a new one if you set if after they've been created.
You'll want to set `CommandContext.Stats` early on application startup; breakers and pools will cache their stats implementations, and won't pick up a new one if you set it after they've been created.

See [the list of available metrics](Hudl.Mjolnir/External/stats-list.md).

Expand Down Expand Up @@ -301,7 +301,10 @@ Command names will always have exactly one dot (`.`) separator. Configuring a Co

The default timeouts are fairly permissive; timeouts should be tuned after observing the Command's typical behavior in production.

TODO
Thanks
-----

- More information about how to tune configuration, and what ideal configuration values are.
- The [Netflix Engineering](http://techblog.netflix.com/) team, authors of [Hystrix OSS](https://github.com/Netflix/Hystrix), which inspired much of Mjolnir.
- Michael Nygard, for [*Release It! Design and Deploy Production-Ready Software*](http://www.amazon.com/Release-Production-Ready-Software-Pragmatic-Programmers-ebook/dp/B00A32NXZO/ref=sr_1_1?ie=UTF8&qid=1402974176&sr=8-1&keywords=release+it), which does a fantastic job of discussing patterns like circuit breakers and bulkheads. Buy it, it's good.
- Ami Bar, for [SmartThreadPool](http://www.codeproject.com/Articles/7933/Smart-Thread-Pool).
- [Stephen Cleary](http://stephencleary.com/), author of many great articles and StackOverflow answers about `async`/`await` and TAP.

0 comments on commit e81c80a

Please sign in to comment.