Home / Companies / Couchbase / Blog / May 2018

May 2018 Summaries

21 posts from Couchbase

Filter
Month: Year:
Post Summaries Back to Blog
The RecyclerView widget is a popular Android platform option for efficiently displaying dynamic data collections, and Couchbase Lite 2.0 is a powerful NoSQL embedded data store suitable for iOS, Android, and .Net Mobile Platforms. A tutorial will be discussed that uses Couchbase Lite as a standalone, embedded data store within an Android app, integrating it with RecyclerViews to display a list of university items in real-time, automatically updating the RecyclerView whenever new entries are added to the database.
May 29, 2018 262 words in the original blog post.
The text discusses the introduction of Local Persistent Volumes in Kubernetes, which allows data from a Pod using a local disk to persist even if the Pod is killed, as a new Pod is rescheduled on the same node. This feature, despite tying a Pod to a specific node, offers significant advantages by avoiding the time and effort required to load data elsewhere, and can be particularly beneficial for cloud-native databases like Couchbase that handle node or Pod failures gracefully with data replication and automatic rebalancing. The text details a demonstration of deploying Couchbase on Kubernetes, highlighting the ease of deploying, recovering from failures, and scaling databases, and it also addresses the broader trend of using Kubernetes for database management as a middle ground between fully-managed services and self-managed solutions. Various technical steps and configurations are outlined for effectively managing databases in Kubernetes, emphasizing the potential of Kubernetes as a viable option for database scaling and self-management, while also inviting readers to engage with the author for further discussion and support.
May 25, 2018 1,727 words in the original blog post.
The Kafka connector has undergone several updates to enhance its functionality, notably with the integration of Couchbase Server 5.5 features, including default support for IPv6 and data compression. With version 3.3, IPv6 is now enabled by default to streamline its use, although IPv4 can still be prioritized in dual-stack environments by adjusting the configuration. Compression has been introduced to improve throughput, with the default mode allowing Couchbase Server to send data in compressed form when advantageous, while a forced mode prioritizes bandwidth efficiency at the cost of increased CPU usage. Users can also opt-out of compression, though this may affect performance metrics. These updates aim to improve resource utilization and streamline the deployment of the Kafka connector alongside the upcoming Couchbase Server release.
May 24, 2018 516 words in the original blog post.
At the Couchbase Connect Silicon Valley conference, a comprehensive demonstration showcased the capabilities of the Couchbase Data Platform through a web and mobile application that featured dynamic N1QL queries, IoT integration, cross-data center replication, and more, all based on the FHIR healthcare data standard. The complex setup required for this demonstration is supported by provided source code and scripts, including Docker, to facilitate replication. To aid understanding, a detailed 15-minute video walkthrough was created, highlighting each configuration step and offering a table of contents for easy navigation. Couchbase, being open source, encourages exploration with sample code and tutorials, and provides a platform for community interaction via forums and social media.
May 23, 2018 382 words in the original blog post.
The Couchbase Sync Gateway enables secure data synchronization across Couchbase Lite enabled clients, using a new websockets based replication protocol that is more efficient than its HTTP based predecessor. Data Synchronization is critical for offline-first mobile apps, requiring the ability to locally store data and sync it to the cloud securely. The tutorial will demonstrate how to set up the Sync Gateway, configure access control and authorization, and use Live Queries to notify clients of changes. The example app, "User Profile", will be extended to support data sync, allowing users to log in and update their profile information while syncing with a remote Sync Gateway that then syncs it to other devices subject to specified configurations.
May 22, 2018 779 words in the original blog post.
The Couchbase Data Platform was demonstrated at Couchbase Connect Silicon Valley last Fall, showcasing its capabilities through a video demonstration that is available to view. The demo highlights features such as NFC battery-less temperature sensing patch and automatic sync capabilities of Couchbase Mobile. Additional follow-up videos and posts will be released to help clarify certain aspects of the demonstration, including source code for reading the patch and a soft-entry version that allows running the application without an actual patch. Information about the patch can be found on the Texas Instruments website, while programming details are available in the Firmware User's Guide. Users can also order the patch through Mouser Electronics or other sources. A high-level architectural overview of the complete application is provided in separate videos and posts, highlighting Couchbase's open-source nature and providing resources such as sample code, tutorials, and a developer portal for users to get started with.
May 22, 2018 256 words in the original blog post.
The blog post explores the inner workings of the Couchbase Eventing Service, focusing on how mutations are processed by Eventing Workers and the vBucket-to-worker assignments. It describes how Couchbase shards data into 1024 vBuckets, which are distributed across nodes, and how workers are tasked with processing a subset of these vBuckets. The document explains that mutations are not processed sequentially due to concurrent operations on different vBuckets by various workers. When load increases, Couchbase can seamlessly rebalance the cluster by adding more Eventing nodes, redistributing vBuckets without losing mutations, thereby providing elastic scalability. Additionally, the text discusses the use of an online real-time debugger for debugging code, warning against its use in production environments due to potential timing issues and out-of-sequence mutation processing. Overall, the post aims to deepen understanding of worker ordering semantics and the operational dynamics of the Couchbase Eventing Service.
May 21, 2018 763 words in the original blog post.
The document discusses the author's initial experiences with Apache NiFi, an open-source tool for automating data flows, as introduced by the Cincinnati Reds. The Reds aim to enhance their game day ticket scanning data visualization by transferring data from a SQL Server database to a Couchbase cluster, which will serve as the backend for real-time visualizations. The author outlines a step-by-step process for setting up a basic data flow using NiFi, Docker, SQL Server, and Couchbase, explaining the configuration of processors and database connection pooling. The document highlights the flexibility and performance of Couchbase Server when dealing with diverse data sources and the simplicity of NiFi's graphical interface, while also calling for community feedback to improve the existing Couchbase connector in NiFi.
May 21, 2018 2,229 words in the original blog post.
Couchbase's strategic partnership with Red Hat at the 2018 Red Hat Summit in San Francisco resulted in several key updates and announcements, including demonstrations of Couchbase on Red Hat OpenShift, a hybrid cloud strategy for companies like Amadeus, and the launch of the Couchbase Autonomous Operator, which enables stateful business critical applications to run on Couchbase with OpenShift. The partnership was recognized with an award for "Land and Expand" growth ISV partner of the year, highlighting the growing collaboration between the two companies in integrating their technologies to deliver amazing customer experiences. The announcement also marked a significant step forward for Couchbase's adoption in enterprises and its growing presence in the open source community.
May 18, 2018 692 words in the original blog post.
Couchbase has introduced multi-document ACID transactions, addressing a common query about NoSQL databases. While ACID (Atomicity, Consistency, Isolation, Durability) properties are traditionally associated with relational databases, Couchbase adapts these for distributed systems without compromising performance and scalability. The platform offers atomic operations for single documents, allowing changes to either succeed or fail as a whole, and consistency is ensured at the document level, albeit with application-level responsibilities for schema management. Couchbase supports read committed isolation for single documents with options for optimistic and pessimistic locking, enhancing data access concurrency. Durability in Couchbase prioritizes speed through a memory-first approach but allows developers to specify stronger durability settings by defining replication and persistence requirements across nodes. Although Couchbase's primitives do not fully meet the traditional ACID definition, they are sufficient for most microservices-based applications, with further innovations anticipated for cases requiring additional transactional guarantees.
May 17, 2018 3,136 words in the original blog post.
Couchbase Functions are being introduced in Couchbase Server 5.5 release under the Couchbase Eventing Service, allowing user-defined business logic to be triggered in real-time on the server when data changes as a result of interactions on web and edge applications. When compute resides closer to data, it is essential to understand how compute behaves when the data changes, which can lead to variations in processing order due to de-duplication and other mechanisms. The Eventing Service processes mutations in a way that may not preserve the original order of operations, as demonstrated by an example where deleting and then re-deploying a function results in a different ordering than the initial insertion order. This behavior is due to the coalescing of successive operations into a single event, which can lead to missing intermediate changes and variations in processing order.
May 15, 2018 904 words in the original blog post.
Data modeling for NoSQL databases, particularly document-based systems like Couchbase, presents unique challenges compared to traditional relational databases due to the lack of enforced schemas on write. Unlike relational databases that focus on normalization and establishing strict relationships, NoSQL systems often benefit from denormalization, which aids in scaling data reads and optimizing performance for specific application access patterns. Accurate data modeling remains crucial for successful Couchbase deployments, and tools like erwin DM NoSQL facilitate this process by offering functionalities such as forward engineering, transformation, and reverse engineering. These tools allow users to convert relational models to JSON models compatible with Couchbase, choose between normalized, denormalized, or custom transformations, and import existing Couchbase schemas for visualization and optimization. By integrating erwin DM NoSQL into the modeling process, users can improve the accuracy of their data models, accelerate time to market, and enhance application performance, ultimately ensuring better success with Couchbase implementations.
May 14, 2018 1,005 words in the original blog post.
The N1QL language and features have been improved in Couchbase 5.5, with enhancements including ANSI join improvements, index partitioning, and grouping and aggregate performance boosts. The new version also includes security features such as auditing and x.509 support, which make it easier to meet compliance requirements. Couchbase 5.5 improves query and indexing performance, making it a significant update for users of the N1QL language.
May 10, 2018 220 words in the original blog post.
Couchbase Managed Cloud is a newly launched, fully managed Database as a Service (DBaaS) that alleviates the complexities of managing database infrastructure in public cloud environments by providing end-to-end management, from initial cluster sizing to daily operations such as upgrades, backups, and data replication. This service is a collaboration between Couchbase's powerful NoSQL technology and Rackspace's cloud expertise, offering a unified solution that simplifies cloud transitions, improves operational efficiency, and enhances business focus by offloading infrastructure management. With core design principles centered on simplicity, flexibility, security, and economic efficiency, Couchbase Managed Cloud provides features like cloud infrastructure sizing, database setup and installation, proactive monitoring, and a 24/7 single point of support, all within a secure virtual private cloud environment. It aims to mitigate risks through real-time monitoring and support, improve cost efficiencies by leveraging cloud provider relationships, and ensure high performance by deploying databases closer to applications, making it an ideal choice for businesses seeking a scalable NoSQL platform without the operational burden.
May 10, 2018 1,172 words in the original blog post.
The text elaborates on enhancing the use of GraphQL with Golang and Couchbase by efficiently managing data relationships. Initially, a basic GraphQL schema was created to interact with account and blog data, but it required passing variables in queries, which was cumbersome. The author proposes improving this by integrating data relationships directly into the GraphQL model using a `Resolve` function, allowing for dynamic data retrieval without excessive queries. Alternatively, they suggest leveraging Couchbase's N1QL to execute more complex queries at the database level, thus improving efficiency by reducing the number of database requests. The tutorial emphasizes how GraphQL's flexibility in modeling relationships can optimize data interactions in a Golang application, highlighting the benefits of allowing users to request specific data without multiple API endpoints.
May 10, 2018 1,355 words in the original blog post.
The Couchbase Autonomous Operator enables the deployment and management of Couchbase clusters on Open Source Kubernetes or Enterprise Red Hat OpenShift Container Platform. The operator handles cluster management tasks such as failure recovery and multidimensional scaling, allowing users to focus on other aspects of their application. A three-part blog series will cover various testing approaches for the operator, including manual testing, testing the operator itself, and testing individual Couchbase instances. The series aims to provide customers with peace of mind when running Couchbase on Kubernetes. Through a hands-on example using the travel-sample app, users can experience firsthand how the autonomous operator simplifies cluster management and provides features like autofailover, allowing for seamless operation even in the face of node failures.
May 08, 2018 1,772 words in the original blog post.
A speaker is set to visit various .NET user groups in Michigan's lower peninsula, discussing technologies like Couchbase Server, .NET, and C#. The tour includes stops at the West Michigan .NET Users Group, Ann Arbor .NET Developers Group, Great Lakes Area .NET Users Group, and Greater Lansing .NET User Group, where presentations will cover topics such as "5 Popular Choices for NoSQL on a Microsoft Platform" and Aspect-Oriented Programming. While the core presentation is repeated, each session is tailored with audience participation and may explore different aspects such as querying, text-based search, or the CAP theorem. The speaker encourages local developers to attend, engage, and network, promising a dynamic and interactive experience.
May 08, 2018 424 words in the original blog post.
The text explores how to build a GraphQL application using the Go programming language and a Couchbase NoSQL database, highlighting the efficiency of GraphQL in handling data queries and mutations compared to traditional RESTful APIs. GraphQL allows for specific data requests from the front end, reducing the need for multiple API endpoints and therefore optimizing data payloads. The tutorial guides through setting up a GraphQL server in Go, defining GraphQL schemas, and using them to perform queries and mutations on the database. It demonstrates querying all accounts or specific ones and retrieving blogs for particular accounts using GraphQL queries, while also detailing how to perform data mutations such as creating new accounts. The document emphasizes GraphQL's client-level operation, stating that while it enhances client-server interactions, developers must still craft precise database queries.
May 08, 2018 2,272 words in the original blog post.
Couchbase Lite 2.0 serves as a robust NoSQL embedded data store for mobile platforms such as iOS, Android, and .Net, offering advanced capabilities like SQL-like Query API and Full-Text Search. This new tutorial expands on previous lessons by demonstrating how to bundle, load, and use multiple instances of Couchbase Lite 2.0 in an iOS app, particularly focusing on incorporating a prebuilt database to enhance user experience by reducing data fetching delays. The tutorial guides users through updating the "User Profile" app, showcasing features like user login, profile updates, and selecting universities from a prebuilt database using the Query API. By the end of this tutorial, users will understand how to integrate a prebuilt Couchbase Lite database within their apps and utilize the QueryBuilder API effectively, with future tutorials promising to explore more functionalities of Couchbase Mobile.
May 08, 2018 504 words in the original blog post.
The Query Plan Visualization Tool is a useful tool for understanding query behavior in Couchbase. The new design in Couchbase 5.5 enhances the visual representation of query plans, allowing users to zoom and rearrange the layout for better insights. This updated feature provides valuable hints for optimizing queries, enabling developers to make informed decisions about their database performance.
May 07, 2018 137 words in the original blog post.
Couchbase Mobile 2.0 introduces NoSQL JSON Document Store capabilities to iOS, Android, and .Net platforms, enabling the creation of mobile applications with offline-only and offline-first functionalities. It offers flexible deployment options, allowing Couchbase Lite to be used as a standalone embedded database within mobile apps or in conjunction with a Sync Gateway for data synchronization between mobile clients and potentially with a Couchbase Server for cloud data persistence. The accompanying tutorial demonstrates how to use Couchbase Lite 2.0 in standalone mode within a Swift app, offering an alternative to SQLite or Core Data, by guiding users through database operations such as creating, updating, and deleting documents within a simple "User Profile" app. The tutorial aims to provide a foundational understanding of using Couchbase Lite as a local data store in iOS apps, with further tutorials promised to expand on its functionalities.
May 03, 2018 333 words in the original blog post.