Skip to content

Instantly share code, notes, and snippets.

View daks's full-sized avatar

Éric Veiras Galisson daks

View GitHub Profile
@daks
daks / High_Performance_Redis.md
Created August 29, 2023 11:16 — forked from neomantra/High_Performance_Redis.md
Notes on running Redis with HPC techniques

High Performance Redis

In response to this brief blog entry, @antirez tweeted for some documentation on high-performance techniques for Redis. What I present here are general high-performance computing (HPC) techniques. The examples are oriented to Redis. but they work well for any program designed to be single- or worker-threaded and asynchronous (e.g. uses epoll).

The motivation for using these techniques is to maximize performance of our system and services. By isolating work, controlling memory, and other tuning, you can achieve significant reduction in latency and increase in throughput.

My perspective comes from the microcosm of my own bare-metal (vs VM), on-premises deployment. It might not be suitable for all scenarios, especially cloud deployments, as I have little experience with HPC there. After some discussion, maybe this can be adapted as [redis.io documentation](https://redis.io/do

@daks
daks / dovecot-doveadm-sync.md
Created May 22, 2023 11:34 — forked from scottnunemacher/dovecot-doveadm-sync.md
Sync (migrate) a Dovecot Email Account from One Dovecot Server to Another

Sync (migrate) a Dovecot Email Account from One Dovecot Server to Another

The man doveadm-sync pages are cryptic and not very well explained, as well they are missing quality real-world examples.

This gist aims to give some clarity and explanation.

Here is the command I got to successfully transfer (and sync backwards too) an email account from an old Dovecot email server to a new Dovecot email server:

To my knowledge, both servers must have a matching account already setup for this to work:

@daks
daks / cfgmgmtcamp2016.org
Created March 13, 2017 19:46 — forked from philandstuff/cfgmgmtcamp2016.org
configuration management camp 2016 notes
@daks
daks / collectd-squid-plugins
Created March 6, 2017 16:59 — forked from wrzasa/collectd-squid-plugins
Collectd plugins to read squid statistics.
Work for me with squid 3.4 on debian jessie.
I use it with collectd exec plugin (https://collectd.org/documentation/manpages/collectd-exec.5.shtml)
to collect data from squid, send it over the network to influxdb and visualize with grafana.
Maybe someone will have some use of it. Good luck ;-)
https://gist.github.com/wrzasa/dfd7b554171159a6b2ab24b03b8e30b8/
@daks
daks / README.md
Last active February 28, 2017 18:34 — forked from GeReinhart/albums_per_year.md
Albums

This script helps you construct your albums per year list, using Last.fm top albums list.

You need Python, pylast and musicbrainzng.

Initialize your parameters like in the env.example file and 'source' it.