These instructions will install Firefly III on Ubuntu 18.04. It includes setup for:
- PHP 7.2
- Nginx
- MariaDB
- Securing an Ubuntu server
- Securing Maria DB
- Let's Encrypt
var Benchmark = require('benchmark'); | |
var schemaManager = require('schema-inspector'); | |
var tv4 = require('tv4'); | |
var suite = new Benchmark.Suite; | |
var schema = { | |
count: { | |
optional: true | |
}, |
I'm still very new to Kafka, eventsourcing, stream processing, etc. I'm in the middle of building my first production system with this stuff and am writing this at the request of a few folks on Twitter. So if you do have experience, please do me and anyone else reading this a favor by pointing out things I get wrong :)
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# | |
# Setup destination directory | |
# | |
export MY_CB_DIR=/opt/couchbase | |
mkdir ${MY_CB_DIR} | |
# Install pre-requisite packages | |
/opt/local/bin/pkgin -y in libtool-base autoconf automake git gcc47 gnupg gmake libevent icu py27-expat snappy erlang-15 subversion-base go gettext | |
# |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
imgadm import a1d74530-4212-11e3-8a71-a7247697c8f2 | |
vmadm create <<EOF | |
{ | |
"alias": "ansible" | |
,"hostname": "ansible" | |
,"zfs_root_compression": "on" | |
,"autoboot": false | |
,"brand": "joyent" | |
,"dataset_uuid": "a1d74530-4212-11e3-8a71-a7247697c8f2" | |
,"max_physical_memory": 256 |
# | |
# Tasks | |
# | |
# - start :: starts application using forever | |
# - stop :: stops application using forever | |
# - restart :: restart application using forever | |
# | |
# This set's your local directory to to your NODE_PATH | |
NODE_EXEC = NODE_PATH=.:$(NODE_PATH) |
tar -cvz /<path>/ | gpg --encrypt --recipient <keyID> > /<backup-path>/backup_`date +%d_%m_%Y`.tar.gz.gpg |