Victor Castell   Dkron    About

Dkron 2.0 Release

Excited to announce that Dkron v2.0 is here! It’s been more than 6 months of hard work, testing, and many contributions.

Now Dkron feels faster, compact and easier to use than ever.

Dkron v2.0 comes with lots of new features, big design changes, and many many bug fixes and improvements.

I want to thank all customers, contributors and testers, a special mention to @yvanoers for his invaluable help to the community, and hard work fixing bugs and creating new features.

The Pro 2.0 version is also released and available now for current customers at no extra cost.

I also want to announce a change in pricing for the Pro license, because of its unique features and the hard work invested in it, I want to guarantee I keep on motivated to support and develop Dkron to the next level. The Pro version will be priced at 750$/year for any number of nodes.

If you already have a Pro license you won’t be charged the new price until the next billing cycle.

Natively distributed

Dkron v1 relied on existing distributed Key-Value stores like etcd, consul and others. In Dkron v2 there is no need for an external distributed Key-Value store, now all data in Dkron is distributed in server nodes natively using the Raft protocol.

Read operations are faster than ever thanks to the BadgerDB engine used for local node persistence.

Cloud native

retry-join parameter accepts a unified interface using the go-discover library for doing automatic cluster joining using cloud metadata.

Supporting all major cloud providers, forming clusters in cloud environment is easier than ever:

# Amazon AWS
provider=aws region=eu-west-1 tag_key=dkron tag_value=... access_key_id=... secret_access_key=...

Also accepting IP address templates using go-sockaddr/template package

Job metadata

Now jobs can have an extra property field called metadata that allows to set arbitrary tags to jobs and query the jobs using the API:

{
    "name": "job_name",
    "command": "/bin/true",
    "schedule": "@every 2m",
    "metadata": {
        "role": "web"
    }
}

And then query the API to get only the results you need:

$ curl http://localhost:8080/v1/jobs --data-urlencode "metadata[role]=web"

About v1

Dkron v1 is now officially deprecated and will not receive new features. I will fix only critical bugs until end of January 2020.

Wrap-up

These are some of the new features, but there are also lots of bug fixes, code refactoring and improvements in this release.

Be sure to read the v1 to v2 upgrade guide

Download and install from here

Hope you enjoy it as much as I do.

Written on Nov 27, 2019.