Migrating to a Multi-Cluster Managed Kafka with 0 Downtime


Porting 58000 lines of D and C++ to jai, Part 0: Why and How

Issue #298



Happy Thanksgiving to anyone who celebrates it! I'm thankful for hot running water, electricity, and you guys! What are you thankful for? Pro tip, answering that question is also a great way to feel better whenever you feel sad.
I've got a couple of additional resources you can peruse while your slightly odd, but good-natured uncle tells everyone about the UFO he saw that one time.
Want to set up self-hosted network security? Here's an extensive guide on the matter.
What about reusing an old kindle for a home smart device? Check out this article on making a neat display you can customize with the information you want.
Anyway, here's the issue.


Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.


Migrating to a Multi-Cluster Managed Kafka with 0 Downtime

Published: 26 March 2022
Tags: distributed systems, kubernetes, microservices

Natan Silnitsky discusses how his team migrated Wix’s 2000 microservices from self-hosted Kafka clusters to a multi-cluster managed cloud platform. Natan includes key design decisions, best practices and tips.
Some highlights:

  • Wix had dramatic increases in the number of topics, partitions, and records being generated (~400-500%) within a year
  • Split Kafka clusters by different service-level agreements
  • Migration was done with 0 down-time



Published: 21 November 2022
Tags: c, infosec, ios

Saar Amar presents how Apple has added a new security measure to their iOS and macOS operating systems in the form of "guards" for certain types of allocations.
Some highlights:

  • These guards are designed to help secure atomic allocations, and work by comparing a mapping entry associated with the allocation to a new guard structure
  • They help prevent "powerful memory corruption" via the allocator
  • This change was added in iOS 16 / macOS 13


Porting 58000 lines of D and C++ to jai, Part 0: Why and How

Published: 12 November 2022
Tags: c++, d, games, jia

In this series of blog posts, Simon van Bernem will document his experience of porting a game from D and C++ to the jai programming language. This is only the first part of the series and other parts aren't out yet, but it'll be an interesting series to follow.
Some highlights:

  • The game is 58,620 lines of code
  • Simon isn't satisfied with the C++ ecosystem and where the language is going
  • Simon does not recommend using D for serious projects on Windows, primarily because debug info is broken

How did I do?

5 4 3 2 1


Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.

Stats (updated daily)

Sent: 2992

Opens: 1405

Clicks: 316

Link Clicks Clicks % Unique Clicks Unique Clicks %
Migrating to a Multi-Cluster Managed Kafka with 0 Downtime 53 28.34% 70 33.82
kmem_guard_t 41 21.93% 41 19.81
Porting 58000 lines of D and C++ to jai, Part 0: Why and How 93 49.73% 96 46.38


Back to Issues