SShortSingh.
Back to feed

Ivory Adds ZooKeeper Plugin for Troubleshooting Ensemble Leaders, Followers and Znodes

0
·2 views

A new ZooKeeper plugin for the Ivory tool lets operators inspect an ensemble's leader, followers, sync state and znodes from one screen. ZooKeeper coordinates systems such as ClickHouse replication and leader election in other HA tools, so its failures can cause hard-to-trace outages. Previously, diagnosing these issues meant manually running four-letter-word commands like mntr on each node, which were often blocked by the whitelist setting. Ivory reads the ensemble through mntr and conf commands and shows each node's role, members and version, flagging nodes configured into a different ensemble. The tool deliberately omits per-follower replication lag, since an inaccurate figure would be worse than none, and it offers configuration viewing and znode management but not manual leader election.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Generating Realistic Brazilian Job Titles in Python with Faker

A Python tutorial shows how to use the faker_job_brazil package to produce plausible Brazilian Portuguese occupation names for test data. The package adds a profissao() method to Faker that picks a random title from an embedded list of occupations. The guide covers installation in an isolated environment, registering the provider on a Faker instance, and seeding the generator for reproducible output. It also cautions that the package is an early, Alpha-stage release (0.0.1.dev0) with limited validation and outdated Python classifiers. Developers are advised to pin versions and avoid asserting specific random values in brittle tests.

0
ProgrammingDEV Community ·

Developer builds zero-dependency Mega.nz downloader for macOS without Java

A developer wanted to download Mega links on a Mac without installing a Java runtime, so they built MegaGet, a small Node server paired with a local web interface. The write-up explains how Mega's 32-byte file key is split to derive the AES key and nonce, which allows resuming interrupted downloads by setting the CTR counter to the byte offset divided by 16. It also describes how the chunked CBC-MAC integrity check maps onto Node's built-in aes-128-cbc, and how login's HTTP 402 Hashcash challenge is solved across four worker threads in a few seconds. The tool does not bypass Mega's transfer quota but waits and resumes when it is reached, and it is download-only. The project is MIT-licensed, has been tested mainly against a mock server, and the author is seeking real-world bug reports.

0
ProgrammingDEV Community ·

Developer tracks which pages AI crawlers read using a Cloudflare Worker and D1

A web developer describes how analytics miss whether ChatGPT and other AI crawlers read a page, since those bots do not run JavaScript. Running on Cloudflare Workers, they added about a hundred lines of code that count crawler requests per day, page, bot and status in a D1 database, storing no IP addresses, user agents or personal data. Only crawlers whose vendors document their user-agent tokens are counted, and the developer notes that user agents can be faked, so the numbers reflect claimed identity. Within a day the tracking revealed that newly published pages linked only from the sitemap had not been fetched by OpenAI's search crawler or Bingbot, prompting the developer to link them from the home page and related guides. The write happens after each response and adds one database write per crawler page view.

0
ProgrammingDEV Community ·

AI agency's rebuilt test site passed every QA check but ran poorly on mobile

Over three days in late October, an AI agency rebuilt a test website featuring a 3D model of London, extensive motion, and a security review, with its commits generated entirely by AI. Automated checks reported strong results, including a security review finding nothing left to fix and QA errors dropping to zero. When the author opened the site on a phone, performance was poor, because the checks had only tested for what they were explicitly told to look for. The author's fix was to replace some 3D elements with frame sequences from video, which load faster, and to adopt this as a studio rule. The author also described changes to how builds share API usage limits and how different AI models are assigned to judgement and execution tasks.