Much like the gross, tasty burrito of the same name, this backend architecture has five layers.
- Surface
- Authentication
- Authorization
- Service
- Client
| -- based off the metrics on the dashboard of the mixpanel music finder demo | |
| create table events ( | |
| id bigserial primary key, | |
| user_id varchar, | |
| created_at timestamptz not null default now(), | |
| name varchar not null, | |
| properties jsonb not null default '{}' | |
| ); |
Requires ammonite
Written to use the ipstack.com API, but can be easily modifed to work with any geolocation api by editing the geolocate function.
cat your-elb-log-file.log | ./elb-geo.sc --ipstackKey $YOUR_API_KEY > elb-map.gpx
Securing a websocket connection is a mess.
A good solution needs to
To that end, the following should work:
| import cats.Show | |
| import scala.collection.immutable._ | |
| import scala.collection.AbstractIterator | |
| import OrderedIterable.{Nill, Node} | |
| sealed abstract class OrderedIterable[+A] extends Iterable[A] { | |
| def apply(i: Int): A |
| import cloud.localstack.docker.annotation.LocalstackDockerProperties | |
| import cloud.localstack.TestUtils | |
| import org.scalatest.{BeforeAndAfterEach, FlatSpec} | |
| import ...LocalstackSpec | |
| @LocalstackDockerProperties(services = Array("s3")) | |
| class ExampleSpec | |
| extends FlatSpec | |
| with BeforeAndAfterEach | |
| with LocalStackSpec { |
Assume we have some Helm chart we want to deploy, but we don't want to install Tiller on our Kubernetes cluster. This doc will cover how to deploy a helm chart without installing Tiller on the cluster, but will not go into the motivations or tradeoffs of doing so.
helm init --client-only)kubectl working for your clusterScala key based rate limiter with automatic key eviction.
Depends on Guava and Akka Actors.