
OSS contributor, Distributed Systems Engineer. Principal Engineer at @streamnativeio. Apache Pulsar PMC member. Apache Software Foundation member.
Espoo, Finland
Joined April 2009
- Tweets2.7K
- Following3.8K
- Followers1.6K
- Likes6.9K
Just hit a fun milestone - 500 merged PRs contributed to @apache_pulsar ๐ #opensource #ApachePulsar github.com/apache/pulsar/graโฆ
2
15
1,469
Great lessons in distributed systems design and operations
The work of @jamesacowling and others on Dropbox's storage system in 2016, would be a profound influence on @TigerBeetleDB in 2020.
Here, @jamwt and @jamesacowling share โFive Principles for Systems Designโ. Years of experience, in 60 minutes.
youtube.com/watch?v=RcofAOF0โฆ
What's New in Apache Pulsar 4.0?
pulsar.apache.org/blog/2024/โฆ
Blog content:
- Key_Shared subscription improvements
- Secure Docker runtime based on Alpine Linux and Java 21
- Rate limiting as a foundation for multi-tenant resource management
- Upgrade paths from previous versions
In just 60 seconds, Andy Warfield visualizes the effect of aggregating decorrelated workloads,
which demonstrates how economies of scale can be achieved in the cloud era.
Platform teams are looking for similar economics in messaging systems. youtube.com/watch?v=sc3J4Mceโฆ
1
120
Just in case it's useful for other GitHub Actions users, I've shared on the ASF builds mailing list how we, in the Apache Pulsar project, share 1.7GB ๐ณ Docker images within the CI workflow for downstream system testing jobs using GitHub Actions Artifacts: lists.apache.org/thread/pnvtโฆ
1
121
Docker image uploads reach up to 199MiB/s and Docker image restoration reaches up to 100MiB/s (including restoration to the local Docker repository). We use a CLI tool for GitHub Actions Artifacts: github.com/lhotari/gh-actionโฆ
84
The Data Streaming Summit 2024 (formerly Pulsar Summit) CFP final deadline is today.
Please submit your proposals asap at sessionize.com/pulsar-summitโฆ
1
137
We are thrilled to announce a major upgrade to the Pulsar Summit: introducing the Data Streaming Summit!๐ Join us on October 28-29, 2024, at the Grand Hyatt SFO for a premier conference on data streaming and AI. The CFP is now extended to August 9th. datastreaming-summit.org/eveโฆ
3
208
TIL "The only official way to completely delete an online commit (even from all cached views) is to contact the GitHub support directly."
Have you ever pushed a secret to github by accident?
Did you try to rewrite history with a quick
`git reset --hard HEAD^ && git push origin -f` ??
Well, maybe you should read our new blog post.
Let's just say the internet never forgits๐
neodyme.io/en/blog/github_seโฆ
1
4
652
๐Calling all #Netty enthusiasts! Isn't there a public API for traversing array & memory address buffer components of nested Netty ByteBufs (CompositeByteBuf)? I created a draft PR in github.com/netty/netty/pull/โฆ to find out. #PerformanceMatters
I'm working on a fix for an Apache Bookkeeper checksum calculation bug. The issue arises from using Netty ByteBuf.unwrap to decompose CompositeByteBuf. #ApacheBookkeeper #Netty
The use case requires having array or memory address access for underlying buffers, whenever that is possible. This is to ensure efficient CRC32C calculations can be performed. #CRC32C #Performance
1
22
TIL: Using Java ZGC on Linux can cause RSS to report ~3x memory usage due to multi-mapping. This is a problem with Kubernetes memory limits since containers may be incorrectly OOM killed (exit code 137). More details in @AndreiPangin's SO answer: stackoverflow.com/a/62934057
UPDATE: Containers won't get OOM killed because of multi-mapping. It turns out that Linux cgroup doesn't use RSS information, at least in modern kernel versions. Here's a simple k8s test that verifies the behavior with both cgroup v1 and v2. gist.github.com/lhotari/062bโฆ
TIL: Need to upgrade a Helm deployment using deprecated APIs on a #Kubernetes version that's already removed them? The helm mapkubeapis plugin is the fix you need! Example in #ApachePulsar #Helm chart README: github.com/apache/pulsar-helโฆ ๐ ๏ธ
This blog post brilliantly summarizes the real challenge with RAG & vector databases: building a search engine that effectively finds relevant information and leaves the irrelevant out ๐ง๐
Wrote a blog post for @elicitorg about some stuff that's been bouncing around my head for months
blog.elicit.com/search-vs-veโฆ
1
1
372
Related HN discussion about the "Build a search engine, not a vector DB" blog post news.ycombinator.com/item?idโฆ
1
136
My 155-commit PR for PIP-322 #ApachePulsar Rate Limiting Refactoring was merged upstream. ๐ Feeling good, 3 weeks in at @streamnativeio! ๐ Huge thanks to @merlimat, @chris_onobc, @asafmesika, @shawyeok, @grssam, @TelangApurva for invaluable feedback.๐คgithub.com/apache/pulsar/comโฆ
2
8
529
๐ My Pulsar Improvement Proposal PIP-322: #ApachePulsar Rate Limiting Refactoring was accepted! ๐ The refactoring awaits final reviews before merging. Rate limiters pave the way for broader capacity management & QoS controls in Pulsar. ๐ Check it out ๐ github.com/apache/pulsar/bloโฆ
5
308
TIL: Alpine 3.18 released in May 2023 solves key DNS issues in Docker images! It features musl 1.2.4 with TCP fallback in the DNS resolver. For smoother networking in k8s, upgrade to Alpine 3.18+ as recommended in Kubernetes docs: kubernetes.io/docs/tasks/admโฆ
Mystery solved! Thanks for all your suggestions. The performance bottleneck was due to System.nanoTime. Achieved a 250x improvement in throughput, going from around 9M ops/s to an incredible 2500M ops/s in token bucket operations! Solution: github.com/lhotari/async-tokโฆ
Java perf experts: getting 24x less throughput on Apple M3 Max 2023 compared to Intel i9-9980HK 2019 (Linux) in a micro benchmark. why?
This is an lockless, non-blocking, async token bucket algorithm which uses CAS operations with volatile fields in Java: github.com/lhotari/async-tokโฆ
Java perf experts: getting 24x less throughput on Apple M3 Max 2023 compared to Intel i9-9980HK 2019 (Linux) in a micro benchmark. why?
This is an lockless, non-blocking, async token bucket algorithm which uses CAS operations with volatile fields in Java: github.com/lhotari/async-tokโฆ
Performance test results:
Intel i9-9980HK: Achieved rate: 239,260,327 ops per second with 100 threads
Apple M3 Max: Achieved rate: 9,029,093 ops per second with 100 threads
github.com/lhotari/async-tokโฆ
At #PulsarSummit NA 2023 in SF last month, I observed a positive trend: platform teams are adopting #ApachePulsar for messaging & event streaming across their orgs. Check out #PulsarSummit 2 min recap video to feel the excitement youtube.com/watch?v=Hg5VQ4vLโฆ






