- Install all the things:
brew install kafka zookeeper maven openjdk
- Make a directory for plugins:
mkdir -p /usr/local/share/kafka/plugins
- Edit the file
/usr/local/etc/kafka/connect-standalone.properties
and uncomment the line setting up a plugin path:plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors
- Start all the things:
brew services start zookeeper
andbrew services start kafka
- Measure time spend on index, flush, refresh, merge, query, etc. (TD - done)
- Take hot threads snapshots under read+write, read-only, write-only (TD - done)
- Adjust refresh time to 10s (from 1s) and see how load changes (TD)
- Measure time of a rolling restart doing
disable_flush
anddisable_recovery
(TD) - Specify routing on query -- make it choose same node for each shard each time (MD)
- GC new generation size (TD)
- Warmers
- measure before/after of client query time with and without warmers (MD)
Solutions for Ancient Greek Geometry (https://sciencevsmagic.net/geo)
Most solutions taken from the about thread. See the comments below for more additions since my last check-in.
This file contains 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
// --- path: src/graphql/AuthExchange.js | |
import _ /**/ from 'lodash' | |
import * as Urql from 'urql' | |
import { authExchange } from '@urql/exchange-auth' | |
import { Auth } from 'aws-amplify' | |
import { Buffer } from 'buffer' | |
// | |
import * as Utils from '../utils' | |
import AppConfig from '../utils/AppConfig' | |
import * as SessionContext from '../auth/SessionContext' |
This file contains 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
FROM node:18.9-alpine3.15 | |
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser | |
RUN apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont ttf-freefont curl gnupg bash dumb-init tar git git-lfs ruby jq python3 postgresql-client nano | |
RUN addgroup -S tkapi && adduser -S -G tkapi tkapi | |
WORKDIR /home/tkapi | |
COPY md2pdf2wtf/ /home/tkapi/md2pdf2wtf/ |
This file contains 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
// make directories for 'tests' and 'src'. | |
// put this file in the base of your project; | |
// put all of your code in ./src and all of your tests in ./tests. | |
module.exports = { | |
roots: [ | |
'tests', | |
'src', | |
], |
This file contains 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
# | |
# ElasticSearch config file | |
# | |
# | |
# There's no call to see the full current config, but | |
# modules dump their config variables on startup | |
# | |
cluster: |
Here are some repeatable catchphrases that I’ve learned help startups make decisions. I’d love your feedback on what to add to the list, or what didn’t make any sense.
I mentor in alternate Mondays on the 16th floor at Capital Factory, and I’m glad to set up alternate times if that doesn’t work. Feel free to share this list with others.
Every startup founder should read Running Lean and most of Jason Cohen's Blog. More recommended books are below.
NewerOlder