Streaming output of an indented JSON array
For [paginate-json]() I wanted to implement streaming output of an indented JSON array to my terminal.
429 words
|
2 minutes
Kubernetes Deployments and Services
Day 36 of 90 Days of DevOps - Kubernetes Deployments and Services. Part of the Containerization & Orchestration series covering essential DevOps concepts and hands-on practices.
323 words
|
2 minutes
Avoiding "length" errors in Apache Bench with the -l option
I was using the Apache Bench `ab` command to exercise some new code I'm writing in Datasette and I noticed I was getting a lot of errors:
239 words
|
1 minute
Using io.BufferedReader to peek against a non-peekable stream
When building the [--sniff option](https://github.com/simonw/sqlite-utils/issues/230) for `sqlite-utils insert` (which attempts to detect the corre...
256 words
|
1 minute
Kubernetes Architecture and Components
Day 35 of 90 Days of DevOps - Kubernetes Architecture and Components. Part of the Containerization & Orchestration series covering essential DevOps concepts and hands-on practices.
420 words
|
2 minutes
Writing a Datasette CLI plugin that mostly duplicates an existing command
My new [datasette-gunicorn](https://datasette.io/plugins/datasette-gunicorn) plugin adds a new command to Datasette - `datasette gunicorn` - which ...
794 words
|
4 minutes
GraphQL fragments
One of [the scripts](https://github.com/simonw/datasette.io/blob/main/build_directory.py) that builds and deploys [datasette.io](https://datasette....
273 words
|
1 minute
Simple load testing with Locust
I've been using [Locust](https://locust.io/) recently to run some load tests - most significantly [these tests](https://github.com/simonw/django_sq...
474 words
|
2 minutes