Home / Companies / Couchbase / Blog / January 2017

January 2017 Summaries

129 posts from Couchbase

Filter
Month: Year:
Post Summaries Back to Blog
As the CEO of Couchbase, the company welcomes people from diverse backgrounds, including different countries, religions, political beliefs, sexual orientations, physical abilities, and lifestyles. This diversity is seen as a strength for the company, and the CEO is committed to upholding values of inclusivity and respect for all employees. The company's stance on this matter is not taken lightly, but rather it is a reflection of their core values, which are shaped by the importance of immigration to the country and the high technology industry they operate in.
Jan 31, 2017 268 words in the original blog post.
Calvin Allen, a .NET developer, provides an insightful guide on using GeoJSON, a standard format for encoding geographic data, within a .NET MVC application integrated with Couchbase and Google Maps. GeoJSON's compatibility with various mapping technologies, such as Google Maps, is highlighted as a significant advantage, allowing for seamless rendering of geographic objects without custom formatting. The article details how to set up a project using Couchbase for managing GeoJSON documents, utilizing the Couchbase .NET SDK and the geojson.net library for ease of JSON serialization. Calvin demonstrates creating endpoints for listing features, routing, and retrieving JSON data, and explains how to use Google Maps API to display these features interactively. The guide emphasizes the practicality of GeoJSON in mapping applications and encourages experimentation by providing a GitHub repository with the complete codebase, inviting readers to explore further with their own Google Maps API Key.
Jan 30, 2017 1,459 words in the original blog post.
The retail sector has experienced a significant shift towards online shopping, particularly during peak periods like Christmas, as consumers choose the convenience of online purchasing over traditional in-store visits. This change was evident when foot traffic decreased by 4.7% on Boxing Day, while online shopping surged, highlighting a transformation in consumer behavior. The UK experienced a notable instance of this shift during Black Friday in 2014, when many e-commerce platforms, such as John Lewis and Argos, struggled to handle the unexpected surge in online demand. Retailers are advised to rethink their capacity planning, which typically forecasts traffic a month in advance, to avoid performance issues that result in lost customers and revenue. By adopting a flexible and scalable infrastructure, retailers can better manage the fluctuating demand typical of festive periods, ensuring that their online platforms can handle increased traffic and maintain a seamless shopping experience.
Jan 30, 2017 706 words in the original blog post.
Earlier this month, a video was released providing a tour of the new Couchbase Web Console, which aligns with a previously written blog post on the same topic. The video aims to introduce viewers to the functionalities of the updated console, allowing users to navigate Couchbase Server effectively using both the Web Console and .NET (or .NET Core). For further inquiries or feedback, viewers are encouraged to contact the presenter through email, Twitter, or by leaving a comment.
Jan 25, 2017 81 words in the original blog post.
Couchbase Community's recent updates highlight various events and advancements, including the application of N1QL and Full-Text Search (FTS) in machine learning, Couchbase Partner Day, and insights into Docker's functionality. Notable achievements include Couchbase being recognized for its role in GE's Predix Platform and launching a "Developer Build" program aimed at fostering open discussion within the open-source community. The community is also informed through blogs covering diverse topics such as deploying Docker Compose services, data transfer from Cassandra to Couchbase using Spark, and analyzing data with Couchbase and N1QL. Upcoming events include the Big Data Forum and various Couchbase meetups across Europe.
Jan 25, 2017 481 words in the original blog post.
Docker 1.13 introduced significant changes to its command-line interface (CLI) to improve usability and consistency, addressing issues present in the previous version. The update includes the introduction of management commands, where similar functionalities are grouped under logical categories such as "container," "image," and "network," which simplifies navigation and reduces confusion for users. This approach replaces the earlier system of numerous top-level solo commands, which were inconsistent and challenging for beginners. In addition to improved command structure, Docker 1.13 maintains backward compatibility while encouraging users to transition to the new commands. The release also includes features like Compose file support for deploying Swarm mode services, CLI reorganization, and enhancements in monitoring and build processes. For those interested in exploring the new features, resources such as online meetups and tutorial videos are available, along with Docker compatibility for both Mac and Windows platforms.
Jan 24, 2017 1,204 words in the original blog post.
Docker Swarm and Service Mode allow for the creation of a Couchbase cluster using Docker. To create the cluster, a "master" service is created with a single replica, and a "worker" service is created with multiple replicas. The "worker" services register with the container in the "master" service to complete the cluster. The new feature in Docker 1.13 allows for deploying multi-container applications defined using Docker Compose to multi-host enabled using Swarm mode. The Couchbase cluster can be scaled by scaling the Docker service, and the web console shows a single node created using the "master" service with two additional nodes created using the "worker" services in the "Pending Rebalance" tab.
Jan 24, 2017 1,538 words in the original blog post.
I recently switched from using synchronous calls to Promises with the Bluebird library in my Node.js application, but encountered an issue when trying to use the `return` function, which creates a Promise that resolves to a given value. I was getting errors because the Swagger JS client uses the Q Promises library instead of Bluebird, causing promises returned by my calls to be replaced with the Q version. To address this, I decided to stick with using the equivalent `then` call or consider alternatives such as `promisifyAll`, using the "bluebird-q" project to replace Q with Bluebird, or wrapping calls with `Promise.resolve()`.
Jan 23, 2017 297 words in the original blog post.
Shivansh Srivastava is a skilled developer who contributes to various open-source projects like Apache Iota, Apache Spark, and Couchbase-Spark-Connector, among others. He currently works at Chirpanywhere Inc, an IoT startup where he oversees multiple aspects of software development, including hardware programming and solution deployment. The article discusses the challenges of choosing the right NoSQL database for an application and provides a solution using Couchbase to transfer data from Cassandra, highlighting the importance of configuration and authentication settings.
Jan 23, 2017 774 words in the original blog post.
Docker Swarm and Docker Compose now work together, allowing for simplified deployment of multi-container applications on multi-host environments. Docker 1.13 introduced a new version of Docker Compose that enables services defined in Docker Compose files to be directly deployed to Docker Engine enabled with Swarm mode. To deploy a Docker Compose file to Docker Swarm mode, use the `docker stack deploy` command. This allows for the creation of a cluster of Docker Engines and enables multi-host applications with simplified deployment. The new version of Docker Compose also introduces changes in syntax, such as the updated `version` attribute and other improvements.
Jan 23, 2017 1,133 words in the original blog post.
The new Couchbase Web Console features a refreshed design influenced by Google's Material Design, with a vertical and left-side navigation menu organized by "cluster" and "data". The UI has been streamlined, with a focus on usability, performance, and efficiency. Key changes include the removal of the clear button, improved history functionality, and enhanced data bucket insights. The Query Workbench now features a new Plan and Plan Text options in results, as well as a Query Monitor page showing system catalogs added in Couchbase Server 4.5. Buckets are still available but with some minor improvements, and charts and statistics have been reworked to adhere to the Material Design philosophy, taking up full page space for better visibility. The UI also includes new features such as role-based security and a secondary navigation bar across the top of the page. Users can switch between the old and new UIs, with the option to view the classic UI by clicking on a link at the top right of the page.
Jan 20, 2017 1,464 words in the original blog post.
Nick Cadenhead, a Senior Consultant at 9th BIT Consulting, shares his experiences transitioning from a software engineering background to working with the Couchbase NoSQL database, despite not being a traditional database specialist. Through his work in sales engineering and proof of concept engagements, he often needed an efficient method to ingest data into Couchbase without extensive coding. Discovering Streamsets, an open-source platform for data ingestion, he found it useful for setting up data pipelines through a graphical interface, connecting data sources to destinations, and automating data handling. However, Couchbase lacked a native data connector in Streamsets, prompting Cadenhead to develop his own using Streamsets' Java-based API, allowing for seamless JSON data ingestion into Couchbase buckets. This solution provided him with quick insights into data flows and pipeline performance, enhancing his ability to support Couchbase implementations without extensive coding, and his connector is now publicly available on GitHub for others to use.
Jan 20, 2017 754 words in the original blog post.
Couchbase Fulltext Search (FTS) has introduced two new features: Type Mapping and Sort. Type Mapping allows for multiple ways to distinguish document types, including using a common field as a type selector or specifying a regular expression that matches the type identifier. This enables more flexible and advanced filtering capabilities. The new Sort feature enables custom sorting of search results by specifying fields in a sort array, allowing for more control over the order of results. Additionally, FTS has changed its backend to use Moss, a simple and fast key-value storage library for Go, providing improved performance and features such as atomic mutations and concurrent readers/writers. These updates enhance the capabilities and flexibility of Couchbase FTS, making it easier to build robust search applications.
Jan 20, 2017 977 words in the original blog post.
In a recent episode of the NoSQL Database Podcast, the focus is on the integration of NoSQL in mobile applications, specifically through the use of Couchbase Mobile. Hosted by Wayne Carter, Chief Architect at Couchbase, the discussion delves into the components of Couchbase Mobile, including Couchbase Lite, Sync Gateway, and Server, highlighting its utility in industries such as healthcare and airlines. The episode emphasizes the satisfaction of users in these fields with the flexibility and effectiveness of Couchbase Mobile. Available on platforms like iTunes and Pocket Casts, listeners are encouraged to send questions to the host's email or visit the Couchbase Developer Portal for further information.
Jan 20, 2017 156 words in the original blog post.
plain AWS Serverless Lambda Scheduled Events are used to store tweets in Couchbase. A few days into running, 269 tweets from @realDonaldTrump have been collected. The blog will analyze these tweets using N1QL, a SQL-like query language from Couchbase that operates on JSON documents. N1QL is used to find the top 5 tweeting days, tweet frequency, most common hour in a day to tweet, common day of the week to tweet, top 5 mentions in tweets, top 5 tweets with RTs, and most common words in tweets. The analysis shows that @realDonaldTrump tweets mostly on Tuesdays, has a high tweet frequency, uses many RTs, and frequently talks about media, fake news, and America in his tweets.
Jan 20, 2017 2,090 words in the original blog post.
The Dropbox Datastore and Sync APIs have been deprecated, prompting developers to find alternative solutions. Chris Anderson suggests choosing open source projects to address this challenge. The focus shifts to migrating an existing app that uses the Datastore API, specifically the Lists-ios example app, to Couchbase Mobile and Sync Gateway. The changes involve setting up the database, saving documents locally, and initialising live queries. These modifications can be used as a starting point for other applications, including demo apps like ToDoLite-iOS and ToDoLite-Android, which use Facebook Login for authentication and access control rules defined in the sync function. Building a web client with Couchbase Mobile is also possible using Sync Gateway's REST API or PouchDB.
Jan 19, 2017 279 words in the original blog post.
The new release of Kubernetes 1.5.0 brings several key improvements, including beta support for StatefulSets, enhanced Federation Support, and the introduction of a new command, kubefed. The release also includes significant updates to DaemonSets, Deployments, ConfigMaps, and the kubelet API. Additionally, the installation process has been updated to download smaller binaries, which was causing issues with older versions of Kubernetes. This change requires users to accept a default value when prompted during the cluster creation process. The new release provides improved support for Windows Server Container runtime and CRI for pluggable container runtimes. Furthermore, the kubeadm tool has been updated with improvements to HA setup for master nodes, node robustness, and extensibility. Users can now create a Kubernetes cluster on AWS more seamlessly, but may need to hit enter a few times to accept the default value during the cluster creation process. The release also marks the deprecation of the kube-up.sh script in favor of using Kubernetes Cluster on Amazon using Kops.
Jan 19, 2017 938 words in the original blog post.
Amazon Web Services (AWS) introduced the Serverless Application Model (SAM) to simplify the creation and management of serverless resources by extending AWS CloudFormation to support API Gateway, AWS Lambda, and Amazon DynamoDB. This blog post describes how to create a microservice using SAM, substituting Couchbase for DynamoDB, and demonstrates the ease of deploying and managing an entire microservice stack. The architecture involves using AWS API Gateway to provision APIs, with HTTP GET and POST methods available at the path /books, each triggering a respective Lambda function to list or create books. The microservice uses Couchbase as a persistence store, with JSON documents stored and retrieved from this database, and the functions are implemented using Java 8, utilizing Couchbase Java SDK for database interactions. The SAM template, which defines the serverless resources, is deployed as a CloudFormation stack, with the code uploaded to an S3 bucket. The post also provides a walkthrough of deploying the SAM template, followed by testing the deployed API using the AWS Console to invoke the REST API published by API Gateway.
Jan 19, 2017 1,090 words in the original blog post.
This blog post provides an overview of a serverless application that uses AWS Lambda to store tweets from a specific Twitter user, specifically @realDonaldTrump, in a Couchbase database. The application is deployed using the AWS Serverless Application Model (SAM), which simplifies the process of defining serverless resources and extends AWS CloudFormation to support services like API Gateway, AWS Lambda, and DynamoDB. The Lambda function is triggered every three hours to fetch new tweets using the Twitter4J API, ensuring no duplicate tweets are stored by sorting them and identifying the most recent tweet ID. The tweets are then converted to JSON format and stored in Couchbase using the Couchbase Java SDK, with environment variables managing the connection to the database securely. The blog includes sample code available on GitHub and hints at future posts analyzing the tweets collected.
Jan 19, 2017 731 words in the original blog post.
The document discusses the importance of maintaining backups for services like Couchbase Server clusters and explores various remote storage solutions for safeguarding this data, such as Amazon S3, Amazon Glacier, and Minio, an open-source object storage solution that can be deployed in-house. Minio is highlighted for its ability to protect against hardware failure and data corruption through erasure coding. The text provides a detailed guide on setting up and using Minio for backup storage, including configuring the Minio server and client, creating storage buckets, and transferring data using commands like mirroring and archiving with time-stamped backups. It emphasizes that object storage is often used for write-once, read-many scenarios and suggests using a cron task for scheduled backups. For more detailed instructions on creating Couchbase cluster backups, the document refers readers to the Couchbase Developer Portal.
Jan 19, 2017 598 words in the original blog post.
The text discusses the setup and execution of integration tests using containers, specifically through TestContainers, to ensure consistent testing environments across different machines like developer laptops and CI nodes. It details a project aimed at creating integration tests for a Couchbase-based application, utilizing a sample app to demonstrate the process. The testing setup involves using Selenium for frontend testing and Docker containers for running the necessary components: Couchbase Server, a Java backend, and an Angular frontend. The author illustrates how to configure and link these containers, ensuring they start in the correct sequence with TestContainers' waiting mechanisms, and concludes by highlighting the benefits of this approach for testing Couchbase applications.
Jan 19, 2017 1,614 words in the original blog post.
Developing applications with Couchbase Mobile offers numerous possibilities for server-side integration, such as using the Sync Gateway document "changes" feed for event-driven operations and managing synchronization conflicts. While PouchDB provides a compatible JavaScript option, a lighter alternative using Swagger is now available. Swagger not only documents Couchbase Mobile APIs but also generates client SDKs in 40 languages, facilitating the creation of applications. This post demonstrates using the Swagger Node.js client to build a simple app that monitors document changes in Couchbase, using Node.js, Swagger JS, and Couchbase Sync Gateway. The example app showcases setting up the Sync Gateway, configuring the Swagger client, and implementing a monitoring function that reacts to changes by leveraging sequence IDs for updates. The post also highlights the utility of Swagger in generating server stub code, test cases, and sandbox sites, and concludes with pointers to additional resources for further exploration of Couchbase Mobile and Swagger's capabilities.
Jan 19, 2017 2,107 words in the original blog post.
The blog post offers a detailed walkthrough of installing Couchbase Sync Gateway on macOS as part of the Couchbase Mobile stack series. Sync Gateway acts as a secure web gateway application, enabling secure data replication between Couchbase Server and Couchbase Lite with various APIs. The author provides step-by-step instructions for downloading, unpacking, and running the Sync Gateway using example configuration files, requiring a basic understanding of NoSQL and Couchbase. It also explains how to verify the installation using command line tools like curl and accessing the administrative interface through a web browser. The post is part of a series aimed at helping users get familiar with the entire Couchbase Mobile stack, offering additional resources and insights into working with Sync Gateway from the command line in future posts.
Jan 18, 2017 1,007 words in the original blog post.
Couchbase 5.0 introduces subquery expressions in its N1QL query language, allowing developers to use subqueries within generic expressions for more flexibility and functionality compared to previous versions. This feature enables the use of subqueries for aggregation, existence checks, and other operations, providing a way to simplify complex queries while maintaining performance. Subquery expressions can be used in various clauses such as `EXISTS`, `MERGE`, and `LET` to achieve specific results, offering more control over query logic without compromising performance. The new feature is currently available through developer builds, with production-ready versions expected in the future.
Jan 18, 2017 755 words in the original blog post.
The Couchbase Developer Builds program aims to keep developers updated on the latest features and provide a platform for feedback. The program offers pre-release binaries of the next major release, with light-weight quality tests, allowing developers to try out new features in their development environment. These builds are intended for experimental purposes only and should not be used for staging or production environments. The first developer build will feature several exciting new features, including a re-designed UI, subqueries over nested collections, and improved Full-Text Search functionality. Developers can access the builds through the Couchbase website and provide feedback to help shape the final product.
Jan 18, 2017 698 words in the original blog post.
This blog explains how to create a simple microservice using Amazon API Gateway, AWS Lambda and Couchbase. It covers the key components in this architecture, including client tools that can invoke REST endpoints, provisioning APIs through API Gateway, and creating two Lambda functions: `book-list` function for listing all books available and `book-create` function to create a new book. The blog also creates an IAM role with policies and trust relationships that allow this role to be used in API Gateway and execute Lambda function. It shows how to deploy the microservice and test it using API Gateway, including creating HTTP POST and GET methods and granting permissions to the deployed API. Finally, it discusses how to use Couchbase Node.js SDK v2.6.3 with AWS Lambda.
Jan 18, 2017 1,867 words in the original blog post.
Jay Gopalakrishnan's guest post explores the integration of Cloud9 Charts with Couchbase to provide native NoSQL analytics, using the NYC green cab taxi dataset as a case study. By leveraging N1QL, users can perform real-time analytics on semi-structured data without relying on traditional ODBC drivers or extensive ETL processes. The post delves into various analytical insights, such as geo-spatial pickup and drop-off trends, trip durations, fare analyses, and predictive modeling for ride trends. Additionally, it highlights the advantages of using Cloud9 Charts for instant visualizations and embeddable dashboards, showcasing how these tools enable business and technical users to derive actionable insights efficiently. The integration supports complex queries, including those involving nested objects and arrays, and facilitates joins between multiple data sources, which enhances the analytical capabilities of Couchbase.
Jan 18, 2017 1,609 words in the original blog post.
The blog post discusses creating test cases for Spring Data Couchbase using TestContainers and addresses limitations such as unchangeable default ports in Couchbase Server when using Docker. It explains how to set up an abstract test case for Couchbase instances and Spring Data Couchbase configuration, detailing the use of annotations like @RunWith(SpringRunner.class) and @SpringBootTest. The post covers custom configuration through implementing CouchbaseConfigurer to override default settings and ensure all necessary beans are initialized once the CouchbaseContainer is ready. An example is provided, showing how to extend this abstract test case to write tests, including importing services and querying an index. The blog post is authored by Couchbase developer advocate Laurent Doguin, who presents a comprehensive approach to testing Spring Data Couchbase applications with TestContainers, while also addressing user inquiries about potential issues in extending the abstract class.
Jan 17, 2017 839 words in the original blog post.
Joel Andrews, a developer at Kashoo, shares insights into the challenges and solutions of managing data synchronization using Couchbase Mobile and Sync Gateway. Initially, as the complexity of document types increased, maintaining sync functions became cumbersome, leading to code duplication issues. To address this, Kashoo developed a standalone utility called synctos, which facilitates the creation of sync functions without duplicating code. Synctos uses a code generation approach that allows developers to define document types declaratively, thus streamlining validation, authorization, and channel assignment processes. The utility, released as open-source software under the MIT license, has evolved to include five robust phases that enhance data management and reduce manual effort. It includes features for assigning access, validating document properties, and ensuring channel authorization, significantly simplifying the creation and maintenance of sync functions. By using synctos, developers can produce detailed error messages and enforce document immutability, roles, and channel access, ensuring secure and organized data synchronization across multiple databases.
Jan 16, 2017 1,661 words in the original blog post.
In response to recent security concerns surrounding MongoDB and Elasticsearch, Couchbase has issued an advisory to remind users of its security best practices, emphasizing that there have been no known ransomware attacks or new vulnerabilities identified in its product. The advisory encourages users to maintain proper physical security, ensure server nodes are behind a firewall, keep operating systems updated, and secure data transmissions using SSL. Additionally, users are advised to use strong passwords, delete the default bucket, and encrypt databases. Couchbase also offers resources such as documentation and blogs to help users build a comprehensive security plan, and provides various contact options for support, including email, forums, and social media.
Jan 14, 2017 294 words in the original blog post.
The text discusses the challenges of uninstalling Couchbase from a Mac, particularly when issues arise during installation that prevent the dashboard from opening. It highlights that simply removing the application package does not suffice because additional files are created in specific directories on the computer. If these directories are not removed, reinstalling Couchbase will not address the initial installation problems. To perform a clean reinstallation or reset Couchbase, it is important to delete these directories after ensuring the currently running instance is stopped. The text also refers to a tutorial for assistance with installing Couchbase on a Mac.
Jan 13, 2017 193 words in the original blog post.
Nicolas Motte, a full-stack engineer and operations manager at Amadeus, shares his experience deploying a Couchbase cluster in OpenShift and simulating workload performance using cbc-pillowfight. Initially contemplating migrating an application or creating his own tool, he opted to use cbc-pillowfight on the advice of Couchbase expert Michael Hirschberg. Motte details the creation of a Docker image using CentOS and a streamlined Dockerfile, emphasizing efficiency by minimizing layers and allowing parameter customization. He explains the process of setting up an OpenShift template with a replication controller to easily scale traffic simulation, achieving 46k operations per second in a small environment. Motte highlights the growing potential for integrating datastores like Couchbase into OpenShift for standardized data management across local, test, and potentially production environments, despite current lack of vendor support for Couchbase deployment in OpenShift.
Jan 13, 2017 544 words in the original blog post.
A recent tutorial detailing the creation of a URL shortener using Node.js and Couchbase has been complemented by a new video tutorial, which guides viewers through developing this application from scratch. The video aims to clarify the development process by demonstrating how to construct a RESTful API with the Couchbase Node.js SDK and N1QL, effectively eliminating uncertainties that may arise from the written tutorial. Additionally, for those unfamiliar with Couchbase, there are setup tutorials for Mac, Linux, and Windows, and further resources on the Node.js SDK can be accessed through the Couchbase Developer Portal.
Jan 12, 2017 144 words in the original blog post.
In a recent exploration, the process of developing a cross-platform mobile application using NativeScript, Angular, and Couchbase was discussed, focusing on implementing data synchronization with Couchbase Sync Gateway. This involved creating a singleton service in Angular to ensure efficient data replication across iOS and Android devices, utilizing Couchbase Lite for database operations. The setup included configuring Sync Gateway for seamless data exchange, with the application designed to handle real-time updates through change listeners. The tutorial highlighted the simplicity of integrating these technologies to manage and synchronize data in a mobile environment, while also addressing peer-to-peer synchronization challenges and the anticipation of advancements in Couchbase Lite 2.0. Feedback from users indicated successful implementation and inquiries about extending the syncing capabilities to offline modes and peer-to-peer networking without a centralized server.
Jan 11, 2017 2,062 words in the original blog post.
Couchbase's latest querying technology makes it easier to switch from relational databases to NoSQL by introducing N1QL, an extension to SQL that allows developers to use the familiar language with NoSQL data. Unlike traditional NoSQL platforms, Couchbase's N1QL enables joining documents and querying data in a more intuitive way, without requiring complicated server-side logic or multiple database calls. This innovation brings several advantages, including faster query execution, reduced application server load, and support for popular programming languages such as Java, Node.js, and .NET.
Jan 10, 2017 849 words in the original blog post.
The text provides a detailed guide on integrating PouchDB with Couchbase in a Node.js web application to enable data synchronization across platforms. It highlights the use of PouchDB, a JavaScript database, in conjunction with Couchbase Sync Gateway and Couchbase Server, to manage data effectively in both server-side and browser-based applications. The guide walks through setting up a basic Node.js application using Express Framework and Node Package Manager to handle dependencies, creating a RESTful API with endpoints for CRUD operations, and configuring the Sync Gateway for data orchestration. The guide also emphasizes the importance of cross-origin resource sharing (CORS) for local development and provides code snippets to demonstrate data manipulation logic, including retrieving, creating, and deleting documents via PouchDB. The application is designed for a local setup but can be adapted for production by linking with a Couchbase Server cluster, offering a versatile approach to support mobile synchronization and server-side operations.
Jan 10, 2017 1,740 words in the original blog post.
CNN recently named Mobile App Developer as the best job in America, considering factors such as median pay, job growth opportunity, and quality of life. Despite the seemingly transient nature of mobile apps, developers have the unique opportunity to create applications that can reach millions daily. To build successful apps, developers should focus on ensuring offline capabilities, cross-platform compatibility, intuitive user interfaces, technical simplicity, quick time to market, robust security, and scalability for potential virality. Couchbase, a NoSQL database platform, supports developers by offering solutions that allow apps to function offline, work with JSON, ensure security, and maintain high performance, enabling developers to create scalable and high-performing applications that users will love.
Jan 08, 2017 638 words in the original blog post.
The text explores the process of creating a Google Chrome extension that synchronizes shopping list data across browsers and devices using Angular 2, PouchDB, and Couchbase. It begins by introducing the necessary tools and libraries, including Node.js, Angular CLI, and Couchbase Sync Gateway, which facilitate data synchronization without direct use of Couchbase Server. The guide details setting up a Sync Gateway configuration to manage data replication and outlines building an Angular 2 application integrated with Bootstrap for the user interface. A custom Angular service is developed to handle data operations and synchronization with PouchDB. The text further explains the steps to package the Angular application into a Chrome extension by creating a manifest file and using the Angular build tool to output the necessary files. The extension is then installed into Chrome via the extension manager, offering a seamless shopping list synchronization experience. The document concludes by highlighting the versatility of using Couchbase with Chrome extensions and provides a GitHub link for accessing the complete project.
Jan 08, 2017 3,007 words in the original blog post.
This summary provides a comprehensive overview of the text, covering key points in detail. The project involves creating a desktop application using Electron that is powered by Angular 2, PouchDB, Ionic 2, and Couchbase. The requirements include Node.js 4.0+, Ionic Framework 2.0, and Couchbase Sync Gateway. The tutorial guides through configuring Couchbase Sync Gateway, creating an Ionic 2 project destined for the PC, adding Electron support, developing a PouchDB provider for Angular 2, designing the user interface, and seeing the project in action. The application syncs with Couchbase using Sync Gateway, allowing users to input new data that is synced across devices and servers. The code provides an example of how to build such an application using Electron, Angular 2, PouchDB, and Couchbase.
Jan 07, 2017 2,906 words in the original blog post.
Installing Windows Server 2016 on a VirtualBox VM allows developers to test and deploy server-side applications, including Docker containers. A reliable internet connection is required for the initial download of the Windows 2016 Server Evaluation version, which is approximately 5GB in size. To set up the VM, users must create a new virtual machine using Virtual Box, allocating at least 30GB of dynamically allocated hard drive space to accommodate the operating system and Docker containers. The installation process involves downloading the ISO file, starting the VM, and completing the initial setup, including selecting the Desktop Experience version and entering an administrator password. Once installed, users can access the Server Manager Dashboard, install updates, and restart the VM. This setup enables developers to run Windows Server 2016 in a virtual environment, paving the way for future applications using Docker containers and Windows Containers.
Jan 06, 2017 541 words in the original blog post.
Docker for AWS enables users to establish a highly-available Docker cluster on Amazon Web Services and run multi-container applications using Docker Services. The video mentioned illustrates the process of setting up the cluster, checking its configuration, and employing Docker services to create a Couchbase cluster. Additional resources are available through Couchbase's website, which offers further insights into deploying Couchbase across various container frameworks.
Jan 06, 2017 74 words in the original blog post.
The Couchbase Community has been active with recent announcements, including the release of Kafka Connector 3.0.0 GA, which enables streaming, filtering, and transformation of events from Couchbase Server to Kafka. Additionally, there have been news updates on the growing NoSQL market reaching $4.2 billion globally by 2020, as well as various blog posts discussing topics such as data synchronization with Couchbase in Ionic 2 hybrid mobile apps and designing indexes for queries in Couchbase N1QL. The community has also seen a series of event video archives, product pages, and web content showcasing the capabilities of Couchbase, including its integration with Neo4j 3.X and its use in solving IT challenges within the travel and hospitality industry.
Jan 06, 2017 309 words in the original blog post.
Best Practices for Virtualized Platforms offers guidance on running Couchbase on virtualized platforms such as Amazon Web Services and Azure, as well as within Docker containers. The text emphasizes the importance of data persistence, recommending that Couchbase node-specific data be mapped to a local folder to ensure data is preserved across container restarts. The document contrasts implicit per-container storage, which does not preserve data upon container termination, with explicit host directory mapping that maintains data by linking a directory on the host file system with the container. It also suggests more robust solutions for persistent storage, such as using shared network filesystems like Ceph or Docker Volume Plugins like Flocker, and points to external resources for further information about managing data in containers and running Couchbase in different frameworks.
Jan 06, 2017 792 words in the original blog post.
The text provides a detailed guide on setting up a Couchbase cluster using Docker Services, emphasizing Docker Swarm's capabilities to manage replicated, distributed, and load-balanced services. It explains the process of creating a Couchbase "master" service with a single replica and a "worker" service, allowing communication between them through Docker's overlay network. The integration involves using environment variables to define roles and manage cluster rebalancing. The text also discusses scaling the worker service, which adds more nodes to the cluster, and highlights the importance of rebalancing for data distribution. Additionally, the guide touches on high availability and disaster recovery strategies, suggesting ways to enhance redundancy and perform regular backups. The setup allows for the use of Couchbase's Web Console for monitoring and managing the cluster, and concludes with a mention of community resources for further learning and support.
Jan 06, 2017 1,125 words in the original blog post.
Docker Captains Laura and the author are hosting a multi-part interactive webinar to teach participants how to build a Docker-native CI/CD pipeline using Codeship, a SaaS platform that simplifies the setup and management of CI/CD processes. The webinar will leverage an application from the Docker for Java Developers workshop, utilizing technologies like WildFly, a Java EE 7 compliant application server ideal for cloud deployment due to its light memory footprint and fast startup, and Couchbase, an open-source NoSQL document database known for its scalability and flexible schema. Participants will learn to integrate existing Dockerfiles and images within Codeship's customizable development environments, gaining insights into building effective deployment pipelines.
Jan 06, 2017 290 words in the original blog post.
The text details the process of setting up a highly-available Kubernetes cluster on Amazon Web Services using kops, a CLI tool for managing Kubernetes clusters, and kubectl, a command-line interface for interacting with Kubernetes. The guide explains the creation of a Couchbase service within the cluster and utilizes a Spring Boot application to store JSON documents in the database. It highlights the initial limitations of using a single master setup, which can be a single point of failure, and suggests using kops to overcome this by enabling a multi-master configuration across different availability zones within a region. The guide also includes instructions on downloading necessary tools, setting up domain records, creating S3 buckets for state storage, and running both Couchbase and a Spring Boot application within the Kubernetes environment. Additionally, it provides steps for monitoring the cluster's status, adding a Kubernetes dashboard, deploying services, and eventually deleting the cluster, while acknowledging contributors from the Kubernetes community for their assistance.
Jan 06, 2017 2,719 words in the original blog post.
Serverless architecture, also known as Function as a Service (FaaS), allows developers to execute custom code in ephemeral containers managed by third-party services, eliminating the need for server management and scaling. This architecture is event-driven, meaning functions are triggered by specific actions within an application, contrasting with traditional models that require manual server scaling and maintenance. Platforms like AWS Lambda, Google Cloud Functions, and Azure Functions exemplify serverless solutions, offering automatic scaling, logging, and monitoring. AWS Lambda, in particular, charges based on compute time, providing a cost-effective solution by only billing for the time the code runs. Developers can deploy functions using AWS CLI and package their applications with tools like Maven to create deployment packages. The blog illustrates building a Java application for AWS Lambda, highlighting the process of creating, testing, and updating Lambda functions, including storing JSON documents in Couchbase, and emphasizes the benefits of serverless architectures such as scalability, reduced costs, and simplified back-end management.
Jan 06, 2017 1,886 words in the original blog post.
The latest updates in the Couchbase Community highlight several software development kit releases, such as the .NET SDK 2.3.1 and Node.js SDK 2.2.5, which bring enhancements, bug fixes, and full-text search capabilities. Additionally, Kafka Connecta Beta 3.0 introduces a new DCP client and compatibility with Confluent and SSL support. Upcoming events include Couchbase Days in Portland and Baltimore, while recent news covers topics from China's investment in American unicorns to Amazon's innovative payment methods. The blog section offers insights into various Couchbase applications, including server provisioning, migrating from MongoDB, and building URL shorteners. There is also a focus on real-time analytics and full-text search capabilities being added to Couchbase, along with a growing interest in the NoSQL market projected to reach $4.2 billion globally by 2020.
Jan 06, 2017 434 words in the original blog post.
This blog post provides a step-by-step guide on configuring Docker on Windows Server 2016, a virtualized environment using VirtualBox. The process begins with installing the Docker PowerShell module and enabling the containers feature, followed by restarting the virtual machine to enable the containers. A sample container is then run using the Microsoft IIS server image, demonstrating how to access its main page at `http://`. The blog post also provides details on inspecting the running container and accessing its IP address.
Jan 06, 2017 407 words in the original blog post.
The text provides a detailed guide on developing a mobile application using NativeScript with Angular, focusing on implementing Couchbase as a document database for storing and loading user profile data. The author, an enthusiast of Android and iOS app development with Angular, illustrates how to create a simple profile management system where users can input a first and last name, select an avatar, and save this information in Couchbase as key-value pairs. The process involves setting up a new NativeScript project with Angular, configuring the necessary tools like NativeScript CLI and either Android SDK or Xcode, and installing the nativescript-couchbase plugin. The development includes defining core application logic, creating a modal dialog for avatar selection, and designing the user interface using Angular components and NativeScript's XML markup. The project demonstrates the basic use of Couchbase for single-page applications, while hinting at more complex functionalities such as handling multiple documents and advanced querying in future tutorials.
Jan 06, 2017 1,556 words in the original blog post.
The text explains how to get started with Docker for AWS and deploy a multi-host Swarm cluster on Amazon. It starts by introducing the concept of using Docker Machine for development, but then highlights the newer option of Docker for Mac, which allows for swarm mode deployment on a single host. The article then moves on to discuss Docker for AWS, which creates a fleet of Docker 1.12 Engines with swarm mode enabled out of the box, and is free to use at this time. It provides step-by-step instructions on how to set up a CloudFormation template to create a 4-node cluster, including details on how to login to the cluster using SSH or create an SSH tunnel to access it. The article also explains how to scale worker nodes in the Docker for AWS Swarm cluster using AWS AutoScaling Groups. Throughout the text, key details about the setup and configuration of the Docker for AWS Swarm cluster are highlighted, providing a comprehensive guide for readers looking to deploy a multi-host Swarm cluster on Amazon using Docker for AWS.
Jan 06, 2017 1,231 words in the original blog post.
This blog explains how to run a Couchbase Docker container using Amazon ECS, a managed service that makes it easy to deploy and manage containers on Amazon EC2 instances. The key concept in ECS is the `Container Instance`, which is an AMI instance optimized for running containers, and the `Task` and `Service` definitions, which describe the application and its desired state. To get started with ECS, users need to create a task definition, service, and cluster, and then launch instances to run the task. The blog also touches on the differences between ECS and other container orchestration frameworks like Docker Swarm, Kubernetes, and Mesos, as well as the advantages of using ECS, such as seamless integration with AWS infrastructure. However, it also notes that ECS has some limitations, including vendor lock-in and a focus on Docker containers only. The blog provides step-by-step instructions for deploying a Couchbase container using ECS and offers additional resources for setting up a Couchbase cluster in ECS.
Jan 06, 2017 1,692 words in the original blog post.
The text discusses the first release candidate of Docker 1.12, highlighting several new features, including built-in orchestration, self-healing services, and zero-configuration security. It explains how to create a Distributed Application Bundle (DAB) from Docker Compose and deploy it as a Docker Stack in Swarm Mode, which is a new multi-service distributable image format introduced in this version. The document provides a practical guide on using Docker Compose files to generate a DAB, deploy it using the Docker Swarm, and manage services with the Docker Engine's self-healing capabilities. The text also describes the experimental nature of these features in the release candidate, and illustrates the deployment process with a Java EE application example, showcasing the ease of service replication and load balancing while maintaining application resilience.
Jan 06, 2017 2,388 words in the original blog post.
In this blog post, the author outlines the process of creating a deployment pipeline using Jenkins and Docker for a Java application interfacing with a Couchbase database. The pipeline is built using Jenkins' Pipeline DSL, which relies on Groovy scripting, and is defined in a Jenkinsfile that specifies several stages such as packaging the application, creating a Docker image, running the application, and executing tests. The post provides step-by-step instructions on installing Jenkins, configuring necessary plugins like Maven and Docker Pipeline, and setting up a Jenkins job to automate these stages. The author also highlights some challenges and suggests improvements, such as moving tests to a downstream project, using Git hooks for triggering the pipeline, and automating database operations. Additionally, the post mentions resources for further reading and invites contributions and feedback via GitHub.
Jan 06, 2017 1,167 words in the original blog post.
Couchbase Connect 2016 is an event set in the Bay Area, inviting developers, architects, administrators, and CxOs to explore innovations in the NoSQL space. Attendees will have the opportunity to hear from top industry speakers, engage with Couchbase product managers, engineers, and advocates, and participate in hands-on workshops and informal discussions. The event encourages submissions for talks on a variety of topics, including microservices, Couchbase Mobile, big data integrations, and IoT applications, with the deadline for proposals on September 1, 2016. Presenters will enjoy perks like a VIP dinner and exclusive swag. Scheduled for November 7-9 at the Santa Clara Convention Center in California, Couchbase Connect promises a dynamic experience for NoSQL enthusiasts.
Jan 06, 2017 464 words in the original blog post.
Apache Mesos, developed at UC Berkeley, is an open-source cluster manager that facilitates resource sharing and isolation across distributed applications by employing a master daemon to manage slave daemons on each cluster node. It supports various frameworks and container formats, with Docker being the most prevalent, and Marathon acts as a container orchestration platform on Mesos. Setting up Mesos and Marathon involves installing several components like Mesos Master and Slave, ZooKeeper, Docker Engine, and Marathon, which can be quite complex. DC/OS, a distributed operating system using Mesos as its kernel, enables running applications such as Couchbase, which can initially be deployed as a single-node but often requires scaling to a multi-node cluster in production. Detailed guides are available for setting up Couchbase clusters on DC/OS, including steps like configuring the CLI, installing a load balancer, and scaling and rebalancing the cluster. Further resources are accessible through Couchbase's developer portal and community forums.
Jan 06, 2017 323 words in the original blog post.
The document provides a detailed guide on setting up a Docker Swarm cluster with Multidimensional Scaling (MDS) using Couchbase services across multiple nodes. It explains how to initiate three Ubuntu instances on EC2, configure Docker with experimental features, and assign specific labels to each node to optimize resource allocation for different Couchbase services, such as Index, Data, and Query. The guide further describes enabling Swarm Mode, creating a cluster with one manager and two worker nodes, and deploying Couchbase services with constraints that match the labels assigned to each node. It concludes with verifying the successful distribution of services across the nodes, ensuring each service runs on the appropriate host, thereby providing a comprehensive database solution for various applications.
Jan 06, 2017 1,760 words in the original blog post.
Docker for Mac, now in general beta, is a native application for macOS designed with a native user interface and auto-update capability, offering seamless integration with OS X virtualization. Users can access Docker daemon logs either through the Mac Console application, which allows for detailed log monitoring and filtering, or via the command line interface using the `syslog` command. For those who prefer a more hands-on approach, the log files are also directly accessible in the user's Library directory. The article highlights various methods to interact with Docker logs on a Mac, providing both GUI and CLI options, and directs users to the official Docker documentation for further troubleshooting details.
Jan 06, 2017 448 words in the original blog post.
Kubernetes provides detailed insights about resource usage in the cluster by utilizing Heapster, cAdvisor, InfluxDB and Grafana. Heapster is a cluster-wide pod that gathers monitoring data for all pods on each node, which is then visualized using Grafana. Resource Usage Monitoring provides more details about monitoring resources in Kubernetes and are enabled by default when running the cluster on Amazon Web Services or Google Cloud. Starting a Kubernetes cluster can be done as shown in the example, and once started, it creates a 4-node cluster with various services such as Heapster, InfluxDB, Grafana, Elasticsearch, Kibana, kube-dns, kubernetes-dashboard and monitoring-grafana running. A complete list of all services and pods can be seen using `kubectl get services --all-namespaces` and `kubectl get pods --all-namespaces` commands respectively.
Jan 06, 2017 564 words in the original blog post.
JavaOne 2016 Session Catalog is now live, featuring over 400 sessions from September 17 to September 22, covering various topics including JavaOne4Kids, cutting-edge technologies in NetBeans IDE, Docker for Java developers, and building a private CI/CD pipeline with Java and Docker on Oracle Cloud. Key sessions include discussions on Docker support in popular IDEs like NetBeans, Eclipse, and IntelliJ, as well as managing Docker containers using Minecraft, with notable speakers and co-speakers such as @mr__m, @aditya_g, @nraboy, and @jbaruch. The event also includes informal networking opportunities like hallway tracks, parties, a Couchbase booth, and a Java Hub, with additional resources available at the JavaOne Speaker Toolkit.
Jan 06, 2017 219 words in the original blog post.
Minikube offers a streamlined process for setting up a single-node Kubernetes cluster on a local machine, facilitating rapid development and testing for Java applications. This blog post provides a step-by-step guide to utilizing Minikube, including starting a cluster, running a Couchbase service, deploying a Java application, and accessing the Kubernetes Dashboard. Minikube's CLI tool supports various commands to manage the cluster, such as starting, stopping, and obtaining cluster information. The post demonstrates the deployment of a Couchbase service and a Java (Spring Boot) application, with detailed configurations available on GitHub. Minikube's capabilities are enhanced by the integration of Kubernetes' tools and services, offering a robust environment for Kubernetes resource management.
Jan 06, 2017 1,665 words in the original blog post.
Kubernetes 1.4 introduces several notable features, including the ability to install Kubernetes with the kubeadm command, similar to Docker Swarm's init and join commands, and enhancements such as federated replica sets, scheduled jobs for batch processing, and pod affinity policies. The release also offers a new Kubernetes Dashboard with improved user interface and functionality, achieving close parity with the command-line interface. The blog details a process to create a Kubernetes cluster on Amazon Web Services, deploy a Couchbase service, and run a Spring Boot application that interacts with Couchbase to store a JSON document. It highlights the steps to set up the cluster, deploy the services, monitor the status of pods, and eventually shut down the cluster, demonstrating Kubernetes' capabilities in managing containerized applications.
Jan 06, 2017 4,919 words in the original blog post.
AngularJS 1.0 was replaced by Angular 2, which is now being used to create a simple web application that syncs data using PouchDB and Couchbase Sync Gateway. The project requires Node.js 4.0+, Angular 2 CLI, Typings, and Couchbase Sync Gateway. To configure the Sync Gateway, a configuration file was created with basic settings for the database and CORS. An Angular 2 service provider was created to maintain data, which includes methods for syncing, fetching, and updating documents. The provider is imported into the application's @NgModule block. The application can be tested by running `ng serve` and accessing the project at http://localhost:4200.
Jan 05, 2017 2,274 words in the original blog post.
This blog entry is the fourth in a series detailing how to run applications on Kubernetes, specifically using Couchbase as the Docker container, with previous parts covering different cloud providers. In this installment, the focus is on setting up a Kubernetes cluster on Azure, running a Docker container within it, exposing a pod as a service, and eventually shutting down the cluster. The process involves using Azure CLI for installation and management, configuring Azure-specific details like subscription and tenant IDs, and addressing challenges such as the lack of support for the LoadBalancer type at the time of writing. The guide concludes with instructions for shutting down the cluster and mentions some issues encountered, such as problems with the web UI and proxying, while noting that the LoadBalancer feature has since become available.
Jan 04, 2017 2,113 words in the original blog post.
The Couchbase Community is buzzing with activity, featuring various events, webinars, and blog updates. Recent events include meetings focused on full-stack development with NoSQL technologies in cities like Chicago, Columbus, and Silicon Valley, along with a Java conference in Johannesburg. Notable media mentions include discussions on monitoring Docker containers and industry trends. Blogs cover diverse topics such as modeling relational data as NoSQL, Couchbase mobile applications, and full-text search with Node.js. Upcoming events include Couchbase Days in San Diego, Singapore, and Plano, while webinars offer comparisons between MongoDB and Couchbase Server and insights into creating applications with Docker and AWS. The community encourages engagement through social media channels and offers resources for developers to deepen their understanding of Couchbase technologies.
Jan 04, 2017 370 words in the original blog post.
Couchbase ensures high availability and disaster recovery through a homogeneous cluster architecture, replication, backup and restore, and rack zone awareness, allowing any node in the cluster to perform read and write operations, thus facilitating horizontal scalability. The blog outlines the process of creating a Couchbase cluster using the Couchbase Command Line Interface (CLI), which involves provisioning Couchbase nodes, initializing a "master" node, creating and adding "worker" nodes to the cluster, and rebalancing the cluster to distribute data evenly. These steps can alternatively be performed using the Couchbase REST API or the Couchbase Web Console. The cluster's homogenous nature means that it is not based on a master/slave architecture, which mitigates scalability issues and allows any node to function as the "master" if needed. The CLI commands are demonstrated for deploying on Amazon Web Services, where users can add and rebalance nodes to ensure the cluster meets growing application demands, with further resources provided for additional guidance and support.
Jan 04, 2017 445 words in the original blog post.
Couchbase has released Couchbase Server 4.5, which redefines the database to simplify the transition from relational to NoSQL. The release includes improved querying, certified support for containers and much more. Various conferences, news mentions, blogs, web content, and upcoming events are available for those interested in learning more about Couchbase and its new features. Couchbase is also promoting its Server 4.5 through various webinars, white papers, and social media posts highlighting its competitive edge over MongoDB.
Jan 04, 2017 315 words in the original blog post.
Couchbase Docker containers can be deployed on various orchestration platforms, including Docker Swarm, Kubernetes, and OpenShift 3, but this guide focuses on running Couchbase using Apache Mesos and DC/OS (Datacenter Operating System). The process involves setting up a DC/OS cluster on Amazon Web Services using CloudFormation templates and configuring the DC/OS CLI for cluster management. The guide details installing and configuring Marathon Load Balancer, based on HAProxy, to expose tasks running on DC/OS slave nodes. It provides a step-by-step approach to deploying a Couchbase Server Docker container on DC/OS, including configuring port mappings and accessing the Couchbase Web Console. Additionally, it addresses a user query about connectivity issues with the Couchbase client SDK and PHP library, suggesting configuration checks for port routing.
Jan 04, 2017 1,316 words in the original blog post.
The Couchbase Community update highlights upcoming events, media mentions, blogs, and webinars related to Couchbase and its integration with technologies like Apache Spark. Notable events include Couchbase Days in various cities and conferences such as Spark Summit and Data Science Summit. Recent media coverage discusses Couchbase's new Spark Connector and the industry's expansion of software solutions. The community shares insights through blogs on topics like multi-node full-text search and Kubernetes clusters. Webinars are scheduled to discuss running NoSQL on Oracle systems, emphasizing performance improvements and cost reductions, while tweets promote various educational resources and events.
Jan 04, 2017 444 words in the original blog post.
A Golang-based chat application has been enhanced to use Couchbase for NoSQL storage, enabling messages to be saved and loaded persistently across client connections. The application now utilizes a UUID library to ensure unique document IDs, and the `saveMessage` method uses upserting to store each message as its own document in Couchbase. A new `loadMessages` method fetches all stored messages from Couchbase and sends them to newly connected clients. The application's server side has been modified to save incoming client messages into Couchbase using the `saveMessage` method, while the client side has been updated with a `read` method that saves received messages in the same manner. With this enhancement, the chat application now leverages Couchbase for persistent message storage and retrieval.
Jan 04, 2017 1,254 words in the original blog post.
Creating a stateful container like Couchbase Server in Kubernetes using Amazon EBS requires provisioning a PersistentVolume and PersistentVolumeClaim, which provide persistent storage for data. A ReplicationController can be used to create multiple replicas of the container, but it needs to be updated to use Deployment instead. To deploy across multiple Availability Zones (AZs), a StorageClass resource is needed for each AZ, and the PersistentVolume should be marked with that class. The deployment process involves creating a PersistentVolume, PersistentVolumeClaim, ReplicationController/Deployment, and exposing the service as a load balancer. The key to success lies in understanding how these components interact and work together to provide persistent storage for stateful containers like Couchbase Server. Note: I have removed the code block as per your request. If you want me to add it back, please let me know.
Jan 04, 2017 3,064 words in the original blog post.
Containers, Microservices, and NoSQL provide an awesome threesome for building modern applications that need to be agile, meet constantly evolving customer demands, be pervasive, and work across multiple platforms such as mobile, web, and IoT. A simple microservices stack using WildFly Swarm, Docker, and Couchbase will be explained in this blog, with complete code and instructions documented on GitHub. The key components of this stack include WildFly Swarm, which packages and runs JavaEE applications with built-in service discovery, single sign-on, monitoring, and more; Docker for Mac, providing native support for running containers on Mac OSX; and NoSQL databases like Couchbase, offering agility, flexibility, and true horizontal scaling. A sample application will be built using Java EE REST endpoints, showcasing the integration of WildFly Swarm and Couchbase. The application will be packaged and run as a self-contained microservice using Maven, with a Docker image serving as the service. However, an issue with packaging and running the application as a Docker container is encountered.
Jan 04, 2017 1,395 words in the original blog post.
The latest updates from the Couchbase Community feature upcoming events, media mentions, and new blog posts. Notable events include the Spark Summit in San Francisco, the Data Science Summit in Europe, and Devoxx UK in London, with Couchbase Days planned in Paris and Fort Lauderdale. Media coverage highlights Couchbase's influence in digital marketing tools and NoSQL market trends. Recent blog posts cover topics such as Couchbase Mobile, ASP.NET CRUD, security enhancements in Couchbase Server 4.5, and various technical tutorials. Additionally, webinars are scheduled to demonstrate running NoSQL on Oracle, and Couchbase Server 4.5 Beta introduces features like a Sub-Document API to improve client usability and performance.
Jan 04, 2017 428 words in the original blog post.
The blog post outlines the process of running Couchbase Server on Amazon Web Services (AWS) using the Couchbase on AWS Marketplace. It describes the steps to launch Couchbase Server 4.0 Community Edition on an m3.large instance, including creating necessary security groups and key pairs, and accessing the Couchbase Web Console through a public DNS address. The post provides details on the configuration and setup, such as the default login credentials, and directs users to additional resources for further guidance. Despite its usefulness for introducing new customers to Couchbase in an economical way, the Community Edition has been withdrawn from new customers on AWS, raising questions about the reasons behind this decision.
Jan 04, 2017 311 words in the original blog post.
The blog post provides a comprehensive guide on creating and scaling a Couchbase Cluster using Docker technologies, specifically Docker Machine, Docker Swarm, and Docker Compose. It details the process of setting up a three-node Docker Swarm cluster with Docker Machine, running Couchbase instances on two nodes, and subsequently forming a cluster that is rebalanced and scaled. The creation process utilizes Consul for service discovery and involves configuring Docker Machines as part of a Swarm cluster. Docker Compose is used to deploy Couchbase instances, while emphasizing the use of host networking mode to ensure container scalability across the cluster's nodes. The post outlines how Couchbase nodes are added and rebalanced within the cluster, highlights the importance of rebalancing after scaling, and demonstrates the commands needed for these operations, culminating in a scalable and balanced Couchbase cluster.
Jan 04, 2017 1,826 words in the original blog post.
A Couchbase cluster can be created on Amazon Web Services (AWS) using the AWS Command Line Interface (CLI). The process involves creating a security group, configuring the CLI, creating an AWS key pair, and then provisioning two instances to form the cluster. Each node in the cluster needs to be configured with specific details such as memory, services, authentication credentials, and loads. The script provided can be used to configure each Couchbase node. Once the nodes are added to a cluster, they need to be rebalanced to ensure data is evenly distributed across the nodes. The final step involves terminating the instances when no longer needed. This guide demonstrates how to spin up, scale, and rebalance a Couchbase cluster using AWS CLI.
Jan 04, 2017 3,616 words in the original blog post.
Apache Mesos, an open-source cluster manager developed at UC Berkeley, facilitates resource isolation and sharing across distributed applications. It operates with a master daemon managing slave daemons on each cluster node, using a two-level scheduling mechanism where resource offers are made to frameworks. These frameworks, applications running on Mesos, decide the resources to accept and the applications to execute. Marathon, a container orchestration platform on Mesos, primarily supports Docker containers. The blog post provides detailed instructions for setting up Mesos, Marathon, and running a simple Docker image on CentOS, emphasizing that the process can be complex and suggesting that a future post will offer a more seamless installation using DC/OS. The author acknowledges learning from the Mesos Slack community and plans to explore more efficient setup methods in future discussions.
Jan 04, 2017 1,955 words in the original blog post.
Couchbase Server is available in three editions: Open Source Edition (OSE), Community Edition (CE), and Enterprise Edition (EE), each catering to different user needs. OSE is free, providing access to the open-source code for those who prefer customization and self-support, but it lacks formal support and guarantees. CE, also free, offers basic functionality suitable for simple applications with community support, and maintains application portability with EE, though it lacks advanced features and receives updates later than EE. EE is the most comprehensive version, requiring a paid subscription for production use, and includes frequent updates, 24/7 support, advanced high availability, disaster recovery, security features, performance enhancements, and specialized administration tools, making it ideal for large-scale commercial deployments. Each edition shares some core capabilities, ensuring application portability, but EE offers unique features for enhanced scalability, performance, and security, making it the preferred choice for enterprise-level applications.
Jan 04, 2017 2,007 words in the original blog post.
The Couchbase Community update highlights several key events, news, and resources, including conferences in Brussels and Culver City, and a series of blogs and webinars focused on Couchbase Server 4.5. The events aim to engage the community with sessions like "Couchbase Mobile" in Mountain View and the "I Code Java Conference" in Johannesburg. The update emphasizes improvements in Couchbase 4.5, such as enhanced join performance, memory-optimized indexing, and client-server encryption using X.509 certificates, while also showcasing collaborations like Couchbase and Vormetric for big data security. Additionally, the community is encouraged to provide feedback via social media platforms using specific handles and hashtags.
Jan 04, 2017 239 words in the original blog post.
The Couchbase community is active and engaging, with numerous events, meetups, news, media mentions, blogs, whitepapers, upcoming events, webinars, and online resources available. The community has been featured in prominent publications such as InfoWorld, CMS Wire, and CTO Vision, highlighting its growing influence in the NoSQL database space. Developers can learn from various webinars, podcasts, and blog posts on topics like building full-stack applications with Couchbase, bootstrapping applications with Go, and mobile-first development with Nativescript.
Jan 03, 2017 389 words in the original blog post.
The tutorial provides an overview of how to use Sync Gateway and Couchbase Lite to sync the latest Hacker News stories to an iOS app, with a focus on the Background Fetch feature introduced in iOS 7, which allows applications to perform small operations in the background. The guide walks through setting up Sync Gateway using a simple configuration with the walrus database and enabling the GUEST account for unrestricted access. It then details setting up the iOS app with Cocoapods to manage dependencies, fetching top stories from the Hacker News API using a NodeJS script, and saving them to Sync Gateway. The tutorial concludes by explaining how to simulate a background fetch in Xcode, which updates the app's table view with the fetched stories, highlighting how background fetch can enhance the user experience. A user comments on the article noting compatibility issues with Xcode 10.0 and requests a Swift version with the latest Couchbase Lite.
Jan 03, 2017 506 words in the original blog post.
Couchbase Mobile, which consists of Couchbase Lite, Sync Gateway, and Couchbase Server, will be featured at Xamarin Evolve 2016, offering a comprehensive solution for syncing on-device databases with cloud servers. Zack Gramana, the Couchbase Mobile Product Manager, discusses its advantages for Xamarin developers, emphasizing its functionality as a lightweight, embedded NoSQL database that can be integrated across various platforms including iOS and Android. In an interview, Gramana addresses why Xamarin developers might prefer Couchbase Mobile over other mobile databases and outlines how they can get started. He also highlights his upcoming talk at the event and what attendees can expect to see at the Couchbase booth, inviting developers to explore more at their website.
Jan 03, 2017 190 words in the original blog post.
This multi-part webinar series is a discussion with Geertjan Wielenga (@GeertjanW) and Eben Haber (@ebenhaber) on building a NetBeans plugin for Couchbase. The recording from part 4 of the series is now available, covering topics such as entry points of a NetBeans plugin, NetBeans platform node hierarchy, property sheets, keeping code organized, and creating menus for different nodes. The code for the plugin can be found at github.com/arun-gupta/couchbase-netbeans-plugin, and the team invites users to file bugs with feature requests and share their experiences with the plugin on Twitter using #NetBeans #Couchbase.
Jan 03, 2017 164 words in the original blog post.
Couchbase is actively involved in various events, including OSCON, Informatica World 2016, and XLDB, with multiple Couchbase Days scheduled across different locations. Recent media mentions include articles from DZone, Venture Beat, and Digital Journal, while blogs cover topics such as cluster setup on Amazon using CLI and Role-Based Access Control in Couchbase Server 4.5. The company also released a new .NET SDK version and provides various web content, including white papers, customer stories, upcoming events, and webinars, which offer insights into its technology and partnerships with companies like IBM and Tableau.
Jan 03, 2017 429 words in the original blog post.
This multi-part webinar series is a discussion with Geertjan Wielenga and Eben Haber about building a NetBeans plugin for Couchbase. In part 3, the recording is now available, showcasing several features such as login to Couchbase server, viewing bucket lists and documents, querying data from buckets, comparing documents, opening documents in a JSON editor, and multiple Couchbase hosts configuration. The code behind these features can be found at github.com/arun-gupta/couchbase-netbeans-plugin, where the NetBeans plugin module file (NBM) is also available for download. The development team invites users to file bugs and share their tweets containing snapshots of their documents in NetBeans using #NetBeans #Couchbase.
Jan 03, 2017 208 words in the original blog post.
This is part 6 (part 5, part 4, part 3, part 2, part 1) of the Coffee on Couchbase series where Geertjan Wielenga and Eben Haber discuss building a NetBeans plugin for Couchbase. The recording is now available, covering topics such as adding a new menu item to create primary indexes for non-indexed buckets, refreshing bucket names and descriptions after indexing, and optimizing document retrieval. The code for the plugin is evolving on GitHub, and users can provide feedback by filing bugs or sharing their tweets containing snapshots of documents in NetBeans using #NetBeans and #Couchbase.
Jan 03, 2017 174 words in the original blog post.
NetBeans offers an intuitive and user-friendly experience, making it a preferred integrated development environment (IDE) for many developers. A new webinar series titled "Coffee on Couchbase" has been launched, featuring discussions between Geertjan Wielenga, a NetBeans Project Manager, and Eben Haber, a Couchbase Tooling Architect. This series aims to guide participants through building a NetBeans plugin for Couchbase from scratch, exploring the platform's capabilities. The first part of the series, now available for viewing, covers setting up a GitHub repository for the plugin, initiating the project with a discussion on Ant versus Maven for plugin development, and configuring a Couchbase node within NetBeans. The code for the plugin is available on GitHub, and participants are encouraged to contribute feedback and report bugs as the project progresses.
Jan 03, 2017 174 words in the original blog post.
The Couchbase community has been active, with recent media mentions including a survey on next-generation databases, articles in SiliconANGLE and Computing UK, and expert blogs from Arun Gupta and Jeff Morris. Upcoming events include Devoxx, Xamarin Evolve, and the Mobile Web Dev Conference, as well as Couchbase meetups and webinars covering topics such as building full-stack applications with NoSQL, Go, and Angular 2. The community is also promoting learning opportunities, including a 2-minute video on relational vs document-oriented databases and resources on high-performance distributed caching and leveraging Couchbase's Spark connector for interactive data analytics.
Jan 03, 2017 362 words in the original blog post.
Highlights Events Conferences Informatica World 2016 San Francisco May 23 – 26 XLDB Menlo Park May 24 – 26 Couchbase Days various locations May 24 Couchbase Day — Houston May 24 Couchbase Day — Las Vegas May 26 Couchbase Day — Austin News Media Mentions DZone Fixing MySQL Scalability Problems with ProxySQL or Thread Pool DZone Create a Couchbase Server Cluster Using Docker India Today Breaking into the Big Data industry 7 ways you should prepare DZone Couchbase Cluster on Docker Swarn Using Docker Compose and Docker Machine Blogs Faster Indexing and Query Introducing Circular Writes with Standard Global Secondary Indexes for Efficient IO — PART III — Cihan Biyikoglu Scaling and Rebalancing a Couchbase Cluster using CLI — Arun Gupta Full Text Search in .NET with Couchbase 4.5 — Matthew Groves Couchbase with Windows and .NET — Part 4 — Linq2Couchbase — Matthew Groves Create a Couchbase Server Cluster using Docker — Nic Raboy Using Covering Indexes on a Multiple Document Type Bucket — Nic Raboy NDP Episode #4 Querying with NoSQL — Nic Raboy Couchbase Weekly May 16, 2016 — Laura Czajkowski Couchbase Server 3.1.3 Community Edition is Available — Don Pinto Upcoming Events May 25 Detroit Java User Group Meetup May 26 Couchbase Day — Austin June 6 – 8 Spark Summit San Francisco June 6 Data Science Summit Europe Webinars May 24 Relational to NoSQL How to get started from SQL Server EMEA June 9 How to run NoSQL on top of Oracle for better performance and lower costs US June 14 How to run NoSQL on top of Oracle for better performance and lower costs EMEA Tweet This Amadeus runs #Couchbase on Google to process 4M+ flight requests per second for more than 140 airline carriers ow.ly/XCVwh Tweet This Learn how to easily run #Couchbase Server on #AWS in this new blog tutorial http://ow.ly/oOMf300imQl Tweet This Want to learn how to query with NoSQL Listen to the latest episode of the #NoSQL Database Podcast with @nraboy http://ow.ly/FuaR300imcF Tweet This Take advantage of #Couchbase Server with N1QL detect expiring JSON documents before they happen Read the blog http://ow.ly/10fPVb Tweet This Join the #Couchbase #Mobile Partner Program ow.ly/XYey
Jan 03, 2017 441 words in the original blog post.
Many applications require the ability to refresh their data displays, and implementing a pull-to-refresh feature with Sync Gateway and Couchbase Lite for iOS is a practical approach. Sync Gateway facilitates data sharing and access control through the use of channels, allowing replication to be channel-specific, which means only relevant documents are synchronized. In a given configuration, a guest account can access specific channels, such as the public_recipes channel, to which documents of a certain type are routed. To insert documents, Sync Gateway's REST API is used, enabling the creation of new entries that can be fetched during refresh actions. On the iOS side, initiating a pull replication when the gesture is detected allows for data refresh, with notifications signaling when replication is complete, prompting a table view reload. The example source code for implementing this feature can be accessed on GitHub.
Jan 03, 2017 307 words in the original blog post.
The Couchbase Community is bustling with activities, including Couchbase Days in Waltham, London, and upcoming cities like Denver and Paris, as well as participation in events like SF Droidcon and Codemotion Rome. Media outlets and blogs feature Couchbase-related content, highlighting its use in mobile app databases, Docker integration, and cloud services, while the community is invited to share any missing news via social media. Upcoming webinars will focus on building full-stack applications using NoSQL, Go, and Angular 2, and cover topics such as leveraging NoSQL for eCommerce, with Couchbase Server 4.5 Developer Preview offering new features like full-text search. Enterprises are increasingly choosing Couchbase over competitors like MongoDB for its maturity and document store capabilities, with Couchbase Mobile providing enhanced management controls to streamline implementation.
Jan 03, 2017 573 words in the original blog post.
Couchbase recently released Couchbase Mobile 1.2, which is designed to enhance enterprise-grade administration, security, performance, and scalability for mobile applications. The release has garnered attention from various media outlets and is being showcased at several events, including Sweden's Jfokus developer conference. Couchbase Mobile 1.2 is highlighted as a cutting-edge data management platform that supports always-on mobile applications, with improvements like ForestDB for iOS and Android and data-at-rest encryption. In addition, Couchbase is offering webinars on building full-stack applications with the CEAN stack and hosting a series of events such as Couchbase Days across different U.S. cities. The company is also promoting its NoSQL solutions through various meetups and online training sessions.
Jan 03, 2017 621 words in the original blog post.
The latest updates from the Couchbase Community include a variety of events, announcements, and media mentions. Key highlights feature Couchbase's participation in the 10th annual Future of Open Source Survey and a series of media mentions in outlets such as Benzinga and Business 2 Community. Upcoming events include Couchbase Day in Minneapolis and several conferences where Couchbase will have a presence, such as Devoxx in Paris and the Mobile Web Dev Conference in San Francisco. A range of webinars is available, covering topics like full stack application development with NoSQL, Go, and Angular 2, and deep dives into data modeling and querying. The community is encouraged to engage with these resources and contribute to shaping the future of open-source technologies.
Jan 03, 2017 385 words in the original blog post.
Part 5 of the "Coffee on Couchbase" series focuses on developing a NetBeans plugin for Couchbase, with discussions led by Geertjan Wielenga and Eben Haber. The episode showcases newly created features in the plugin and demonstrates how to display different icons for indexed and non-indexed buckets in Couchbase. The ongoing code development can be accessed on GitHub at arun-gupta/couchbase-netbeans-plugin, and the NetBeans plugin module file from this episode is available for use. The series encourages community engagement by inviting feedback on desired features and sharing snapshots on social media using #NetBeans and #Couchbase.
Jan 03, 2017 160 words in the original blog post.
This blog series will guide you through configuring, building, and running Docker containers on Windows. The first part has already been covered by setting up Windows Server 2016 in Virtual Box for Docker Containers. This part focuses on installing the operating system images and configuring Docker. To get started, install the container feature and the PowerShell module, which is used to manage Docker images and containers. You can then download a script to install Docker and run it to complete the installation process. Once installed, you'll be able to check the list of available operating system images, tag the base OS image, and verify that Docker is working correctly by running the `docker --help` command. The subsequent blogs will cover more advanced topics with Docker on Windows Server 2016, including Windows Server Containers and other fun things. Additionally, you can find instructions and documentation for getting started with Docker at various websites such as Microsoft's Virtualization website and Docker Documentation. For those looking to install Docker on Windows Server 2016 standard edition, it may require some additional steps, such as running specific PowerShell commands to update the security protocol and register a repository. With these steps, you'll be able to access Docker images and containers on your Windows server.
Jan 03, 2017 343 words in the original blog post.
The text discusses various methods to query data using Couchbase, highlighting that key-based lookups are faster than queries using indexes. It explores the scenario of retrieving multiple documents using their keys, suggesting that while looping through keys for lookup operations is possible, it is inefficient due to multiple network requests. Instead, it recommends using a bulk operation, exemplified through a Golang application. This application demonstrates establishing a connection to a Couchbase cluster, opening a bucket, and executing bulk operations to retrieve documents, storing results in a slice of operations. The process involves checking for execution errors and determining if keys are found by comparing values against an empty object. The text also references additional resources for performance considerations and batching operations documentation.
Jan 03, 2017 512 words in the original blog post.
Couchbase is sponsoring and participating in various events, including DevNexus 2016, Couchbase Silicon Valley Meetup, and several meetups across different locations. The company is also hosting a 5-part webinar series on building a full-stack application using the CEAN stack. Additionally, Couchbase has been featured in media outlets such as DZone, Computer Business Review, Fortune, and SearchCloudApplications. The blog section highlights recent announcements, including the release of Spring Data Couchbase 2.0 and the upcoming Couchbase Mobile 1.2 update. Furthermore, Couchbase is promoting its capabilities to support big data and complex applications, highlighting its ability to scale and handle large amounts of data.
Jan 03, 2017 447 words in the original blog post.
The blog post is part of a series detailing the process of running applications on Kubernetes, specifically focusing on setting up and managing a Kubernetes cluster on Amazon Web Services (AWS) using Couchbase as the Docker container. It covers the steps for starting a Kubernetes cluster on AWS by utilizing Vagrant, creating a Virtual Private Cloud (VPC), and launching a 4-node cluster with t2.micro instances. It explains how to adjust configurations, such as changing instance sizes and the number of worker nodes, and provides instructions for creating and managing Docker containers within the Kubernetes environment. The post also describes how to expose a pod as a Kubernetes Service using a load balancer, allowing external access to applications like the Couchbase Web Console, and concludes with the shutdown procedure of the AWS-based Kubernetes cluster.
Jan 03, 2017 2,261 words in the original blog post.
Eclipse Mars offers integrated tools for managing Docker, allowing users to perform actions such as pulling, pushing, building images, and running or managing containers, with customizable views for enhanced user experience. A video demonstration uses a Couchbase Docker Container to highlight these features, while snapshots provide a visual guide. Comprehensive instructions are available on the official Eclipse wiki, and users are encouraged to report suggestions or bugs to the Linux Tools project under Docker. A user named Jeevan finds the video helpful but encounters difficulties with obtaining the IP and port at a specific video timestamp and faces issues with certain Docker commands while using Docker CE for Windows.
Jan 03, 2017 191 words in the original blog post.
The Couchbase Community blog has started, sharing updates on the community's activities and news related to Couchbase. The transition from relational to NoSQL databases is a key topic, with resources available for both EMEA and US audiences. News articles cover various topics such as IoT, mobile development, open source, and database trends. Blogs feature contributions from industry experts and developers, discussing topics like SQL extensions, Sync Gateway, and PouchDB integration. Upcoming events include FOSDEM, Couchbase Days in Santa Monica and Seattle, Jfokus, DevNexus, and more. Webinars are also available on moving from relational to NoSQL databases. The blog will cover various aspects of the Couchbase ecosystem, including meetups, other people's meetups, and job opportunities.
Jan 03, 2017 580 words in the original blog post.
Kubernetes namespaces allow users to logically partition resources within a cluster, providing unique scopes to prevent name collisions, enforce policies for user access, and specify resource consumption constraints. By default, resources are created in the "default" namespace, but users can create additional namespaces with distinct resource constraints. These namespaces enable multiple groups to share a cluster while maintaining different quality of service levels, ensuring resources from one namespace are hidden from others. The "kube-system" namespace is reserved for internal Kubernetes resources. Users can create resources in specific namespaces and apply resource quotas to limit CPU and memory usage, ensuring efficient resource allocation. Resource quotas and limits must be configured to prevent pods from consuming all available resources, and limits can also be specified during pod creation for effective resource management. Overall, namespaces, resource quotas, and limits are essential for managing and optimizing the resource use of Kubernetes clusters across multiple environments.
Jan 03, 2017 2,041 words in the original blog post.
The blog post by Roi Katz explores the basics of using Couchbase Lite indexing, specifically through the creation and utilization of views, to enhance data retrieval in applications. It highlights the transition from accessing data solely by primary key to employing views for more versatile querying options. The post provides a step-by-step guide on setting up a Windows Presentation Foundation (WPF) project, using the NuGet Couchbase.Lite package, and defining views, such as "docs_by_city", to map and filter data by specific properties like "City". It emphasizes the importance of keeping indexes small for performance efficiency and explains how to run queries on these views, retrieve results, and format them as JSON. The tutorial concludes with a demonstration of inserting sample data into the database and encourages readers to explore further development using Couchbase Lite views, with additional resources available on the author's GitHub page.
Jan 03, 2017 976 words in the original blog post.
In part 7 of the "Coffee on Couchbase" series, which focuses on building a NetBeans plugin for Couchbase, hosts Geertjan Wielenga and Eben Haber delve into various aspects of plugin development and the NetBeans platform. This episode discusses the design choices between using a modal window versus a status bar for bucket creation, the proper display of icons for newly created non-indexed buckets, and the renaming of the menu option to "Create Primary Index." The session also covers the "Explore from here" feature for nodes and buckets, default error handling by NetBeans for JSON document editing, and the ability to rename buckets within the NetBeans view. Additionally, there is a discussion on REST endpoint code generation using a bucket and a dialogue presentation for when JSON documents are edited or saved. The evolving code for this plugin can be found on GitHub, and the hosts encourage feedback and social media engagement using specific hashtags.
Jan 03, 2017 477 words in the original blog post.
Couchbase offers N1QL, a declarative query language that extends SQL for querying JSON document databases, allowing users to sort, filter, transform, group, and combine data from multiple documents with SQL-like syntax, including the use of JOIN operations. N1QL provides flexibility by eliminating the constraints of single-table data models, enabling complex data interactions within JSON documents. Users can learn more about N1QL through resources like the N1QL Tutorial and utilize tools such as the CBQ tool or Couchbase Query Workbench, which offers a graphical user interface for query development. To further assist users, Couchbase encourages participation in forums or social media for questions and updates.
Jan 03, 2017 369 words in the original blog post.
The text discusses various methods for monitoring Docker containers, focusing on simple and accessible options. It explains the use of a Couchbase server to gather data and highlights the `docker stats` command, which provides real-time statistics on CPU, memory, network, and disk usage for running containers. The text also covers Docker's Remote API, which allows for communication with the Docker daemon and can be accessed through tools like `curl` or Postman. Additionally, cAdvisor is introduced as a tool that collects and processes container metrics, offering integration with storage backends for long-term data retention. Lastly, the text mentions Docker Universal Control Plane (DUCP) as a management solution for Dockerized applications, emphasizing its features like RBAC, SSO integration, and an intuitive web UI to facilitate deployment and management within IT environments.
Jan 03, 2017 1,503 words in the original blog post.
Installing Couchbase on your local machine can be done through various methods and recipes are available for running it in the cloud as well, including digital ocean, jelastic, openshift, docker, bigstep, vagrant, kubernetes, joyent triton, amazon web services, microsoft azure, coreos and kubernetes. The couchbase cloud deployments provide detailed instructions on how to deploy couchbase in different cloud environments. There are many other hosting solutions where couchbase can be run, but the exact list of partners is not provided. Experienced users can share their experiences of running couchbase in the cloud through various channels like stackoverflow and forums.
Jan 03, 2017 123 words in the original blog post.
The Couchbase community has been active with significant developments and events, including the open-sourcing of WalmartLabs' OneOps cloud management tool, which enhances cloud technology management and portability. Couchbase celebrated notable growth and innovation in 2015, solidifying its position in the digital economy as a preferred database solution. The media has widely covered these developments, highlighting Walmart's OneOps as a transformative open-source platform. The community also engages through various events like Couchbase Days across multiple cities and webinars focused on building applications with the CEAN stack. Additionally, Couchbase's involvement in NoSQL market advancements and partnerships with companies like Amadeus and Google demonstrate its pivotal role in managing large-scale data operations.
Jan 03, 2017 679 words in the original blog post.
The blog explores the process of deploying Docker images using Docker Cloud, which was formerly known as Tutum. It highlights key features of Docker Cloud, such as authentication with Docker ID, integration with Docker Hub, and support for official Docker repositories, as well as the capabilities of deploying and scaling applications through various interfaces. The guide walks users through creating a new Docker Cloud Node and Service, specifically using Couchbase Server, an open-source JSON document database. It covers the installation of Docker Cloud CLI, setting up node clusters, deploying services, accessing Couchbase Server, and finally terminating services and nodes. The blog provides step-by-step commands and instructions, ensuring users can effectively manage Docker Cloud services on platforms like Amazon.
Jan 03, 2017 1,891 words in the original blog post.
The Couchbase community has been active, with various events and news shared across different platforms. A significant funding round of $30 million was secured by Couchbase, led by Sorenson Capital, to further expand its adoption. This investment comes amidst customer gains, as reported in media mentions such as the Wall Street Journal and The Register. The company has also been engaging with its community through blogs, new customer stories, upcoming events, webinars, and social media interactions, highlighting its focus on delivering reliable solutions for big data and NoSQL needs. Additionally, Couchbase is positioning itself as an alternative to traditional databases like Oracle and MySQL, emphasizing the benefits of modernizing infrastructure with NoSQL technologies.
Jan 03, 2017 519 words in the original blog post.
Part 2 of the "Coffee on Couchbase" series, featuring a discussion with Geertjan Wielenga and Eben Haber, focuses on building a NetBeans plugin for Couchbase. Despite issues with Geertjan's audio in the recording, the session covers key activities such as installing Couchbase, configuring it with a sample bucket, and running a Java EE application that queries documents from the Couchbase sample bucket. The webinar also demonstrates migrating the NetBeans plugin from Ant to Maven, displaying messages in the popup help menu, and connecting to the Couchbase server by double-clicking on the Couchbase node to display a status window message. The evolving code can be accessed on GitHub, and users are encouraged to report bugs or suggest new features for the plugin.
Jan 03, 2017 192 words in the original blog post.
The Couchbase Community has been active, with several events and news highlights. The community has seen notable appearances from members at Apps World North America, GeeCON, OSCON, and other conferences. Media outlets such as DZone, Business Wire, and arstechnica have featured articles about Couchbase, including new features like x.509 certificates and role-based access control in the latest version of the server. The community has also seen a surge in blog posts, whitepapers, webinars, and social media engagement, with topics ranging from performance optimization to security features and modern applications. Additionally, the community is gearing up for upcoming events such as Couchbase Day and Informatica World 2016.
Jan 03, 2017 586 words in the original blog post.
The third part of the blog series on running applications on Kubernetes focuses on setting up and managing a Kubernetes cluster on Google Cloud. The process begins with configuring Google Cloud SDK, creating a project, and setting up a Kubernetes cluster, which results in the creation of one master and four worker nodes. The blog then details running a Docker container within this cluster, specifically using a pre-configured Couchbase server image, and demonstrates how to expose this server to external access by creating a Kubernetes Service with a LoadBalancer. Finally, it provides instructions on shutting down the cluster, ensuring that all resources are properly deleted.
Jan 03, 2017 2,310 words in the original blog post.
Couchbase Docker images are available at hub.docker.com, with instructions for running a Couchbase Docker container provided on the Docker documentation site. A basic Couchbase Docker container can be started with a Docker command that sets up port mappings, and the server can be manually configured via the Web Console accessible through the Docker Host's IP address. For those who prefer a pre-configured server, there are Docker images like "arungupta/couchbase" that automatically configure memory, index, query, and data services, and set up credentials. The document also discusses the Couchbase 4.5 Developer Preview, which can be run in a Docker container with a specified image, and this version also offers a pre-configured option. Various Docker images are provided for different purposes, including the latest general availability (GA) version and intermediate builds like Developer Previews and Betas, with some images offering pre-configured setups for ease of use.
Jan 03, 2017 475 words in the original blog post.
Docker Toolbox is a single point download that provides a convenient way to get started with Docker, but it includes extra tools like VirtualBox and Kitematic. To install only the desired tools, users can use the command line interface (CLI) to select specific packages to install. For example, installing the latest Docker CLI involves downloading and installing the `docker-latest` package using a simple command. Alternatively, users can use Docker Version Manager or dvm to manage different versions of the CLI. Additionally, separate commands are available for downloading and installing the latest Docker Machine and Docker Compose. By following these steps, users can customize their installation process to suit their needs.
Jan 03, 2017 232 words in the original blog post.
The .NET SDK uses the NewtonSoft JSON Framework for serialization, and developers can use custom ContractResolvers to modify or ignore fields during serialization. A custom resolver allows developers to strip out metadata fields like "_id" from documents before inserting them into Couchbase. The resolver can be used in conjunction with extension methods to extract the key value for the "_id" field and ensure it is not persisted with the content. This approach enables developers to separate data from metadata, which is useful for optimizing storage and performance. By using a custom ContractResolver or an extension method, developers can achieve this separation easily, making it easier to work with Couchbase and its JSON document format.
Jan 03, 2017 896 words in the original blog post.
This blog explains how to run Kubernetes on a cluster, specifically focusing on using Vagrant for simplicity. It starts with setting up the Kubernetes cluster and then shows how to run a Docker container in Kubernetes using the `kubectl run` command. The example uses the `arungupta/couchbase` image as a pre-configured Docker container for Couchbase. The blog covers topics such as creating a replication controller, checking pod status, and exposing the Couchbase Web Console through a new service. The goal is to demonstrate how to deploy and manage a Couchbase application on a Kubernetes cluster.
Jan 03, 2017 1,059 words in the original blog post.
Windows Server 2016 is adding support for Docker containers with Technology Preview 5, which provides basic support for Docker. To configure and use Docker on Windows Server 2016, download the ISO from microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview and install it using VirtualBox. The installation process requires some tweaks to ensure that Docker containers can be started later. After installing, switch to Expert Mode to update default configuration settings, and create a new virtual drive from the downloaded ISO. During the installation, select the defaults and accept the license to complete the setup. Once installed, log in using the administrator account created during the installation process. As of this writing, the functionality and experience will evolve with subsequent blogs providing detailed instructions on configuring, building, and running Docker containers.
Jan 03, 2017 290 words in the original blog post.
The blog post provides a comprehensive guide on setting up Cross Datacenter Replication (XDCR) with Couchbase using Docker Swarm, Docker Machine, and Docker Compose, aiming to facilitate disaster recovery and improve data access speed by replicating data across geographically diverse data centers. It details the process of setting up two data centers on a local machine, creating Docker Swarm clusters, running Couchbase containers, and configuring a Couchbase cluster, culminating in the establishment of a one-way XDCR between two Couchbase clusters. The post also mentions using Consul as a discovery service for Docker Swarm nodes and includes scripts for creating, scaling, and rebalancing Couchbase clusters. Readers are directed to a GitHub repository for the complete code used in the blog, and the document concludes by highlighting the simplicity and efficiency of managing complex deployments with Docker tools.
Jan 03, 2017 1,839 words in the original blog post.
Docker Tutum is a SaaS platform designed to simplify the deployment and management of Docker containers across various cloud environments, offering a user-friendly alternative to Amazon's more complex Container Service setup. It features a free private registry for building and running code, a management system for scalable and fault-tolerant application clusters, and an intuitive dashboard with integrated logs and monitoring. Tutum's main concepts include node clusters, individual nodes, Docker containers, and services, which allow for easy scaling and management of applications. The platform aims to combine the simplicity of Platform as a Service (PaaS) with the flexibility of Infrastructure as a Service (IaaS), minimizing complexity and waste. A detailed guide is provided for deploying a Couchbase Docker container on Amazon using Tutum, including linking AWS credentials, creating node clusters, launching services, and accessing the Couchbase console, showcasing the practical application of Tutum's features.
Jan 03, 2017 753 words in the original blog post.
Couchbase has released version 2.0.2 of its .NET SDK, which includes several updates and enhancements to support N1QL DP4, a new REST API that incorporates features like prepared statements, named and positional parameters, and configurable timeouts. The release also updates the Common.Logging dependency to version 3.0, removing reliance on deprecated NuGet packages. Enhancements to the ClusterHelper and IBucket interfaces facilitate better management of bucket references in multithreaded environments by introducing methods such as IsOpen, GetBucket, and RemoveBucket. The ViewRow.Key property has been modified to a dynamic Type to better reflect JSON structures. The update aims to improve the overall usability and performance of the SDK, especially in environments like ASP.NET applications, while also fixing various bugs identified in previous versions.
Jan 03, 2017 1,653 words in the original blog post.
The latest updates from the Couchbase Community include a range of events and media coverage highlighting the advancements and applications of Couchbase technology. Upcoming events such as the Couchbase Meetup in Paris, Voxxed Days in Zurich, and various Couchbase Days across cities like Philadelphia, Phoenix, and London emphasize the community's active engagement. Media mentions in outlets like Telegraph UK and InfoWorld discuss the impact of Couchbase in businesses and technology, particularly in areas like mobile fraud and NoSQL database solutions. Blogs delve into technical aspects and innovations such as the Couchbase 4.5 Developer Preview, offering insights into new features like full-text search and sub-document APIs. Webinars scheduled for March 24 will focus on leveraging NoSQL for enhancing eCommerce customer experiences. The community is also encouraged to share any missed updates via social media, demonstrating a collaborative and dynamic environment.
Jan 03, 2017 516 words in the original blog post.
In an interview with David Haikney from Couchbase Engineering, the discussion centers on the new features introduced in the Developer Preview of Couchbase Server 4.1, emphasizing the enhanced flexibility and data manipulation capabilities of N1QL. The conversation explores what distinguishes version 4.1 from its predecessor, the concept of a Developer Preview, and how users can contribute to Couchbase. Key topics include the integration of full SQL syntax for data manipulation, the scope of SQL language support in N1QL, the handling of transactions, the use of prepared statements, and the functionality of covering indexes for efficient data querying. Users are encouraged to try the Developer Preview and provide feedback.
Jan 02, 2017 196 words in the original blog post.
JBoss EAP 7 Beta has been released, marking Red Hat's entry into the commercially supported Java EE 7-compliant Application Servers, joining IBM and Oracle. While WildFly has supported Java EE 7 for over two years, the commercial support of JBoss EAP 7 Beta is significant for broader enterprise adoption. The release also explores the integration of NoSQL databases like Couchbase, emphasizing the advantages of NoSQL over traditional RDBMS, such as schema flexibility, scalability, and reduced administrative costs. The text outlines how to set up a Java EE application deployed on JBoss EAP 7 Beta to interact with Couchbase, a document-based NoSQL database, via CRUD operations, using Docker for containerization and Maven for application deployment. The deployment process involves configuring Couchbase and deploying a Java EE application using the WildFly Maven Plugin, with instructions for accessing the application’s HTTP CRUD API, which interacts with JSON documents stored in Couchbase.
Jan 02, 2017 2,922 words in the original blog post.
OpenShift 3, an open-source PaaS platform by Red Hat, offers a comprehensive environment for running applications using Docker and Kubernetes, facilitating the deployment of applications with minimal effort. The text provides a step-by-step guide to getting started with Couchbase on OpenShift 3, including downloading and configuring the necessary tools like the Vagrant box and OpenShift client, setting up virtual machines, and deploying a new Couchbase instance. By using the Docker image "arungupta/couchbase," users can configure the Couchbase server with essential parameters such as memory quota, service credentials, and a sample bucket for querying data. The guide also covers basic operations like verifying deployment status, managing pods, and querying the Couchbase sample bucket using the Couchbase Query CLI, promising further tutorials on deploying applications, scaling, and making applications accessible outside of OpenShift.
Jan 02, 2017 1,310 words in the original blog post.
The application uses Couchbase Server as the central repository of data, while using Couchbase Sync Gateway to synchronize data between mobile devices in real-time. The Node.js application uses a RESTful API to interact with both Couchbase Server and Couchbase Sync Gateway. The application has two endpoints: one for listing data from Couchbase Server and another for creating data that is then synced to Couchbase Server through Couchbase Sync Gateway. The application demonstrates how to use the Couchbase SDKs in Node.js to interact with a Couchbase Server cluster, as well as using Couchbase Sync Gateway to synchronize data between mobile devices.
Jan 02, 2017 2,069 words in the original blog post.
N1QL is a modern query processing engine developed for Couchbase's distributed architecture, designed to provide SQL capabilities for document-based data models like JSON. The blog discusses the query planning phase in N1QL, detailing how queries are executed on Couchbase's clustered database system. N1QL queries are submitted to query nodes, which analyze and create optimal execution plans using metadata and indices, with operations performed in parallel for efficiency. The query execution process includes keyscan, primary scan, and index scan access methods, with nested loop access for joins. The blog highlights the importance of access path selection, join methods, and order in query planning, offering examples of how different access methods and indices influence performance. The planner decides on access paths, join order, and types, executing some operations in serial and others in parallel. Examples demonstrate the use of keyspace indices and join operations to efficiently retrieve and manipulate data, emphasizing the significance of understanding document keys and data modeling in constructing effective N1QL queries.
Jan 02, 2017 1,917 words in the original blog post.
Couchbase 4.1 has been released, offering significant updates such as comprehensive SQL CRUD support with N1QL for batch and OLTP applications, as well as covering indexes and prepared statements. The release supports additional platforms and introduces a Docker setup for easy deployment using a pre-configured Docker container, which can be started with a simple docker-compose command. This setup allows users to configure the server using Couchbase's REST API, set memory and index quotas, and install a sample bucket for testing purposes. Users can access the Couchbase query tool through a command line interface connected to the server and can easily stop and remove the container as needed. For further information on the new features and enhancements, users are encouraged to consult the official Couchbase Server 4.1 documentation and participate in community forums for additional support.
Jan 02, 2017 2,000 words in the original blog post.
The Couchbase .NET SDK version 2.1.0 introduces the ability to override the default JSON serializer, NewtonSoft.NET, with a custom serializer by extending the ITypeSerializer interface. This update allows developers to implement faster JSON serializers like Jil, which offers performance enhancements by optimizing memory allocation and access. Implementing a custom serializer involves creating a new ITypeSerializer implementation and configuring the ClientConfiguration to use this serializer. Jil, based on the Sigil IL generation library, efficiently handles serialization tasks by employing strategies such as avoiding allocations and optimizing CPU operations. The process of setting up a custom serializer is straightforward, requiring adjustments to the ClientConfiguration or utilizing configuration files like Web.Config. The enhancement aims to provide flexibility and improve performance in serialization tasks within the Couchbase .NET environment.
Jan 02, 2017 1,374 words in the original blog post.
The text provides a comprehensive guide on creating a mobile application using Ionic 2, PouchDB, and Couchbase Sync Gateway to synchronize data across devices. The author explains that while Couchbase Lite is typically used with Ionic for data synchronization, PouchDB offers an alternative approach by directly connecting to Couchbase Sync Gateway, thereby simplifying the setup. The guide outlines the requirements, including Node.js, Ionic Framework, and necessary SDKs, and details the process of creating a simple todo list app. It covers the configuration of Couchbase Sync Gateway, installation of necessary libraries like PouchDB and UUID, and the development of an Angular 2 shared provider for managing database operations. The author emphasizes best practices in Angular 2, such as using a shared provider to maintain a singleton database instance and implementing a two-way sync to handle data changes. The document concludes with instructions on setting up the user interface with Ionic components and testing the application, offering a GitHub repository for reference.
Jan 01, 2017 2,417 words in the original blog post.