April 2024 Summaries
9 posts from Highlight.io
Filter
Month:
Year:
Post Summaries
Back to Blog
Highlight.io, an open-source monitoring distribution, faced scaling issues with its ClickHouse setup after onboarding larger customers, leading to the need for optimization strategies to handle the massive data ingestion efficiently. The company dealt with challenges like high CPU loads and inefficient query performance due to small data batch inserts and numerous data "parts" created during storage. To address these issues, they implemented several strategies, including using larger batch inserts, optimizing data storage formats to avoid costly conversions, and adjusting the order of data to reduce unnecessary merges. They also explored the use of materialized views over projections for more reliable data querying and set up TTLs to manage active data parts. These efforts resulted in a more efficient, cost-effective, and real-time data processing experience for their customers.
Apr 30, 2024
1,743 words in the original blog post.
On the second day of launch week, several updates and improvements have been introduced to the logging and tracing user interfaces, enhancing their functionality and customization options. Users can now perform more complex searches using operators like "does not exist" and "or," and customize columns on the traces and logs tables to view the structured attributes most relevant to them. These structured search functionalities have also been extended to the errors and sessions pages, aligning them with the capabilities already available on the logs and traces pages. Feedback from users is encouraged to further refine these enhancements.
Apr 30, 2024
225 words in the original blog post.
Launch Week 5 kicks off with the introduction of new Software Development Kits (SDKs) and enhancements to existing ones, including official support for Rust, PHP, and .NET languages. The updated JavaScript SDK now features tracing capabilities with the instrumentation Hook, enabling tracing from libraries back to the front end, along with support for Next.js server code source maps for comprehensive stack traces. Additionally, WebSocket messages can now be sent as traces to the highlight backend, allowing users to query and analyze them similarly to regular performance regressions. The announcement promises further developments in the coming days.
Apr 29, 2024
246 words in the original blog post.
Next.js is a powerful web framework that integrates frontend and backend code, enhancing performance and supporting complex content by centralizing and efficiently distributing tasks between browsers and servers. It can be compiled into Node.js for single or scalable architecture execution, like AWS Lambda, and is compatible with various runtimes, including the Vercel Edge runtime known for quick start times and cost efficiency. OpenTelemetry, an open-source observability tool, is instrumental in gathering traces to understand software performance, especially in debugging scenarios where tracing provides insights into code execution times. The Vercel Edge runtime's limitations with standard Node APIs necessitate configuring the OpenTelemetry SDK to export traces, and using the @vercel/otel package simplifies this process by bundling compatible OpenTelemetry packages for different runtimes. Additionally, trace propagation from browsers is crucial for maintaining trace context across services, often implemented by injecting trace IDs into HTTP headers. Highlight.io, an observability platform, leverages OpenTelemetry to visualize spans from various runtimes, aiding developers in identifying performance issues and understanding application behavior under different conditions.
Apr 29, 2024
808 words in the original blog post.
Next.js, a popular framework among developers, can be enhanced by enabling production server-side sourcemaps, which are files that convert transpiled or compiled code back to its original form, facilitating error tracing by allowing developers to see the original code. Sourcemaps offer benefits such as improved security by keeping the original source code off production servers and significant bandwidth savings by compressing codebases, sometimes reducing their size by up to 40%. While client-side sourcemaps in Next.js can be enabled easily through a configuration setting, enabling server-side sourcemaps requires modifying the webpack configuration, which can be challenging for those less familiar with it. Products like Highlight.io provide tools to automatically integrate sourcemaps, enhancing error monitoring by providing detailed stack traces, and offering support through their community platform.
Apr 29, 2024
694 words in the original blog post.
Distributed tracing is essential for debugging and enhancing the performance of systems by linking traces across services to provide a comprehensive view of how requests flow through a system. In a modern Next.js application, distributed tracing is exemplified through a practical guide that integrates Highlight, an external service, by passing HTTP headers like x-highlight-request. The process involves a React web client initiating an HTTP Fetch request, a Next.js API function associating session and request IDs, and a Golang service using the Highlight chi SDK to handle the headers. The guide demonstrates how to implement client-side integration with <HighlightInit /> and wrap Next.js API functions using AppRouterHighlight, ensuring all three components—web client, Next.js API, and Golang backend—are unified under one Highlight project. The setup allows for visualization of data in Highlight, offering a detailed view of trace spans and supporting session replay through the distributed call stack. Additionally, the guide mentions the possibility of using OpenTelemetry's W3C traceparent header for an alternative tracing method.
Apr 21, 2024
948 words in the original blog post.
Turso, co-founded by Glauber Costa, originated from efforts to improve the developer experience with SQLite and evolved into a robust database company through the creation of the open-source fork libSQL. Choosing to focus on Turso, the team developed a managed service that has grown to support scalable, distributed applications with features like instant database deployment and multi-region replication, underpinned by a serverless, pay-as-you-go pricing model. Glauber emphasizes Turso's commitment to fostering a global community, highlighted by an upcoming event in Brazil featuring notable developer influencer The Primeagen.
Apr 17, 2024
229 words in the original blog post.
Kevin Lin, the co-founder of Nimbus, discusses the rising costs of commercial observability tools such as Datadog and Honeycomb, highlighting that many companies find these tools to be significant financial burdens. While Honeycomb suggests that firms allocate 20-30% of their technology budgets to observability, Lin argues that internally-developed solutions could achieve effective observability at a much lower cost, around single-digit percentages of the budget. Nimbus addresses this issue by optimizing observability expenses, particularly when using Datadog, through methods like identifying common log patterns and aggregating similar log entries, which can reduce data volume by 80-90% without compromising data integrity. The Nimbus platform operates as an intermediary between customers and observability vendors, processing and optimizing data to help companies maintain visibility and insights while significantly lowering costs.
Apr 11, 2024
251 words in the original blog post.
Highlight Pod #7 features Pipe.com co-founder Zain Allarahkia, who, along with Chris Esplin and Jay, transitioned into software engineering from different backgrounds, illustrating the diverse paths to entering the field. Zain and Chris moved from finance after the Great Financial Crisis, with Zain teaching himself lower-level languages through books and Chris learning on-the-job by automating tasks with PHP. Jay's interest was sparked by college hackathons, leading to an internship at Google Deep Mind. The discussion emphasizes that software engineering democratizes career success, as it primarily requires study time instead of financial capital. The rise of advanced tools like Next.js and AI language models such as GPT-4 is transforming the programming landscape by enhancing productivity and learning, despite introducing complexities in debugging and reducing understanding of underlying processes. This evolution suggests a potential golden age for programming, where language models facilitate learning and project-based immersion for developers.
Apr 03, 2024
287 words in the original blog post.