All Projects → frankhommers → Hangfire.postgresql

frankhommers / Hangfire.postgresql

Licence: other
PostgreSql Storage Provider for Hangfire

Projects that are alternatives of or similar to Hangfire.postgresql

Datoji
A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.
Stars: ✭ 222 (+48.99%)
Mutual labels:  postgresql, storage
Indigo
Universal cheminformatics libraries, utilities and database search tools
Stars: ✭ 146 (-2.01%)
Mutual labels:  postgresql
Dapper.fsharp
Lightweight F# extension for StackOverflow Dapper with support for MSSQL, MySQL and PostgreSQL
Stars: ✭ 145 (-2.68%)
Mutual labels:  postgresql
Postgres Meta
A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries
Stars: ✭ 146 (-2.01%)
Mutual labels:  postgresql
Rafter
Kubernetes-native S3-like files/assets store based on CRDs and powered by MinIO
Stars: ✭ 145 (-2.68%)
Mutual labels:  storage
Elephant Shed
PostgreSQL Management Appliance
Stars: ✭ 146 (-2.01%)
Mutual labels:  postgresql
Serverless Pg
A package for managing PostgreSQL connections at SERVERLESS scale
Stars: ✭ 142 (-4.7%)
Mutual labels:  postgresql
Algernon
🎩 Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support
Stars: ✭ 1,880 (+1161.74%)
Mutual labels:  postgresql
Awesome Web Scraper
A collection of awesome web scaper, crawler.
Stars: ✭ 147 (-1.34%)
Mutual labels:  storage
Redux Persist
persist and rehydrate a redux store
Stars: ✭ 11,738 (+7777.85%)
Mutual labels:  storage
Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+1216.78%)
Mutual labels:  storage
Mega.py
Python library for the https://mega.nz/ API.
Stars: ✭ 145 (-2.68%)
Mutual labels:  storage
Middleware
TrueNAS CORE/Enterprise/SCALE Middleware Git Repository
Stars: ✭ 1,851 (+1142.28%)
Mutual labels:  storage
Pg stat monitor
PostgreSQL Statistics Collector
Stars: ✭ 145 (-2.68%)
Mutual labels:  postgresql
Node Express Postgresql Sequelize
Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API
Stars: ✭ 148 (-0.67%)
Mutual labels:  postgresql
Go Cache
This project encapsulates multiple db servers, redis、ledis、memcache、file、memory、nosql、postgresql
Stars: ✭ 143 (-4.03%)
Mutual labels:  postgresql
Lapidus
Stream your PostgreSQL, MySQL or MongoDB databases anywhere, fast.
Stars: ✭ 145 (-2.68%)
Mutual labels:  postgresql
React Storage Hooks
React hooks for persistent state
Stars: ✭ 146 (-2.01%)
Mutual labels:  storage
Querybuilder
SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird
Stars: ✭ 2,111 (+1316.78%)
Mutual labels:  postgresql
Pins
Pin, Discover and Share Resources
Stars: ✭ 149 (+0%)
Mutual labels:  storage

Hangfire.PostgreSql

Build status

This is an plugin to the Hangfire to enable PostgreSQL as a storage system. Read about hangfire here: https://github.com/HangfireIO/Hangfire#overview and here: http://hangfire.io/

Instructions

For .NET

Install Hangfire, see https://github.com/HangfireIO/Hangfire#installation

Download all files from this repository, add the Hangfire.PostgreSql.csproj to your solution. Reference it in your project, and you are ready to go by using:

app.UseHangfireServer(new BackgroundJobServerOptions(), 
  new PostgreSqlStorage("<connection string or its name>"));
app.UseHangfireDashboard();

For ASP.NET Core

First, additional NuGet packages needs installation:

  • Hangfire
  • Hangfire.AspNetCore
  • Hangfire.PostgreSql

In Startup.cs ConfigureServices(IServiceCollection services) method add the following line:

services.AddHangfire(config =>
		        config.UsePostgreSqlStorage(Configuration.GetConnectionString("HangfireConnection")));

In Configure method, add these two lines:

app.UseHangfireServer();
app.UseHangfireDashboard();

And... That's it. You are ready to go. Also there exists sample application here.

If you encounter any issues/bugs or have idea of a feature regarding Hangfire.Postgresql, create us an issue. Thanks!

Enabling SSL support

SSL support can be enabled for Hangfire.PostgreSql library using the following mechanism:

config.UsePostgreSqlStorage(new DefaultConnectionBuilder(
    options.HangfireDatabaseConnectionString,
    connection =>
    {
        connection.ProvideClientCertificatesCallback += clientCerts =>
        {
            clientCerts.Add(X509Certificate.CreateFromCertFile("[CERT_FILENAME]"));
        };
    }));

License

Copyright © 2014-2020 Frank Hommers http://hmm.rs/Hangfire.PostgreSql and others (Burhan Irmikci (barhun), Zachary Sims(zsims), kgamecarter, Stafford Williams (staff0rd), briangweber, Viktor Svyatokha (ahydrax), Christopher Dresel (Dresel), Vytautas Kasparavičius (vytautask), Vincent Vrijburg, David Roth (davidroth).

Hangfire.PostgreSql is an Open Source project licensed under the terms of the LGPLv3 license. Please see http://www.gnu.org/licenses/lgpl-3.0.html for license text or COPYING.LESSER file distributed with the source code.

This work is based on the work of Sergey Odinokov, author of Hangfire. http://hangfire.io/

Related Projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].