- What is Serverless?
- Business decision CAPEX → OPEX
- What is not?
- FaaS on your own k8s cluster
- Gotchas
- Latencies
- Cold start penalty
- Monitoring
- Offerings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #fff; | |
padding: 0 16px 32px; | |
-ms-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; | |
line-height: 1.5; | |
color: #333; | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
font-size: 16px; | |
line-height: 1.5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Conditions": { | |
"CloudStorEfsSelected": { | |
"Fn::Equals": [ | |
{ | |
"Ref": "EnableCloudStorEfs" | |
}, | |
"yes" | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
agent: | |
image: swarmpit/agent:2.0 | |
environment: | |
DOCKER_API_VERSION: '1.35' | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
networks: | |
- net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON.parse(JSON.stringify({"arbitrary": Math.pow(2, 128), "arbitrary+1": Math.pow(2, 128) + 1, "arbitrary-1": Math.pow(2, 128) - 1, "64bit": Math.pow(2, 64), "64bit+1": Math.pow(2, 64) + 1, "64bit-1": Math.pow(2, 64) - 1, "53bit": Math.pow(2, 53), "53bit+1": Math.pow(2, 53) + 1, "53bit-1": Math.pow(2, 53) - 1,"32bit": Math.pow(2, 32), "32bit+1": Math.pow(2, 32) + 1, "32bit-1": Math.pow(2, 32) - 1,})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns ring.logger.cambium | |
(:require | |
[cambium.core :as log] | |
[ring.logger.messages :as messages] | |
[ring.logger.protocols :refer [Logger]] | |
[ring.logger :as logger])) | |
(defrecord CambiumLogger [] | |
Logger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def employee-stats | |
(xf/transjuxt | |
{:billable-hours (comp billable-hours (xf/reduce +)) | |
:startups-hours (comp startups-hours (xf/reduce +)) | |
:non-billable-without-edu-hours (comp non-billable-without-edu-hours (xf/reduce +)) | |
:without-allocation-hours (comp without-allocation-hours (xf/reduce +)) | |
:education-hours (comp education-hours (xf/reduce +)) | |
:time-off-hours (comp time-off-hours (xf/reduce +)) | |
:projects-count (comp significant-projects xf/count)})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns methyl.console | |
"Helper functions for logging. | |
Logging is enebled only when `goog.DEBUG` symbol is defined with value equal to `true`." | |
(:refer-clojure :exclude [time])) | |
(def | |
^{:docs | |
"Displays a message in the console. Pass one or more objects to this method. | |
Each object is evaluated and concatenated into a space-delimited string. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import match from 'react-router/lib/match'; | |
const matchResult = (resolve, reject) => (err, redirectLocation, renderProps) => err ? reject(err) : resolve({redirectLocation, renderProps}); | |
const matchExecutor = ctx => (resolve, reject) => match(ctx, matchResult(resolve, reject)); | |
export default ctx => new Promise(matchExecutor(ctx)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Observable} from 'rxjs/Observable'; | |
import {Subscription} from 'rxjs/Subscription'; | |
import {map} from 'rxjs/operator/map'; | |
import useRouterHistory from 'react-router/lib/useRouterHistory'; | |
import createTransitionManager from 'react-router/lib/createTransitionManager'; | |
import {stringify, parse} from 'qs'; | |
const RAILS_QUERY_FORMAT = {arrayFormat: 'brackets'}; | |
const stringifyQuery = query => stringify(query, RAILS_QUERY_FORMAT).replace(/%20/g, '+'); | |
const parseQueryString = query => parse(query, RAILS_QUERY_FORMAT); |