Couchbase 5.5 Beta Features
Couchbase 5.5 Beta Features
Learn about the new features in Couchbase Server 5.5 Beta, which introduces several new enterprise features like agility, performance, and manageability.
Join the DZone community and get the full member experience.Join For Free
Running out of memory? Learn how Redis Enterprise enables large dataset analysis with the highest throughput and lowest latency while reducing costs over 75%!
Couchbase Server 5.5 Beta was released this week.
For a detailed overview of major features, and download instructions, see the full announcement blog post here.
Some of the highlights in the release include the following:
ANSI Joins in N1QL
Couchbase extends SQL to support JSON data natively via N1QL queries. N1QL now has support for ANSI joins making it easier to migrate applications from relational databases to Couchbase. Here is the kind of
JOIN syntax you are used to using, which is now available:
SELECT DISTINCT route.destinationairport FROM `travel-sample` airport JOIN `travel-sample` route ON airport.faa = route.sourceairport AND route.type = "route"
ANSI joins support improved data modeling capability and flexibility with Couchbase. Since you can join based on arbitrarily complex expressions, business requirements can be coded and translated effectively and efficiently. ANSI syntax has been extended to join on both scalars and arrays. Read: ANSI join support in N1QL blog.
Couchbase Eventing Service
The Eventing Service lets customers process changes to data as they happen in near-real-time. Couchbase Functions is the first offering under the Couchbase Eventing Service that enables you to write server-side functions that are automatically triggered using the familiar Event-Condition-Action model.
Couchbase Analytics Service
Couchbase Analytics Service (currently in Developer Preview) enables you to analyze JSON data in real-time without the need to extract, transform, and load (ETL) your data into a separate system. It allows you to develop insight-driven applications quickly and easily using the same SDKs. It removes the need for ETL and the complexity of managing a separate analytics system. Couchbase’s unique architecture for multi-dimensional scaling (MDS) allows operational and analytical queries to run concurrently without impacting one another, providing the workload isolation required for production deployments. Read: Configuring Couchbase Analytics blog.
One of the key advantages of a declarative query language like N1QL is that the system can optimize and improve the query plans and execution without changing the applications. Since the introduction of N1QL, Couchbase has improved query performance by orders of magnitude, and with aggregate optimization, the query engine leverages the indexes to perform aggregate calculations to improve the performance of queries by another order of magnitude. Your existing aggregate queries, with matching indexes, will simply run faster. Read: New Querying Features In Couchbase 5.5 blog.
With support for index partitioning, you can now index a large number of documents and horizontally scale out an index as needed. The system will partition the index across a number of index nodes using hash partitioning. Index partitioning is transparent to queries; one does not have to update the queries when changing the index partitioning strategy. Read: New Index Service Features in 5.5.
With end-to-end compression from client to storage, Couchbase significantly reduces the cost of network, memory, and storage required for your existing workloads. Documents are transparently compressed when transferred between the clients and the servers, in the server cache, and on disk. Documents are also compressed when transferred between clusters across datacenters. Read: Store more for less using data compression.
Deploying and Managing Couchbase at Scale With Kubernetes
An open-source system for deploying, scaling, and managing containerized applications, Kubernetes handles the work of scheduling containers onto a cluster and manages the workloads to ensure they run as the user intended.
By leveraging the latest features from Kubernetes to support stateful applications, users can leverage their investment in Kubernetes and containers to easily deploy and manage Couchbase clusters at scale. In addition, a close partnership with Red Hat is bringing all of this capability to OpenShift.
Couchbase further improves high availability for mission-critical deployments and reduces operator intervention. Couchbase enhances the detection of common disk failures and automatically fails over the node with bad disks saving operators time and energy. It also handles multiple server failures based on the replica count to avoid data loss, and can fail over an entire server group if a rack or zone is not available. Read: Auto-Failover Features in Couchbase Server 5.5.
Couchbase continues to extend its support for security to enable enterprises to meet increasing security compliance requirements such as the EU’s General Data Protection Regulation (GDPR), effective May 2018. X.509 certificate authentication has been extended beyond key-value data access to query and search services for all SDKs.
There is also support for field-level encryption in the SDKs to protect sensitive user data. System auditing is also able to track all admin and non-admin access, the including auditing of query statements. Read: Auditing N1QL Query Statements blog and GDPR: Businesses must focus on digital transformation, not just tick-box compliance blog
Response Time Observability
With response time observability, you now have telemetry for monitoring how well your Couchbase cluster is meeting your application SLAs. In your application, you can set thresholds to allow you to log operations based on performance. You can correlate timing information from the client through to the server and back to quickly triage performance issues and help identify the root cause of performance issues. The performance of operations is exposed via methods you are already familiar with in the Couchbase SDK. Integration with OpenTracing is now also possible. Read: Building an Observation Deck.
With the explosion of mobile and IoT devices, enterprises are seeing an increasing percentage of their user traffic coming from IPv6. Many large enterprises are starting to deploy IPv6 infrastructure to support these IPv6 devices. IPv6 support has now been added across the Couchbase Data Platform. Read: IPv6 Galore blog.
For information on more features and download details, see the 5.5 Beta announcement blog post here.
Opinions expressed by DZone contributors are their own.