June 2016 Summaries
28 posts from Couchbase
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides a detailed analysis of a benchmark comparing Couchbase Server 4.5 and MongoDB 3.2, highlighting the performance advantages of Couchbase in query execution and key-value access. In YCSB Workload E, Couchbase Server outperforms MongoDB by using global indexes, which allow for efficient query execution with minimal network traffic and better scalability. The introduction of memory-optimized indexes further enhances Couchbase's performance by improving index maintenance and query response times. For YCSB Workload A, Couchbase demonstrates superior throughput and lower latency due to its built-in caching and efficient client-server communication, eliminating the need for a separate caching tier and enabling direct client access to the server nodes. Overall, Couchbase's architectural choices, such as global indexes and memory optimization, contribute to its ability to handle high workloads more effectively than MongoDB.
Jun 30, 2016
1,800 words in the original blog post.
Today, the Couchbase .NET SDK 2.3.0 and 2.3.1 have been released, introducing support for all new features in Couchbase Server 4.5, including Full Text Search, Sub-Document API, RYOW, and Index Management API. These releases also include a number of improvements and bug fixes, such as enhanced durability options, certificate validation, and pluggable IO layers. The updates are designed to provide better support for developers working with Couchbase Server 4.5 features.
Jun 29, 2016
380 words in the original blog post.
The blog post introduces the use of Couchbase Lite (CBL) in Android applications by demonstrating basic database operations like Create, Read, Update, and Delete (CRUD) on document objects. The author explains how to set up a database using an instance of the Couchbase Lite Manager class and emphasizes the simplicity and efficiency of CBL compared to other database approaches. The post provides code snippets for each CRUD operation, highlighting how CBL's object-oriented nature allows for easy manipulation of JSON-stored documents. It also stresses the importance of initializing the AndroidContext correctly to prevent memory leaks and encourages readers to explore more advanced functionalities and resources available through Couchbase's developer portal and community channels.
Jun 29, 2016
949 words in the original blog post.
Partner Blog Post: SQL and N1QL in Harmony: Collaborative Query Execution in Simba Couchbase Drivers
SQL and N1QL are two query languages that support different data models, but both can be used to query JSON documents stored in Couchbase Server. The Simba Couchbase drivers use Collaborative Query Execution (CQE) feature to pass down SQL queries to Couchbase Server for execution, which enables optimal performance by reducing the load on the client-side and leveraging the server-side capabilities of N1QL. With CQE, supported SQL features like JOIN operations are translated into analogous N1QL, allowing users to execute these operations efficiently on the server-side. Additionally, Simba Couchbase drivers support UNNEST clause in N1QL, which enables joining nested arrays with parent objects, also leveraging CQE for optimal performance. By utilizing CQE and N1QL's capabilities, Simba Couchbase drivers provide high-performance query execution while supporting a wide range of SQL features.
Jun 28, 2016
1,015 words in the original blog post.
The video provides a quick tutorial on setting up Couchbase Server on a Red Hat Enterprise Linux (RHEL) or CentOS machine in just five minutes, covering steps from downloading Couchbase via YUM to initiating a new cluster with default and preconfigured buckets for NoSQL document storage. For users interested in installing Couchbase on other operating systems like Mac OS, Windows, or Ubuntu, previous getting started videos are recommended. Additionally, the Couchbase Developer Portal offers resources for using Couchbase with supported developer technologies.
Jun 28, 2016
97 words in the original blog post.
The video introduces the Full Text Search feature in Couchbase Server 4.5, which is currently a developer preview and not yet recommended for production use. It encourages developers to participate in shaping the feature by engaging with the SDK RFCs on GitHub and providing feedback. For more information on using Couchbase, viewers are directed to the Couchbase Developer Portal, while questions and comments can be directed to Matthew Groves through Twitter, email, or the Couchbase forums.
Jun 28, 2016
104 words in the original blog post.
The text discusses using Spring Data projects with CDI (Context and Dependency Injection) to create a modern data management layer for NoSQL applications, specifically Couchbase. It highlights that while existing projects like Hibernate OGM or Deltaspike's Data module may support some features, none of them natively support Couchbase, and that Spring Data projects offer more comprehensive solutions with CDI extensions. The text then walks through the process of connecting to a Couchbase cluster using CDI, creating a `CouchbaseOperations` producer, integrating the Spring Repository, and implementing custom repositories for managing entities. It also notes that there may be bugs or compatibility issues with certain versions of Weld and Wildfly, and provides temporary fixes or workarounds as needed.
Jun 27, 2016
613 words in the original blog post.
The guide provides a step-by-step process for integrating Couchbase Lite into an Android project using Android Studio and the Gradle build system, emphasizing the ease and speed of setup. It assumes prior installation and basic knowledge of Android Studio, with the entire process expected to take under five minutes. Key steps include creating or opening a project, modifying the build.gradle file to add Couchbase Lite as a dependency, and syncing the project to download necessary files. Once setup is complete, developers can verify the integration through autocompletion suggestions in Android Studio. The tutorial was based on specific versions of Couchbase Lite and Android Studio, with a workaround for potential issues with duplicate manifest files. Additional resources and support are available through Couchbase's developer portal, forums, and social media.
Jun 27, 2016
482 words in the original blog post.
The fifth episode of the NoSQL Database Podcast, sponsored by Couchbase, explores the integration of big data tools like Apache Spark and Hadoop with NoSQL databases, featuring a discussion with Anand Iyer from Cloudera. The episode delves into the common usage and differences between Hadoop and Apache Spark, including technical aspects such as Map Reduce, and it is available on platforms like Pocket Casts and iTunes. Listeners are encouraged to submit questions via email for future episodes, and additional resources, including developer information related to Couchbase, can be accessed through the Developer Portal.
Jun 27, 2016
202 words in the original blog post.
Couchbase Server 4.5 introduces several enhancements aimed at improving the performance and flexibility of developing database applications. This version strengthens the transition from relational to NoSQL databases through improvements in the N1QL query language, which integrates SQL and NoSQL features, facilitating powerful queries over large datasets. Key innovations include a new memory-optimized, global secondary index that offers 20 times faster query results, enhanced data access and query execution performance, and partial document reads and writes that make JSON data access over ten times faster. The release also supports Docker containers for production deployments, enhancing portability and agility. Security has been bolstered with new roles and certificate rotation, while tools like an integrated query workbench and new bucket analyzer simplify query development and schema discovery. The update reflects Couchbase's commitment to delivering high-performance database solutions for web, mobile, and IoT applications.
Jun 27, 2016
631 words in the original blog post.
Avalon conducted a benchmarking study comparing Couchbase Server and MongoDB, focusing on read/write and query performance. The results revealed that Couchbase Server significantly outperforms MongoDB in both areas, largely due to its architectural advantages, better resource utilization, and efficiency. Couchbase Server's memory-centric architecture and global, memory-optimized indexes contribute to its 6x higher read/write throughput and 3x higher query throughput compared to MongoDB. In contrast, MongoDB's performance is hindered by its legacy master/slave architecture, which limits resource utilization, and its reliance on local indexes, which restricts query performance to the capabilities of individual nodes. The study highlights the benefits of Couchbase's independent services for reading, writing, indexing, and querying data, as well as its innovative use of Global Secondary Indexes and asynchronous index updates, which allow for reduced scan and insert latency.
Jun 24, 2016
492 words in the original blog post.
The technology landscape is constantly evolving, with new trends and standards emerging regularly. To stay competitive, organizations must adapt their infrastructure to keep up with the latest business-tech trends. This includes leveraging various forms of data, such as structured and unstructured data, and migrating from relational databases to NoSQL big data solutions like Couchbase. However, migration requires careful planning and sizing to ensure a smooth transition, and security is a critical aspect that must be addressed. The combined Couchbase and Vormetric solution offers comprehensive coverage for securing sensitive data across big data environments, including encryption, granular privileged-user-access controls, tokenization, security intelligence, and full scalability. By using this unified security solution, organizations can benefit from the latest big data applications while protecting their most valuable asset - their data.
Jun 23, 2016
528 words in the original blog post.
The author announces their participation in the Lead Developer Conference in London on June 24th, where they will present on addressing cultural divides and internal advocacy within distributed teams. Having worked remotely for nearly five years, the author is eager to share insights and strategies learned from overcoming challenges associated with distributed teams, such as time zone differences, international logistics, and cultural norms. The talk aims to explore the complexities of scaling company culture across continents and offers solutions implemented by the Couchbase Developer Advocacy team. The author highlights the importance of effective communication and cultural understanding in enhancing team collaboration and productivity.
Jun 23, 2016
242 words in the original blog post.
The new Memory Optimized Index (MOI) feature in Couchbase Server 4.5 is designed to support demanding applications that require fast query performance and real-time data access, such as travel booking, leader boards, fraud detection, and interactive recommendations. MOI provides improved latency and throughput under heavy data mutations by utilizing lock-free processing, skiplist structure in-memory storage, forcing the index into memory storage, and regular snapshots persisted to disk for recovery. This feature is particularly useful for applications that require interactive access to data and can benefit from reduced query times and increased scalability. With MOI, Couchbase clusters can now scale data services linearly while also querying at high performance levels, making it an attractive solution for businesses seeking to improve their data processing capabilities.
Jun 22, 2016
577 words in the original blog post.
The text explains the importance of securing data access paths from applications to database servers and highlights the use of TLS certificates by Couchbase Server to secure communications. Let’s Encrypt, a free certificate authority, simplifies this process by providing an automated approach to certificate management through the ACME protocol, which enhances security by automating certificate creation, renewal, and revocation. The text details the steps to create and deploy Let's Encrypt certificates using CertBot, specifically for Couchbase Server, emphasizing the necessity of understanding Unix or Windows systems and following specific command-line instructions. It also addresses the configuration and importation of certificates to Couchbase nodes, ensuring proper permissions and testing the secured setup via web browsers.
Jun 22, 2016
1,206 words in the original blog post.
Couchbase Server 4.5 introduces a new Sub-Document API, which enhances performance and usability by allowing users to access or modify parts of a document without retrieving the entire document. This server-side feature supports CRUD operations based on paths, improves network efficiency, and facilitates maintaining key references between documents. The API allows for specific path queries and modifications within documents, supporting atomic operations that ensure changes are applied entirely or not at all, although it does not inherently manage consistency conflicts. The Sub-Document API simplifies client-side operations and is particularly advantageous for handling larger documents. Additionally, Couchbase employs an optimistic locking mechanism through a Compare-And-Swap (CAS) value, enabling users to manage concurrent access without a full ACID-compliant transaction manager.
Jun 22, 2016
794 words in the original blog post.
This week Couchbase launched the latest version of its distributed, document-oriented NoSQL database, Couchbase Server, with a focus on performance, scalability, and availability in Version 4.5. The new release introduces several significant advances to querying, including the Query Workbench for easier N1QL query editing, support for Index JOINs, and a powerful Full-Text Search engine. Additionally, Couchbase Server 4.5 provides improved performance through features such as Memory Optimized Indexes, sub-document API, and faster backup and restore capabilities. The release also includes security and administration enhancements, including query profiling, role-based access control, and X.509 certificate management. With these advancements, Couchbase Server 4.5 is a great option for users looking to improve the usability and performance of their NoSQL database.
Jun 22, 2016
464 words in the original blog post.
Couchbase 4.5 offers three scan consistency options for N1QL queries, allowing users to make trade-offs between speed and completeness in data retrieval. The default option, NotBounded, prioritizes performance by not waiting for index updates before executing queries, which can result in incomplete data if recent changes haven't been indexed. RequestPlus, on the other hand, provides complete results by waiting for all document changes and index updates before running a query, sacrificing performance for accuracy. The new AtPlus option introduced in Couchbase 4.5 serves as a middle ground, offering better performance than RequestPlus by waiting only for specific documents to be indexed, known as "read your own write" (RYOW), thus providing a balance between speed and data accuracy. The blog post provides code examples for each option to demonstrate their effects and highlights the need for enhanced durability settings when using AtPlus.
Jun 21, 2016
1,573 words in the original blog post.
The Query Workbench is a valuable tool for developers using Couchbase Server, particularly those working with N1QL, offering a user-friendly interface and the new Bucket Analysis schema inference feature. Accessible via the Couchbase Console, it includes three main areas: the N1QL Editor for crafting and executing queries with syntax highlighting and history tracking; the Results area, which displays query outcomes in JSON, Table, or Tree views, alongside useful metadata such as execution time and result size; and the Bucket Analysis area, an Enterprise Edition feature that infers schemas from document samples, helping developers understand data structure and construct N1QL queries or indexes. This tool is likened to SQL Server Management Studio and is praised for its utility in query execution, index creation, and data exploration within Couchbase Server.
Jun 17, 2016
744 words in the original blog post.
CData Software has developed standards-based drivers that allow users to connect their Couchbase data to BI, reporting, and ETL tools such as Microsoft Excel, Tableau, and Cognos BI using JDBC, ODBC, and ADO.NET protocols. These drivers enable the translation of SQL queries into N1QL, allowing access to Couchbase data in tools that expect relational data. The drivers can interpret custom queries and translate them to equivalent N1QL queries, enabling users to visualize their data creatively. Additionally, CData Software has developed a suite of drivers for various programming languages and platforms, including Java-Based Tools & Development, .NET Tools & Development, Mobile Development, and more. With these drivers, users can connect to their Couchbase data in all their favorite BI, ETL, reporting, and custom applications.
Jun 15, 2016
1,185 words in the original blog post.
This video provides a step-by-step guide to installing a single node Couchbase Server cluster on a Windows Azure VM via the Azure marketplace. The process is made easier by Microsoft's free one-month trial with $200 worth of Azure credits, allowing users to test out Couchbase Server and other Azure offerings. For more information on using Couchbase, viewers can visit the Couchbase Developer Portal. The video is available for viewing on YouTube, and the creator invites questions and comments via Twitter or email.
Jun 15, 2016
137 words in the original blog post.
To get Couchbase Server installed and configured on a Mac computer in under five minutes, download the latest version from an official source, install it using a package manager or installer, and then start a new cluster with preconfigured buckets for storing NoSQL documents. For alternative operating systems, separate video tutorials are available, while further assistance can be found at the Couchbase Developer Portal, which covers usage with supported developer technologies.
Jun 14, 2016
114 words in the original blog post.
This video will cover the basics of using Couchbase in an ASP.NET MVC application. To follow along, viewers need to have Couchbase Server installed on their system. The content is a continuation of a previous installation guide for Windows and can be supplemented with additional learning resources from the Couchbase Developer Portal or blog post series. Viewers are encouraged to ask questions or provide feedback through various channels.
Jun 13, 2016
106 words in the original blog post.
The video tutorial demonstrates the process of creating a basic Node.js application using the Express Framework, with Couchbase Server serving as the NoSQL database. It provides guidance on using Couchbase with Node.js and directs viewers to the Couchbase Developer Portal for further information. Additionally, it offers resources for installing Couchbase Server on various platforms, including Ubuntu, Windows, and Docker.
Jun 10, 2016
60 words in the original blog post.
Spark is a big data processing framework that provides analytics, machine learning, graph processing, and more on top of large volumes of data, but it's not a database. It reads data from various sources like HDFS, Amazon S3 or Couchbase Server, processes it, and then writes the results out for further use. Spark is designed to handle high throughput but at the expense of latency. Combining Spark with a NoSQL database like Couchbase can solve different problems and provides benefits such as faster access to operational data, powerful query language, native SDKs, sub-millisecond latencies, elastic scaling, ease of administration, XDCR, and high availability. The Couchbase Spark Connector provides an open-source integration between the two technologies, reducing first round trip data processing time, enabling fast performance, and supporting a range of data access methods. Additionally, Spark can be used as a toolkit for solving data integration challenges, allowing developers to combine data from multiple sources and feed it to applications or other consumers in a convenient and scalable way.
Jun 06, 2016
1,440 words in the original blog post.
Couchbase has announced the release of its Spark Connector 1.2.0, which features significant updates and enhancements, including compatibility with Apache Spark 1.6. This version introduces Java and Scala support for Couchbase view, spatial view, and N1QL query APIs on RDDs, alongside support for the new Subdocument lookup API on RDDs and SparkContext, which requires Couchbase Server 4.5. The release also allows the Java API to leverage Spark SQL directly and extends SparkSQL Filter expressions to support all Spark Filters, including nested ones. Additionally, it enhances Spark Streaming support, though this is still experimental, and includes various bug fixes. The connector can be accessed via Maven Central or spark-packages.org, and feedback from users is encouraged to shape future developments, with a focus on upcoming functionality in Spark 2.x and further improvements to the Spark Streaming interface.
Jun 06, 2016
425 words in the original blog post.
Couchbase Server 4.5 Beta introduces a new full text search (FTS) service that enhances scalability, indexing speed, and security features such as authentication and audit logging. The FTS service, which remains a developer preview, allows for distributed search across multiple nodes, enabling efficient indexing and searching of text within Couchbase documents without third-party tools. The system uses a distributed architecture similar to data buckets, dividing full text indexes into fragments called pindexes that are spread across nodes. This design supports replication to speed up failover and ensures that search continues even during node failures, albeit with potential partial results if replicas aren't available. Users are encouraged to test the new functionality and provide feedback as the FTS team continues to refine the feature.
Jun 04, 2016
1,886 words in the original blog post.
I created a video tutorial to guide users through the process of installing and setting up Couchbase Server 4.5 on Windows, providing helpful resources for those following along. The video aims to educate viewers on how to use Couchbase, with additional information available through the Couchbase Developer Portal. Viewers are encouraged to share their questions or comments via Twitter or email, allowing me to provide further assistance.
Jun 03, 2016
79 words in the original blog post.