February 2023 Summaries
5 posts from Redpanda
Filter
Month:
Year:
Post Summaries
Back to Blog
Over the past three decades, communication has evolved from simple voice calls to a multitude of internet-based messaging platforms, yet the fundamental architecture of instant messaging systems remains largely unchanged. Implementing a basic chat application requires a publish-subscribe (pub-sub) system, facilitated by a robust message backbone like Redpanda, which is both fast and cost-effective compared to Apache Kafka. This tutorial guides users through building a chat application using React for the frontend and Flask for the backend, with Redpanda managing asynchronous communication. The Flask backend utilizes the kafka-python library to handle message production and consumption, while server-sent events (SSE) enable real-time data streaming between the frontend and backend. The tutorial includes steps to run Redpanda in a Docker container, configure message topics, and develop both backend and frontend components, culminating in a fully functional chat application. Users are encouraged to experiment with the application, engage with additional resources, and join the Redpanda community for further learning and support.
Feb 28, 2023
1,840 words in the original blog post.
SmartLunch is a platform that facilitates meal provision for employees in large-scale warehouses and factories across Poland, addressing the challenge of offering meals without the expense of building on-site cafeterias. It employs an on-site kiosk system that enables employees to order meals from local restaurants, which are then delivered directly to their workplace, even in remote areas with limited internet connectivity. Initially relying on Apache Kafka and ZooKeeper for its queue management, SmartLunch faced challenges with the complexity and maintenance of this system. The company switched to Redpanda, a faster and API-compatible solution, allowing seamless integration without altering existing code. This transition simplified their architecture, reduced operational burdens, and allowed the team to focus on strategic goals like international expansion, thereby enhancing both cost-effectiveness for employers and affordability for employees.
Feb 21, 2023
921 words in the original blog post.
Python's popularity among new developers is largely attributed to its simplicity and versatility, which have made it a preferred choice in industries like data engineering and machine learning. This tutorial explores how to utilize Python with Redpanda, a Kafka-compatible streaming platform, to produce and consume data. It guides readers through setting up a Redpanda cluster, creating a topic, and writing Python code to handle plain-text and JSON messages using the kafka-python library. The process includes creating a virtual environment, setting up a single-node Redpanda cluster using Docker Compose, and utilizing Python producers and consumers for data exchange. The tutorial emphasizes the choice between kafka-python and confluent-kafka-python libraries based on project requirements, with kafka-python being used in this example for its simplicity in smaller projects. Additionally, the tutorial touches on more advanced uses of Python with Redpanda, such as stream processing applications and schema registry integration, encouraging users to explore Redpanda's capabilities further.
Feb 14, 2023
1,924 words in the original blog post.
Infrastructure as Code (IaC) is a practice that automates the management of infrastructure using code, providing a single source of truth for configuration and enabling version control. This approach helps alleviate the complexity of manually configuring infrastructure, especially as systems grow more complex. Tools like Ansible, Terraform, Chef, Salt, and Puppet facilitate this automation, each with unique capabilities and syntax. Ansible is known for its flexibility and agentless architecture, making it easy to use for diverse systems. Terraform is valued for its declarative nature and broad integration capabilities across multiple cloud providers. Chef, though requiring agents, offers powerful customization possibilities and a strong community, but has a steeper learning curve. Salt focuses on high-speed communication among numerous systems and is both declarative and extensible, while Puppet's long-standing presence in the configuration management world offers advanced capabilities and a mature GUI, though it may present some user experience challenges due to its age. Each tool can enhance infrastructure management, offering various features, community support, and levels of complexity to suit different user needs.
Feb 07, 2023
1,835 words in the original blog post.
Business agility is crucial in today's fast-paced cloud-native environments, particularly in processing and responding to real-time event data. Integrating Redpanda, a streaming platform, with ZincSearch, an open-source distributed search engine compatible with Elasticsearch APIs, enables real-time data processing and search capabilities without predefined schemas. This integration allows businesses like the fictional e-commerce company, ShopThroughUs, to efficiently manage and analyze large volumes of order data by setting up a real-time search application using Docker, Python, and the kafka-python library. The process involves creating and managing Redpanda topics, producing and consuming order data, and ingesting it into ZincSearch for real-time analytics. This setup enhances decision-making processes by providing instant access to the necessary data and demonstrates the potential of combining real-time streaming with dynamic search capabilities in modern data-driven environments.
Feb 02, 2023
2,367 words in the original blog post.