Home / Companies / Highlight.io / Blog / February 2023

February 2023 Summaries

2 posts from Highlight.io

Filter
Month: Year:
Post Summaries Back to Blog
Setting up a production AWS MSK Kafka cluster involves a series of detailed steps, including configuring networking settings, choosing between private and public access, and deciding on a serverless or provisioned cluster type based on expected throughput. For private access, the setup typically involves using a private VPC with designated subnets across multiple availability zones to ensure reliability, while public access requires specific security configurations such as enabling SASL/SCRAM authentication and encryption. Once the cluster is established, managing access control lists (ACLs) is essential for securing communication between producers and consumers, requiring a temporary private access setup for configuration. Additionally, creating topics and monitoring the cluster with tools like provectuslabs/kafka-ui helps maintain operational efficiency and troubleshoot issues, particularly by providing insights into broker states, partition replication, and consumer group activity. The choice between serverless and provisioned clusters depends on workload requirements, with serverless clusters offering automatic scaling for lower throughputs and provisioned clusters providing consistent performance for larger environments.
Feb 15, 2023 1,357 words in the original blog post.
Logging is a crucial aspect of application development, providing a means to document and monitor activities for debugging and enhancing user experience. Ruby offers various logging libraries, each with unique features to facilitate structured and efficient logging. The article highlights the top five Ruby logging libraries: Semantic Logger, Logger Class, Logging, Ougai, and Yell. Semantic Logger is notable for its performance and JSON support, while the Logger Class is a built-in option with a straightforward API. The Logging library, inspired by Java's log4j, offers structured logging and custom logs, whereas Ougai extends the standard Logger with features like JSON formatting and console-friendly output. Lastly, Yell stands out for its adaptability and straightforward configuration, serving as a drop-in replacement for Ruby's built-in logging module. Each library supports various log levels and destinations, offering flexibility for different project needs.
Feb 09, 2023 4,127 words in the original blog post.