December 2014 Summaries
226 posts from Couchbase
Filter
Month:
Year:
Post Summaries
Back to Blog
The AnDevCon in Burlingame, California, was an exciting event for Android developers, coinciding with the release of Android 5.0 Lollipop. Highlights included Google Play Services 6.5 and sessions like Chuck Greb's on open-source mapping solutions, showcasing alternatives to Google Maps. The conference emphasized open-source technologies enhancing user experience and offered insights into mobile databases like Couchbase Mobile, which enables offline capabilities and cross-platform data synchronization. Keynote speakers Reto Meier and Chet Haase discussed the Android ecosystem's opportunities and introduced Google Material Design features, including Elevation Shadow and Touch Ripple, promising enhanced user interface interactions. Couchbase Mobile engaged attendees with prizes and demonstrations of their mobile solutions, underscoring the importance of open-source developments in mobile app creation. The event concluded with excitement for the next AnDevCon in Boston and ongoing engagement through social media updates.
Dec 24, 2014
450 words in the original blog post.
Couchbase Server 3.0.2 is now available, offering significant enhancements over its predecessor with improvements in performance, scalability, and data security, making it robust for enterprise production use. The release has optimized the storage engine, enhanced view maintenance performance, and improved cross-data-center replication (XDCR) latency, particularly on platforms like Windows, where view indexing performance has increased by over 500%. Enhanced data security measures include the removal of SSLv3 to counter the Poodle vulnerability and improved port regulations for safer data transmission. The update also provides a seamless upgrade experience, improved durability latency, and reduced resource utilization for tools like backup, encouraging users to adopt this latest version to maximize their system's efficiency and security.
Dec 24, 2014
538 words in the original blog post.
The new Couchbase .NET SDK has been released for General Availability, featuring a complete rewrite that aligns with the Couchbase SDK 2.0 Specification to ensure compatibility across platforms, such as .NET and Java, without transcoding issues. The release includes features from previous Developer Previews and Betas, such as asynchronous views, N1QL ad-hoc query support, and a new Document API, and introduces new functionalities like replica read support and improvements to the View API for easier POCO serialization. The update also stabilizes the core with numerous bug fixes and improvements, though it currently lacks support for asynchronous operations using the Task Asynchrony Pattern, which is expected later. The SDK can be accessed via NuGet, S3 direct downloads, or GitHub.
Dec 24, 2014
875 words in the original blog post.
Thanksgiving often pairs with turkey, but the analogy extends to the challenges of storing JSON in relational databases, which can be cumbersome and inefficient due to differences in data models and architecture. While relational databases require a rigid schema for data insertion, JSON support in these systems is often limited to extensions on top of existing technology, leading to an impedance mismatch. In contrast, NoSQL databases like Couchbase offer native support for JSON, allowing for schema-free, flexible, and easy-to-use data structures that adapt effortlessly to changes without requiring schema updates. JSON documents in Couchbase are self-contained, can store complex and nested data types, and are automatically sharded across clusters to ensure reliability and efficiency. Couchbase also supports indexing and querying with N1QL, a SQL-like language, making it an attractive choice for developers working with complex data or building new applications that generate JSON documents. This positions NoSQL as a viable alternative to relational databases, particularly in scenarios involving operational data collection from users, systems, or social networks.
Dec 24, 2014
588 words in the original blog post.
Reliable performance at scale is essential for data-centric systems, and a Proof-of-Concept (POC) model is often used to ensure successful system deployments by simulating the system environment and workloads. This approach helps stakeholders understand implementation, benefits, business impact, and developer experience while providing insights into operational support. The creation of datasets for POCs can be achieved by exporting data from existing systems and converting it into JSON structures or by using online tools like generatedata.com to create sample data. Care must be taken with dataset size due to the concurrent nature of Node.js processes. Utilizing these datasets, technology professionals can better understand and leverage Couchbase systems, with future exploration into Couchbase views and the query language N1QL promising to simplify development efforts.
Dec 24, 2014
488 words in the original blog post.
The text discusses the testing of Couchbase's performance in a Pure Storage lab environment, highlighting the impressive results of an 8-node cluster handling a sustained workload of 1 million writes per second using small, 64-byte documents. This setup, utilizing the pillowfight tool, showcased the storage system's capability without significantly taxing the Pure Storage array. A test harness and load generator based on Node.js were used to simulate real-world workloads, like a user profile store, achieving a sustained rate of 400,000 writes per second and generating close to 500 million users rapidly. The Pure system's efficient de-duplication technology, operating at a 512-byte granularity, demonstrated an impressive 1.6 to 1 de-duplication ratio, even with random data, and the tests revealed that CPU limits were reached before storage capacity was exhausted. The results underscore the potential for further benchmarking and the effectiveness of Pure's technology in enhancing Couchbase's performance.
Dec 24, 2014
640 words in the original blog post.
The recent release of version 1.3.6 of the .NET SDK by Couchbase focuses on bug fixes and maintenance, with significant contributions from the community, which are highly valued in this open-source project. Key improvements include fixing a bug related to missing username and password in API calls, adjusting the verbosity of logging in the heartbeat component, addressing clock drift issues between client and server, and enhancing the disposal process of internal components to prevent NullReferenceExceptions. Despite fewer new features in the 1.X series due to a development shift towards the 2.X series and a new LINQ provider in anticipation of Couchbase Server 3.0, developer previews have been released, with more updates expected soon.
Dec 23, 2014
480 words in the original blog post.
The author discusses their passion for open source philosophy and distributed databases, particularly highlighting their involvement with Couchbase Server, a distributed database system. They explore how various organizations and projects have embraced open source principles by integrating Couchbase Server with different technologies and platforms, as evidenced by numerous repositories on GitHub. These integrations span a wide range of use cases, including streaming data with Apache Kafka and Flume, caching with Hibernate, cloud deployment with Cloud Foundry and Docker, and big data processing with Hadoop and Elasticsearch. The text underscores the widespread adoption and flexibility of Couchbase Server across diverse sectors, from Internet of Things applications to DevOps and monitoring solutions.
Dec 23, 2014
395 words in the original blog post.
Cookie Jam by Social Gaming Network (SGN) has achieved remarkable success on Facebook, becoming the platform's Game of the Year within 8 months of its launch, supporting 5 million players. To meet this growth, SGN leveraged NoSQL technology, specifically Couchbase Server, to ensure high performance and availability. This enabled the app to scale without downtime or degradation, supporting millions of users. The company plans to release multiple games a year, focusing on agility, flexibility, and efficiency. Additionally, Couchbase Mobile provides a cross-platform solution for developers to build social, mobile games faster, with features like embedded databases and synchronization gateways. NoSQL technology is seen as key to the future of social, mobile gaming.
Dec 23, 2014
553 words in the original blog post.
The latest release of the Couchbase .NET Client version 1.3.X focuses on bug fixes and performance improvements, particularly in scenarios involving adding or removing nodes and rebalancing. Key fixes include addressing misleading maximum and default locking times, correcting documentation to refer to the correct DLL file, and ensuring Markdown links are properly rendered. Additional patches resolve issues such as infinite timeouts for expiration times under one second, IRI parsing errors on Mono, and problems with PagedView when the page size exceeds the number of results. Modifications have also been made to reduce the verbosity of logging in INFO mode by shifting some logs to DEBUG level. The release acknowledges the contributions of the open-source community in enhancing the SDK's functionality.
Dec 23, 2014
411 words in the original blog post.
As a developer, you might want to quickly check out the programming API's in your favorite language and build your app. This can be achieved by referencing a refcard for the most commonly used programming languages. A refcard provides a quick list of the APIs when needed. The Couchbase Refcard on DZone is a handy reference guide for developers using Java, .NET or Ruby to develop their Couchbase apps. It offers a concise and easily accessible resource for building applications with Couchbase.
Dec 18, 2014
125 words in the original blog post.
Understanding and managing runtime errors is crucial for any application, and this blog discusses how to handle such errors in apps using libCouchbase-derived clients, which include Ruby, PHP, Python, and C/C++. These smart clients are aware of cluster topology, which allows them to provide better performance and availability by routing requests automatically to the correct Couchbase server during node failures or additions. The blog emphasizes the importance of checking error codes returned by libcouchbase clients to ensure applications can handle errors gracefully, offering insights into various error codes such as LCB_AUTH_ERROR, LCB_E2BIG, and LCB_NETWORK_ERROR, among others, and providing guidance on appropriate responses. It highlights that applications can convert error codes into strings using the function lcb_strerror(), which aids in understanding and troubleshooting errors. Overall, the blog stresses diligent error checking to maintain app functionality and prevent misinterpretations of Couchbase's performance.
Dec 18, 2014
1,222 words in the original blog post.
The blog post provides an in-depth analysis of the Couchbase Java SDK, focusing on its internal workings and advanced features for experienced users. It elaborates on how the SDK leverages the spymemcached library, adding functionalities like automatic cluster topology management and support for Views. The article dissects the SDK's operation through the phases of bootstrap, operation, and shutdown, detailing the process of establishing connections to cluster nodes, managing streaming connections, and handling operations across stable and rebalancing clusters. Key technical elements include handling asynchronous operations, utilizing the non-blocking Java NIO framework, and managing cluster topology changes through reconfiguration processes. The post also contrasts Couchbase and Memcache type buckets, explaining differences in handling sockets and operations, and concludes with a note on planned enhancements and a forthcoming discussion on error handling.
Dec 18, 2014
3,152 words in the original blog post.
The Java SDK for Couchbase has multiple logging frameworks available, including the simple default logger, SunLogger (based on java.util.logging), Log4J, and SLF4J. The SDK supports logging to STDERR from INFO level up, as well as to external loggers like Log4J and the SunLogger. To switch between these logging mechanisms, users can set a system property or use a Java command-line argument. Each logger has its own mapping of log levels, so some level mappings may not be available for all loggers. The SDK will support SLF4J in future releases, allowing users to plug in their preferred logging framework.
Dec 18, 2014
1,731 words in the original blog post.
The blog article focuses on the exceptions encountered when using the Java client library for Couchbase, contrasting them with errors observed in other libCouchbase clients like Ruby, Python, C, and C++. In Java, exceptions arise depending on the return type and application state, and are often noted through @throws annotations or indicated by IDEs. Asynchronous operations return futures and do not raise exceptions until the result is blocked, while synchronous APIs wrap around asynchronous methods and often throw exceptions like TimeoutException, CancellationException, and InterruptedException. When using views, InvalidViewException may occur due to an invalid view name or an undeployed view, while persistence verification can lead to exceptions like ObservedException, ObservedTimeoutException, and ObservedModifiedException, reflecting issues like timeouts or race conditions. During application bootstrapping, ConfigParsingException and network-related exceptions might also be encountered. The article concludes by encouraging developers to seek help in forums if needed.
Dec 18, 2014
531 words in the original blog post.
The text outlines the roles of Apache Hadoop, Apache Storm, and Couchbase Server in handling big data, fast data, and the combination of volume, velocity, and variety, respectively. Apache Hadoop is compared to a warehouse efficient for storing large data sets for analytics, while Apache Storm acts like a conveyor belt, processing data streams in motion. Couchbase Server is presented as a solution bridging the gap between the two, efficiently managing data through its NoSQL capabilities. Three real-time big data architectures are proposed, each involving different interactions between these technologies, demonstrating the flexibility and customization available to architects when designing efficient data processing solutions. The text emphasizes the creative aspect of building these architectures, likening it to assembling Lego pieces, and highlights examples of companies successfully utilizing these technologies.
Dec 17, 2014
637 words in the original blog post.
The recent discovery of a serious vulnerability in the OpenSSL library, known as the Heartbleed bug, has raised concerns about security. However, Couchbase Server is not affected by this bug since it does not utilize the vulnerable functionality of OpenSSL. Although users may need to patch other services running behind their Couchbase Server and refresh SSL certificates, Couchbase itself remains secure.
Dec 17, 2014
329 words in the original blog post.
The Internet of Things generates continuous, semi-structured data that flows into stream processors and databases, rather than big data platforms, which are engineered for discrete, unstructured data. This presents challenges for the database, including handling the rate of data flow and the number of data flows, as there are billions of connected devices generating vast amounts of data. Couchbase Server is mentioned as a solution that supports semi-structured data, scalability through its distributed architecture, and global reach with cross-data center replication, increasing operational efficiency and reducing costs and time to market for intelligent enterprises.
Dec 17, 2014
702 words in the original blog post.
A webinar hosted by the author will feature William McKnight, founder of McKnight Consulting Group and Gigaom Research analyst, alongside Anil Madan, Senior Director of Engineering at PayPal, focusing on the evaluation and application of NoSQL databases in enterprises. William will present his NoSQL Evaluator’s Guide, which outlines a framework for assessing NoSQL databases, beginning with an overview of the technology and concluding with evaluation criteria. Anil will discuss how PayPal utilizes NoSQL technology in key areas such as ad targeting, cookies, and real-time analytics, detailing the technical requirements and architecture that integrate NoSQL with Apache Storm and Apache Hadoop. The webinar will also include a moderated discussion between William and Anil, and conclude with a Q&A session addressing topics like NoSQL and big data, and enterprise scalability.
Dec 17, 2014
165 words in the original blog post.
Shane K Johnson, who previously served as Director of Product Marketing at Couchbase, has a background in Java and distributed systems and experience in various roles related to development and evangelism. He has worked with organizations across several industries, including financial, retail, telecommunications, and media, to design and implement data-driven architectures that leverage distributed systems for analysis.
Dec 17, 2014
72 words in the original blog post.
TuneWiki, a leading app on Spotify known for its extensive database of scrolling lyrics, utilizes Couchbase Server to enhance its social music experience for millions of users globally. By transitioning from MySQL and memcached to Couchbase, TuneWiki streamlined its backend architecture, achieving predictable performance and simplifying data management, which includes storing lyrics, timelines, and user-generated content. With over a billion data objects and a system running at more than 10,000 operations per second, TuneWiki leverages Couchbase's capabilities to handle its vast and dynamic data needs efficiently. The app benefits from Couchbase's ease of scalability and performance, with features like views in Couchbase Server 2.0 offering potential improvements in data housekeeping and application functionality. Co-Founder Chad Kouse emphasizes the effectiveness of Couchbase for both small and large-scale projects and encourages developers to utilize available resources and community support.
Dec 17, 2014
817 words in the original blog post.
At the Couchbase London meet-up in October, Julien Gagnet from BSkyB discussed the implementation of Couchbase in their SkyiD user profile service, highlighting the evolution of this service for Sky, Europe's largest pay TV provider with over 11 million customers in the UK and Republic of Ireland. He elaborated on the decision-making process behind choosing Couchbase for their needs. The upcoming meet-up on November 17th will concentrate on Couchbase Mobile, featuring Jakob Hoydis, CTO of Spraed, who will share insights on developing a content-sharing app for iOS and Android using this technology, inviting participants to sign up for the event.
Dec 17, 2014
104 words in the original blog post.
The announcement details the release of an updated Couchbase Plug-in for Elasticsearch, compatible with Couchbase Server 2.5.1 and Elasticsearch 1.0.1, recommending users upgrade to plug-in version 1.3.0 for seamless integration. It provides links for downloading, installing, and configuring the plug-in, along with release notes and additional resources. Additionally, the text includes user queries regarding configuring the TOML file for specific document types and selectively sending subsets of fields from Couchbase to Elasticsearch using Couchbase's eventing capabilities, highlighting practical implementation challenges and seeking further guidance.
Dec 17, 2014
185 words in the original blog post.
A live auction application was developed for the Couchbase Connect Conference to demonstrate the capabilities of Couchbase 3.0, focusing on real-time data consistency across different data centers using bidirectional replication (XDCR). The application was created with Node.js, Couchbase SDK 2.0, and Bootstrap, and was designed to be completed within four days to showcase the agility of development with Couchbase. It featured an auction spread over two web servers in Salt Lake City and London, maintaining data consistency at wirespeed using the new DCP protocol. User interaction was managed through session cookies and a RESTful API, allowing multiple users to participate in bidding with dynamic updates via jQuery AJAX polling. Administration tasks such as resetting and controlling auction states were executed using curl commands, though the application was hard-coded and lacked secure access, serving primarily as a proof of concept. The source code was made available on GitHub for public scrutiny, and the demonstration utilized c3.4xlarge instances on AWS with Couchbase Server 3.0 installed with default settings to achieve high performance.
Dec 17, 2014
1,012 words in the original blog post.
This summary provides an overview of the consistency and performance trade-offs in MongoDB and Couchbase Server. In MongoDB, data is consistent but read performance can be limited due to asynchronous replication by default, while synchronous replication improves write performance at the cost of reduced read performance. In contrast, Couchbase Server consistently delivers high read and write performance across all nodes, thanks to its partitioning and replication strategy where every node acts as both a primary and secondary node, allowing for efficient distribution of write operations. While MongoDB requires more nodes to achieve similar performance, Couchbase Server's approach enables it to execute more writes per node, leveraging the full potential of its cluster.
Dec 17, 2014
376 words in the original blog post.
As developers, you likely use cloud infrastructure platforms for application deployment, driven by factors such as elasticity, agility, and cost savings. To avoid vendor lock-in, your app needs cloud portability, allowing seamless migration to any cloud without modifications. The Cloudify recipe for Couchbase provides a flexible way to deploy applications to various cloud infrastructures, specifying deployment configurations and enabling easy testing and deployment. Additionally, the Cloudify widget offers a simple way to get started with deploying Couchbase and testing your app, although it may not provide the full experience of a complete cloud deployment.
Dec 17, 2014
298 words in the original blog post.
The blog post describes the author's experience in quickly setting up a four-node Couchbase Server cluster using Vagrant and Puppet, tools that automate the creation of virtual machines and software provisioning. The author, part of Couchbase's engineering team, needed a cost-effective and efficient way to simulate varied server deployments without the high expenses of using EC2. By configuring a Vagrantfile with Ruby code, specifying details such as the number of nodes, memory allocation, and IP addresses, the author successfully created a cluster within 30 minutes. Puppet was used to automate the installation of Couchbase Server on Ubuntu virtual machines. The author highlights the ease of provisioning servers, the convenience of using version control for configuration files, and shares tips for new users, including accessing the Couchbase clusters via a web browser at designated IP addresses.
Dec 17, 2014
1,465 words in the original blog post.
Clickspace has developed a digital signage platform tailored for the hospitality sector, aiming to enhance customer engagement and entertainment, with Couchbase Server playing a central role in its functioning. Alek Mlynek, the CTO of Clickspace, discusses how the platform, particularly Clickspace TV, leverages Couchbase to offer innovative solutions like a predictive gaming app that interacts with live sports. This app stores a variety of data in Couchbase, such as player actions, scores, and chat data, benefiting from Couchbase's flexibility, scalability, and high performance. Mlynek emphasizes the importance of proper data modeling and utilizing views in Couchbase to optimize its capabilities. Looking ahead, Clickspace plans to extend its platform to support multiple sports and incorporate more social features, confident in Couchbase's robust backend support.
Dec 17, 2014
748 words in the original blog post.
Couchbase Server 2.5 introduces advanced features for enhancing high availability and disaster recovery, crucial for maintaining mission-critical applications with minimal downtime. Notable among these is "Rack Awareness," which ensures that replica data partitions are stored on different physical racks from their primary counterparts, allowing the system to remain operational even if an entire rack fails. Additionally, Couchbase supports cross datacenter replication, enabling active-active data replication across geographically dispersed datacenters, a vital feature for disaster recovery. These capabilities, along with enhanced security and connection management, make Couchbase Server 2.5 a robust solution for enterprises aiming to safeguard their applications against various forms of system failures.
Dec 17, 2014
913 words in the original blog post.
The blog post discusses updates in the Couchbase Java SDK, specifically focusing on enhancements made in version 1.2.1. Key changes include the distribution of the SDK from Maven Central, eliminating the need for the Couchbase repository, and introducing listener support for non-blocking asynchronous operations. It also details the ability to customize the ExecutorService for better resource management across multiple CouchbaseClient instances. Enhanced profiling capabilities are available through integration with the Codahale metrics library, which provides various options for performance monitoring. The SDK now includes a CAS method that allows simultaneous update and expiration setting, improving efficiency. Additional updates include a reduction in PersistTo latency to 10ms for performance improvements and automatic use of CRAM-MD5 authentication if supported by the server.
Dec 17, 2014
872 words in the original blog post.
The text announces the release of Developer Preview 3 (DP3) of N1QL, a query language from Couchbase, highlighting its significant enhancements for creating complex data applications. The notable feature of this release is the introduction of JOIN operations, which enable the combination of related data objects, such as Customers and their Purchases, using INNER and OUTER joins. Additionally, the release includes NEST and UNNEST clauses for handling data in various structured formats, along with new array functions that simplify document model development. Users are encouraged to explore the documentation and utilize resources like a blog by Don Pinto and an online tutorial for further learning, while also registering for an upcoming N1QL webinar for more insights.
Dec 17, 2014
326 words in the original blog post.
A hybrid cloud deployment for a NoSQL database can be set up where the master deployment resides on-premise or in the cloud, with a standby deployment residing in the opposite location. This setup enables high availability and allows for failover to the standby deployment in case of an outage. The operational applications read and write to one deployment while the analytical applications read and write to another deployment, separating concerns and improving efficiency. Additionally, a cloud burst model can be used where the master deployment resides on-premise but expands to include nodes running in the cloud, allowing for scalability and flexibility. A hybrid cloud setup with multiple cloud deployments can also be implemented, using two-way synchronization and incremental updates, providing high availability at both infrastructure and enterprise levels, and increasing business agility.
Dec 17, 2014
634 words in the original blog post.
Replication is a critical component of distributed database architecture, influencing data consistency and availability. In a master/slave architecture, writes occur on master nodes and are replicated to slave nodes, with reads executed on master nodes if consistency is required, which leads to inefficiencies as most nodes remain passive. A masterless setup involves executing writes on multiple nodes and requires multiple inter-node communications, resulting in increased latency and reduced throughput. The primary owner model combines elements of both architectures, allowing reads and writes on a primary node, which is replicated across other nodes, similar to a master/slave system, but with every node acting as a primary node, akin to a masterless design. This model attempts to balance consistency and efficiency, addressing the limitations found in the other two designs.
Dec 17, 2014
316 words in the original blog post.
Alex Heneveld, CTO of Cloudsoft, is set to introduce Apache Brooklyn and demonstrate its application in deploying Couchbase Server to Amazon Web Services using Cloudsoft Application Management Platform (AMP), a commercially supported version of Apache Brooklyn. Apache Brooklyn is a framework designed to model, monitor, and manage applications through autonomic blueprints, facilitating full-stack application composition and deployment across cloud and non-cloud environments. It is particularly effective for deploying NoSQL applications to various cloud infrastructures, including private, public, or hybrid setups. The framework supports integration with popular tools such as Docker, Chef, Salt, APT, and YUM for deploying NoSQL databases to platforms like AWS, GCE, or OpenStack. An upcoming webinar titled "DevOps Meets Cloud" will provide insights into automating the provisioning and deployment of NoSQL databases to cloud infrastructures, scheduled for August 28th at 10:00 AM PDT.
Dec 17, 2014
188 words in the original blog post.
Couchbase recently conducted various activities, including a hangout session where Matthew, Phil, and Michael introduced the 2.0 SDKs, emphasizing the Java and NodeJS versions. Phil also presented at the Cologne NoSQL meet-up about developing a NodeJS game with Couchbase. Additionally, there is an initiative called Couchdoop aimed at creating an alternative Hadoop connector for Couchbase and efforts to run Couchbase Lite on a Raspberry Pi using a JRuby app. Upcoming events include the Couchbase Connect conference in San Francisco from October 6th-9th and a Dublin NoSQL meet-up on July 14th, where Couchbase Mobile will be demonstrated on various devices. Couchbase is hiring, particularly seeking Developer Advocates in Berlin, Tel Aviv, Seattle, the Bay Area, and a .NET specialist, reflecting its status as a rapidly growing NoSQL company.
Dec 17, 2014
179 words in the original blog post.
Indexes in Couchbase are a versatile tool for backend processing, enabling dynamic querying and selectivity, particularly useful in applications like inventory control systems. By leveraging a well-defined data model alongside Couchbase's indexing capabilities, users can create applications that perform decision tree-type aggregations and offer a high degree of query selectivity. Parameters such as key, startkey, and include_docs allow for flexible querying experiences. The text illustrates how an index, titled "catalogue," is built to emit data based on attributes like vendor, category, and discount, allowing targeted queries, such as retrieving items from a specific vendor or those with discounts. The system's ability to produce selective outputs and its integration with dynamic parameters enhances its functionality, demonstrated through examples from a clothing store inventory system, where specific queries return distinct sets of data, including entire documents when required.
Dec 17, 2014
752 words in the original blog post.
Couchbase Server 3.0 marks a significant milestone in the company's history, featuring a strengthened core architecture and introducing new capabilities focused on five major areas: scalability and performance, enhanced availability and disaster recovery, secure communication, simplified administration, and developer empowerment. The release has been well-received during its beta phase, garnering positive feedback from the community and early adopters. To further engage users, Couchbase invites interested parties to learn more through their Connect Conference and a series of webinars that will provide product tours and live demonstrations. Additional resources, including release notes and documentation, are available online for those interested in exploring the new features in detail.
Dec 17, 2014
195 words in the original blog post.
Couchbase has released version 3.0.1 of its Server, following the major 3.0 update that introduced several new features. This latest release primarily focuses on making the software generally available on the Windows platform and reinforcing the previous version by incorporating user and customer feedback. The company encourages users currently operating on version 3.0 to upgrade to 3.0.1, which is available for download, and invites them to provide feedback on their experience with the new iteration.
Dec 17, 2014
117 words in the original blog post.
The convergence of mobile technology, IoT/M2M, cloud computing, and big data is epitomized by the Internet of Everything, with the smart refrigerator serving as a prime example. This appliance not only collects a vast array of data, such as sensor readings and user behavior, but also seamlessly interacts with mobile applications to manage and monitor its operations, like adjusting temperature settings or updating grocery lists. The integration of cloud technology facilitates global connectivity, enabling smart devices to engage in new business models like B2E and E2B, where they act as intermediaries between consumers and businesses. For instance, a smart refrigerator can autonomously purchase groceries from AmazonFresh, notify manufacturers like GE for repairs, and interact with retailers such as Abt Electronics to schedule maintenance, thereby embodying the BCB model. This paradigm shift underscores the potential for machines and things to operate as consumer proxies in business transactions, reflecting a significant evolution in how commerce and daily activities are managed.
Dec 17, 2014
497 words in the original blog post.
This blog post addresses FUD (Fear, Uncertainty, and Doubt) directed at Couchbase by DataStax. The author argues that the best way to deal with FUD is to address it directly, rather than ignoring or dismissing it. However, some claims made about Couchbase in the original post are misleading or incorrect, such as its handling of asynchronous writes and performance characteristics. In contrast, DataStax Enterprise (Apache Cassandra) also has its own strengths and weaknesses, including its use of commitlog and journaling to manage consistency and availability. The author provides recommendations for benchmarking distributed databases, including avoiding benchmarks with virtual machines, shared storage, or inadequate load settings.
Dec 17, 2014
565 words in the original blog post.
Memcached security has gained attention following the release of go-derper at Black Hat, emphasizing the importance of robust security practices to prevent unauthorized access. Key recommendations include ensuring proper firewall configurations, starting with blocking all connections and selectively allowing necessary traffic, and binding applications to localhost if they run on a single server to minimize exposure. The text advises against running memcached as root to prevent significant security risks and underscores using SASL authentication to strengthen client access controls. It also stresses the necessity of regularly scanning for open ports using tools like nmap, verifying the legitimacy of all active services, and understanding their security implications to prevent potential breaches that could lead to unintended data exposure.
Dec 16, 2014
620 words in the original blog post.
Gareth Powell, founder and architect at Ziniki Infrastructure Systems, discusses the integration of Couchbase in their middleware tier, highlighting its document storage and incremental mapreduce capabilities for querying data. Despite his SQL and MongoDB background, Powell faced initial challenges due to Couchbase's lack of similar "find" functionality and its reliance on asynchronous, eventually consistent views. He describes his project, which involves a data definition layer using XML, and the choice of globally unique keys (UUIDs) for document storage. Powell found that Couchbase's views, while powerful for indexing, presented issues with eventual consistency, particularly during automated testing scenarios involving user credentials, generated artifacts, and nested documents. To address these challenges, he initially duplicated index work in real-time using the key/value store but later adopted the "lookup" pattern for unique keys and direct key/value store access for nested objects. He emphasizes the importance of choosing the right Couchbase access mechanism based on application needs, advocating for understanding infrastructure software's scalability requirements and avoiding over-reliance on views for data access.
Dec 16, 2014
2,670 words in the original blog post.
Databases hold a profound significance for the author, Damien Katz, who passionately reflects on their role as a foundational advancement in human knowledge and consciousness, comparable to telecommunications, the internet, and even the invention of the written word. Katz's fascination with databases stems from their capacity for knowledge representation, collection, transformation, and sharing, which he views as integral to the expansion of humanity's collective mind. He highlights the historical and contemporary impact of databases, from IBM's mainframe dominance to Google's internet indexing, illustrating their transformative power in organizing and unlocking information. Despite the complexity and sometimes mundane nature of the intricate details that make databases function, Katz is driven by a deep commitment to improve and innovate in this field, recognizing the profound influence these systems have on society and individual users alike. His dedication is evident in his decision to create an open-source database engine, underscoring his belief in the importance of making database technology accessible and reliable for diverse applications, from small devices using SQLite to enterprise solutions provided by Oracle. Through his work, Katz feels privileged to contribute positively to the world's knowledge landscape, driven by a desire to enhance the way information is handled and shared globally.
Dec 16, 2014
815 words in the original blog post.
Attending PyCon offered insights into the vibrant state of Python, showcasing its wide adoption across various industries and its flexible framework use, which contrasts with the more rigid identifications seen in other programming communities like Ruby or .NET. Despite being a .NET developer, the author embraced the opportunity to engage with Pythonistas, manning the Couchbase booth and discussing the potential of NoSQL databases, particularly Couchbase, with developers who showed enthusiasm for non-relational database solutions. The event highlighted Python's adaptability and its culture of choosing the best tools for specific tasks, contributing to an openness toward non-relational databases even among developers traditionally focused on RDBMS. The author also noted Couchbase's ongoing efforts to refine their Python Client Library and mentioned starting work on an unofficial Tornado client during the conference, underscoring their commitment to supporting the Python community.
Dec 16, 2014
426 words in the original blog post.
The text discusses the advantages of using Couchbase as a replacement for Memcached, highlighting its recent advancements with the release of Couchbase 6.0, which includes features such as Analytics, Timers for Eventing, and improved indexing for search functions. It encourages users to explore Couchbase's offerings by visiting their website for more information and to download the software. Additionally, the text provides a link to a specific download page for a Windows 32-bit binary version of Memcached, underscoring Couchbase's commitment to providing versatile and comprehensive solutions for data management needs.
Dec 16, 2014
65 words in the original blog post.
Membase has reached a new milestone with the release of beta 2, which is now available for download and includes significant enhancements such as support for datasets larger than the aggregate cluster memory, real-time and historical statistics, and client-side deployment of the membase proxy, moxi. The open-source project has received positive community feedback, with users praising its reliability and speed, although there have been calls for more technical information and clarification on incomplete features. The development team is focused on making the software more user-friendly and accessible, highlighting technical resources and easing access to information. Despite some initial incomplete features in beta 1, the core technology was prioritized, and beta 2 introduces added functionalities and monitoring tools to enhance user insight and performance tuning. The team encourages ongoing feedback to help shape future releases, emphasizing the importance of community involvement in the continuous improvement process.
Dec 16, 2014
599 words in the original blog post.
Following a recent announcement about a successful Windows build, an unfinished project has been made available, with plans for further enhancements including an installer and more features. Currently, it is offered as a simple zip file containing memcached.exe and the necessary DLLs for functionality. More details about obtaining this binary can be found on the Northscale Labs website.
Dec 16, 2014
83 words in the original blog post.
The text discusses the significance of computational costs in modern businesses, highlighting how the rise of Big Data has increased demands for computational resources across companies of all sizes. It emphasizes the importance of managing these costs, particularly in data centers, where server and power expenses are predominant. The text elaborates on how Couchbase Server, with its integrated caching technology and flexible scalability options, can help reduce these costs by optimizing server utilization and energy consumption. By consolidating application layers and offering the ability to scale out or up depending on needs, Couchbase allows businesses to reduce the number of required servers, thus lowering operational costs and improving energy efficiency. The text supports its claims with examples, such as Viber's migration from other database solutions to Couchbase, which resulted in a significant reduction in server count and cost savings.
Dec 16, 2014
954 words in the original blog post.
The release candidate for spymemcached 2.6 has been posted, with several enhancements including performance improvements, transcoder support, and enhanced timeout handling. The big change in this release is the improved handling of timeouts, which addresses issues reported by users, particularly those running applications on busy systems or networks, where a RuntimeException from the `get()` method call was occurring due to complex work underneath optimizing how spymemcached is used. To address these issues, the new release candidate now guards against sending operations that have timed out, preventing them from being sent over the network and extending the effect of any momentary disruptions until they are worked through.
Dec 16, 2014
684 words in the original blog post.
The Twisted interface to the Couchbase client aims to provide an asynchronous data access API, allowing users to interact with Couchbase databases without blocking. The implementation integrates with Twisted's reactor event loop, utilizing its IO plugin interface to schedule operations and manage callbacks. The extension uses Python wrapper classes for primitives like IOEvent and TimerEvent, which contain internal pointers to C callback data. The Connection class in the `txcouchbase` package sets flags to enable asynchronous operations and wraps results in a Deferred object to facilitate non-blocking access. This design allows for efficient code reuse, minimal overhead, and added stability by leveraging Twisted's event loop capabilities.
Dec 16, 2014
1,893 words in the original blog post.
The text outlines considerations for sizing and configuring a Couchbase Server cluster, emphasizing flexibility due to varied customer environments. It discusses hardware recommendations, noting the difficulty of prescribing specific requirements due to differing use cases, such as physical datacenter setups versus cloud environments like AWS. Couchbase is designed to run on "commodity hardware," which varies widely in definition. Key factors for sizing include data distribution, network capabilities, CPU cores, disk performance, and RAM allocation, with specific guidance on each. The importance of horizontal scalability, optimal node configurations, and the benefits of more nodes with lower capacities over fewer high-powered nodes are highlighted. Additionally, it advises against co-locating Couchbase with applications on the same servers due to resource allocation complexities and suggests VM and cloud deployment considerations. The upcoming entry in the series will cover metrics and monitoring for proper cluster sizing.
Dec 16, 2014
2,652 words in the original blog post.
In a blog post by analyst Matt Aslett, the debate between SQL and NoSQL database technologies is explored, highlighting the misconception that one technology is universally superior. It emphasizes that the choice of database technology should be based on specific application needs, workloads, and various other factors such as developer skills and infrastructure. NorthScale, a company mentioned in the post, advocates for flexibility in choosing the right database technology, offering solutions like the NorthScale Memcached Server and Membase Server that work with both SQL and NoSQL technologies. The post also discusses the importance of maintaining compatibility with the memcached protocol and the benefits of remaining within the open-source community, contrasting this with the drawbacks of private forks that diverge from the community-driven model. Overall, the message is that a diverse approach, integrating different technologies as needed, is often the best path forward for effective data management.
Dec 16, 2014
842 words in the original blog post.
Membase chose to use Erlang for its cluster management and process supervision component due to its built-in support for concurrency, which allows for efficient and fault-tolerant concurrent task execution. Erlang's actor model of concurrency makes it difficult to implement the same level of concurrency in other languages without significant additional work. The language also provides a set of standard behaviors such as gen_server, gen_fsm, and gen_event that make it easy to structure complex applications as interacting processes. Additionally, Erlang's support for debugging and patching live systems is excellent, making it ideal for building highly available systems with five nines of uptime. While there are some disadvantages to using Erlang, including the need for additional runtime environment support, the benefits far outweigh the costs in terms of maintainability and fault tolerance.
Dec 16, 2014
1,062 words in the original blog post.
The text discusses the evolving role of NoSQL databases, particularly MongoDB and Couchbase Server, in the context of big data solutions. While MongoDB is recognized as a part of the big data ecosystem and is planning integration with Hadoop, it is characterized as suitable for first-generation solutions that focus on basic data import and export without real-time analysis or significant scalability considerations. In contrast, Couchbase Server, while not positioned directly as a big data solution like Hadoop, offers a more comprehensive approach by supporting both operational and analytical requirements, enabling second-generation solutions that incorporate real-time processing and integration with technologies like Elasticsearch and Storm. The text highlights examples such as AOL and LivePerson that leverage Couchbase for targeted advertising and high-throughput requirements, illustrating its capability to meet the demands of modern big data architectures.
Dec 16, 2014
579 words in the original blog post.
The release of Couchbase Server 1.8 introduces significant updates, including several bug fixes and a prominent rebranding from Membase Server to Couchbase Server, and the .NET Client Library follows suit with a corresponding name change. Users can easily access the newly named Couchbase .NET Client Library through NuGet, the Visual Studio package manager, and benefit from comprehensive API documentation and sample code to get started. Despite the recent launch of Couchbase Server 1.8 and the .NET Client Library 1.0, developers are already looking ahead to future versions, such as Couchbase Server 2.0, to enhance functionality beyond simple key/value lookups. Additionally, notable figures in the community are sharing insights and updates on various SDKs, helping users adapt to these changes.
Dec 16, 2014
360 words in the original blog post.
Last week was eventful for NorthScale with the release of beta 2 of Membase and its subsequent presentation at a second conference, OSCON, providing a platform to delve deeper into the project details, roadmap, and collaboration opportunities. Although the presentation was not recorded, downloadable slides are available, and questions can be addressed. NHN partners participated, sharing insights into their experiences and deployment strategies with Membase, which is critical for their applications that serve 17 million users daily, with up to 750,000 concurrent users in China. The successful deployment of technologies like moxi and memcached has bolstered confidence in Membase's design and implementation at NHN. Interested parties are encouraged to consult the slides and engage via mailing lists or direct communication for further information.
Dec 16, 2014
247 words in the original blog post.
Couchbase is hosting several upcoming events including Big Data Paris and Couchbase Live in London, while also announcing its participation in Oracle's Q3 as a "Disrupter". The company has also released a new podcast, Couchbase Mobile Podcast, featuring discussions with industry professionals. Additionally, Couchbase has launched a Lightning Hackathon, where developers can participate to create innovative solutions using the platform. Furthermore, the company is showcasing various products and resources on its official website, including downloads of Couchbase Lite and customer success stories.
Dec 16, 2014
203 words in the original blog post.
GigaOm's discussion on the interplay between scalable SQL databases and the NoSQL movement highlights that while NoSQL was initially seen by some as a potential replacement for relational databases, the current perspective is more about integrating NoSQL into broader data management strategies. Despite the emergence of scalable SQL solutions aimed at addressing relational database performance issues, there is no clear evidence that these are hindering NoSQL's momentum, particularly in web applications. Recent NoSQL outages, though concerning, are typical for new technologies and have not deterred companies from continuing their NoSQL projects, as the scalability benefits outweigh the risks associated with less mature technologies. While the NoSQL market is still in its early stages of growth, with some of the initial hype subsiding and relational database companies enhancing their offerings, these developments signal significant shifts in the data management landscape rather than a decline in NoSQL's momentum.
Dec 16, 2014
419 words in the original blog post.
Oracle has reported another disappointing quarter, attributing the decline to economic factors, although the shift from relational databases like Oracle to new technologies such as NoSQL and Hadoop may also play a significant role. This trend, initially highlighted by Marc Andreesen, has been corroborated by various venture capitalists, who observe that startups are increasingly opting for NoSQL databases due to their suitability for modern, scalable, and data-centric applications. These applications require capabilities like flexibility with unstructured data, high performance, and continuous availability, which align more closely with what NoSQL offers. While NoSQL's initial adoption was prevalent among startups, there is now a noticeable shift towards replacing existing legacy data management systems with NoSQL solutions, driven by factors such as scalability, ease of development, and cost-effectiveness. As NoSQL technologies and ecosystems continue to develop, Oracle's database sales might face growing pressure, indicating a potential major technology disruption in the near future.
Dec 16, 2014
611 words in the original blog post.
The provided script is used to configure IPtables on a Linux-based server to allow incoming traffic on specific ports related to Couchbase DB Server and sync_gateway. The script includes rules to accept incoming traffic on various ports, such as 4369, 8091, 8092, 11209, 11210, 11211, 11214, 11215, 18091, 18092, and 21100-21199. To confirm the configuration is correct, the script recommends running `iptables --list` as root and verifying that the REJECT rule for the INPUT chain is at the end. It's essential to note that this script is for local server security purposes only and does not replace a network firewall or AWS security groups/network ACLs. The user should perform their own due diligence when it comes to system security.
Dec 16, 2014
447 words in the original blog post.
Setting up PHP on Mac OS X can be complex due to various methods and potential confusion, but using Bitnami simplifies the process by consolidating everything in one place, similar to Python's virtualenv. The Bitnami MAPP Stack, which includes Apache, PHP, and additional frameworks like Laravel and Symfony, is recommended for an easy installation. After downloading and installing the stack, users are advised to update their PATH in the ~/.bash_profile to prioritize the stack's binaries. For additional setup, users can install the libcouchbase C library using Homebrew and build the PHP-Couchbase SDK from source to match the PHP version in the Bitnami stack. Starting and restarting Apache can be managed via the command line using ctlscript.sh, which also helps in identifying any errors in the configuration. The setup concludes with testing the Couchbase connection using a simple PHP script to ensure everything is functioning correctly.
Dec 16, 2014
847 words in the original blog post.
Membase has announced a significant collaboration with Cloudera at Hadoop World 2010, highlighting the integration of their technologies to address diverse data management challenges. Their partnership has resulted in two mechanisms for integrating Membase with Cloudera Distribution for Hadoop (CDH): a real-time data streaming module and a batch loader utility. This collaboration extends to a go-to-market strategy, with specific use cases such as ad targeting, event stream analysis, and social gaming, demonstrating the synergy between Membase and Hadoop. Notably, Aol and ShareThis have successfully implemented these solutions, creating advanced ad targeting systems that leverage high-powered analytics and real-time performance. The announcement underscores the powerful impact of combining Membase's capabilities with CDH, with more users anticipated to adopt this integrated approach.
Dec 16, 2014
511 words in the original blog post.
I recently attended five Java User Groups (JUGs) in Europe and the Pacific Northwest, where I was well-received by packed audiences interested in NoSQL and Couchbase. I appreciate Couchbase's "lean, clean and mean" approach, similar to Unix and Java in their early days, which aligns with its "simple, fast and elastic" theme. However, when discussing enterprise features with JUG attendees, concerns about long-lived transactions, joins, and other complexities arose, highlighting the need for a balance between adding features and maintaining simplicity. I hope developers and customers will continue to push Couchbase in the direction of simplicity, speed, and elasticity while introducing new features to make it more appealing for enterprise adoption.
Dec 16, 2014
340 words in the original blog post.
The MySQL and Drizzle UDFs have been updated with support for "check and set" (a.k.a. CAS) operations, allowing stored procedures to call memcached operations in a way that enables lock-free algorithms in distributed systems. This feature is particularly useful when multiple systems need to update an item in a cache, making it easier to implement secure and efficient data synchronization. The UDFs are part of Patrick Galbraith's contributions to the memcached ecosystem, which also include support for user-defined functions for other databases such as MySQL, Drizzle, PostgreSQL, and Apache Derby.
Dec 16, 2014
392 words in the original blog post.
The Couchbase .NET SDK has released version 1.3.8, a bug fix/maintenance release that includes a patch to support Couchbase Server 3.0 in beta, which is currently expected to be released soon. This update also addresses several issues with the previous release, including a breaking change in view queries on versions of the .NET Framework 4.0 and less, and provides workarounds for users who cannot or do not want to upgrade to this version. The SDK's development is ongoing, with an expected Beta release for early September 2014 and a final GA later that month.
Dec 16, 2014
519 words in the original blog post.
A collection of Visual Studio code snippets designed for Couchbase Server has been made available on GitHub and Nuget, aimed at aiding those new to the Couchbase .NET Client. These snippets, which are currently basic but expected to evolve with best-practice additions, include functionality for setting up a client instance, retrieving and storing data, and iterating over view results. The snippets are intended to streamline coding tasks and reduce the amount of manual typing required, with installation options available through Nuget or by cloning the GitHub repository.
Dec 16, 2014
150 words in the original blog post.
Over recent months, NorthScale has made significant contributions to the memcached project, enhancing both client and server functionalities. These efforts include the introduction of a "hot key" analysis feature for better data monitoring, updating the codebase for compatibility with Microsoft Windows, and significant improvements to the memcached storage engine. NorthScale's strategy focuses on collaboration with other developers to meet user needs and extend memcached's reach to new user classes through packaging and support. The company values community interaction and aims to offer thoroughly tested and beneficial contributions to the core projects, with updates also made to various client implementations like spymemcached, libmemcached, and Fauna. These contributions are in different stages of review and publication, reflecting NorthScale's commitment to enhancing the memcached ecosystem.
Dec 16, 2014
533 words in the original blog post.
Couchbase's upcoming content and events include a variety of blog posts, community gatherings, and webinars. The featured blog posts explore the integration of Couchbase with Ruby on Rails for social applications and the use of libcouchbase with C++ and threads. Upcoming events highlight a Couchbase London Meetup focused on document design and querying, as well as participation in the London Node.js User Group and a breakfast seminar in London. Couchbase will also be present at Oracle OpenWorld 2013 and JavaOne 2013, where they will discuss data storage options. Additionally, a webinar is scheduled for September 25 to introduce Couchbase app development for both European and U.S. audiences.
Dec 16, 2014
147 words in the original blog post.
A group of developers, including the author, gathered for lunch and discussed creating an Amazon Machine Image (AMI) for memcached following its 1.4.0 release, aiming to make it easier for developers to deploy on Amazon EC2 without modifications. This initiative led to the creation of MrRoboto, an AMI that integrates memcached with tools like DTrace scripts and a simple AJAX browser UI to simplify the deployment and monitoring process. The project leverages DTrace for its low-overhead capabilities in production, offering developers a more accessible way to manage memcached instances. The AMI, based on OpenSolaris, is a collaborative effort involving contributions from various developers and aims to provide a starting point for further innovations in managing memcached, with plans to expand and refine the project in future updates.
Dec 16, 2014
716 words in the original blog post.
Couchbase has announced the transfer of its Apache CouchDB hosting service to a new company, Iris Couch, to allow Couchbase to concentrate on developing top-tier NoSQL software. This strategic decision reflects the company's belief that focusing on fewer priorities enhances quality, and entrusting the hosting service to Iris Couch is expected to accelerate its development for the benefit of users. Couchbase will ensure a smooth transition and maintain a strong relationship with Iris Couch, which is anticipated to contribute significantly to the Apache CouchDB ecosystem. Jason Smith, who previously led the hosting service effort, will now operate Iris Couch as its founder and principal, ensuring continuity and reinforcing the collaboration with Couchbase.
Dec 16, 2014
320 words in the original blog post.
At CouchConf SF, an experimental social game app called Pop-it was showcased, which utilizes Couchbase Server 2.0 (Beta) and demonstrates the integration of HTML5 with a C#.Net game server for a balloon-popping game. The application employs a Microsoft Kinect Sensor and stores player scores using a timestamp key in Couchbase via a StoreJSON client method. The game’s C# application can query and sort player scores to display a leaderboard of the top ten players by using a descending modifier in the map function and view queries. The engaging and interactive nature of the game, combined with its technical backend framework, highlights the capabilities of modern database and server technologies in supporting real-time gaming experiences.
Dec 16, 2014
143 words in the original blog post.
Over the past six months, Couchbase has experienced rapid growth and development following the merger of CouchOne and Membase, contributing significantly to the advancement of NoSQL technology. Key achievements include performance improvements to CouchDB, the release of developer previews for mobile Couch, enhanced cluster management for Membase, and the developer preview of Couchbase, which unifies CouchDB and Membase. The inaugural CouchConf in San Francisco showcased the vibrant energy of the Couch community, underscoring the quick expansion and momentum of the NoSQL market, which is gaining attention from venture capitalists recognizing its potential to disrupt the relational database industry. The recent funding from top venture capitalists not only signifies confidence in the future of NoSQL but also enables Couchbase to accelerate product development and expand its community outreach globally.
Dec 16, 2014
368 words in the original blog post.
Attila Kisko, a developer from Budapest, Hungary, is known for creating the Enyim client library for .NET, a widely used tool in the Membase community. His programming journey began at a young age with the Commodore 64 and evolved through various platforms, leading to his role at Fathom Technologies, where he worked with major tech companies before founding FreeBlog. The Enyim project was initiated due to a lack of reliable distributed caching solutions for Freeblog.hu, prompting Attila to create a C# client library. Despite considering Java, he finds C# more appealing for its rapid advancements and ease of maintenance. Enyim continues to evolve alongside Membase, with Attila anticipating new features and integrating capabilities from other NoSQL technologies like Redis and MongoDB. He views the NoSQL movement as a shift towards cloud-based, scalable solutions that overcome the limitations of traditional relational databases.
Dec 16, 2014
989 words in the original blog post.
Happy Monday to all you Couchbase readers out there! For those of you that don’t know, every week I dedicate a full blog page to happenings in the Couchbase sphere. Blogs, events, announcements and the like are posted here as a recap of the past week. Don't forget to submit your apps to the Couchbase Mobile Developer Challenge for a chance to win prizes across iOS, Android, and PhoneGap platforms. Meanwhile, vote for Couchbase in the DBTA Reader's Choice Awards, which have nominated it in three categories including Best Database (Overall), In Memory Database, and Best NoSQL Database. The upcoming events include the NoSQL Matters Cologne conference, QCon Tokyo, and a webinar on Ad-Hoc Querying with Couchbase. Follow @Couchbase to stay up-to-date with the latest community news and announcements.
Dec 16, 2014
267 words in the original blog post.
I'm going to show you how easy it is to get everything up'n'running using Windows 7 and Microsoft Visual Studio 2010, including installing necessary dependencies and setting the path for compiling dll's. `The author of this text has admitted they are not a "hardcore Windows developer" and doesn't know some things about the platform, like where to install third-party header files and libraries. `To start, you'll need to download and install git to check out the source code, and set up your path for compiling dll's. `The author has cloned all necessary dependencies from GitHub and is using nmake to build them. `They have also installed libisasl and vacuum, a debugging tool, as part of the process. `The author has successfully compiled libcouchbase itself and is now running the vacuum debugging tool on port 8091. `The goal of this post is to demonstrate how easy it is to get started with libcouchbase on Windows.
Dec 16, 2014
333 words in the original blog post.
The discussion around the term "NoSQL" reflects a broader shift in data storage paradigms, as traditional relational database management systems (RDBMS) struggle to handle the demands of Big Data characterized by volume, velocity, variety, veracity, and value. Critics argue that "NoSQL" is an inadequate label since it implies a negation of SQL, which remains a valuable tool, rather than highlighting the innovative capabilities of these new data systems. These emerging databases, sometimes referred to as "AltDB" or suggested as "JustAddMoreNodesDB," are viewed as complementary to RDBMS rather than replacements, emphasizing their ability to scale out by adding more nodes. This evolution is illustrated by technologies like Hadoop, which incorporate SQL-like functionalities through components such as Hive, allowing users to execute SQL-like queries that are translated into map-reduce operations, revealing an ongoing integration of relational features into non-relational systems.
Dec 16, 2014
321 words in the original blog post.
Couchbase Server is a NoSQL database system that offers a range of features and best practices for developers looking to build applications. It ensures strong consistency for document access while query access is eventually consistent, and writes are asynchronous by default but can be controlled for durability. The platform supports atomic operations for counting and appending, with a recommendation to start with a single bucket and grow as needed, ideally using no more than five buckets to manage CPU and disk IO overheads. Developers are encouraged to use optimistic locking over pessimistic locking to avoid lock contention and to utilize multi-get operations for efficiency. Maintaining up-to-date client libraries is crucial, and data modeling using JSON documents is recommended for efficient indexing and querying. The approach involves starting with primary key access and using secondary indexes for less performance-sensitive tasks. Moreover, the platform supports range queries, allowing flexible data retrieval in applications. Couchbase's flexibility and variety of features make it an attractive choice for developers, even as they continue to explore its capabilities beyond the initial learning curve.
Dec 16, 2014
1,099 words in the original blog post.
Our companies Membase and CouchOne have merged to form a new company called Couchbase, redefining the NoSQL landscape in the process. The merger brings together two prominent players in the industry, creating a powerful platform for developers. To celebrate this milestone, an open bar and appetizers will be held at the Tied House in Mountain View on February 8, 2011, inviting employees, community members, and friends to join in the celebration. As Couchbase unfolds its product plans, followers can stay updated through Twitter or by signing up for notifications.
Dec 16, 2014
158 words in the original blog post.
The author discusses their efforts to simplify the process for developers to compile and install Membase by enhancing the build system with automake. They express a preference for focusing on coding rather than on manual build configurations and aim to avoid cluttering the /bin directory with library files. To address this, the author devises a strategy to package Python components more effectively, integrating a wrapper script into an automake-generated makefile to manage the PYTHONPATH variable. After consulting the automake manual, they find a straightforward solution and share their approach in a blog post. The solution involves updating the configure.ac file to generate a wrapper script, defining rules in Makefile.am to generate necessary scripts, and organizing Python files into a designated directory. They detail the creation of a "pythonlibdir" to house Python files, ensuring the execute bit is set for certain scripts, thereby streamlining the installation process.
Dec 16, 2014
430 words in the original blog post.
We have introduced two new protocol operations: Sync and Touch. The Sync operation provides a barrier where you wait for an application's data to change state in specific ways such as having an item change from a known value or achieve a specified level of durability. This is useful for ensuring that critical data is persisted across the network interface and disk. The Touch operation allows you to adjust expiration on an existing key without touching the value, which is useful for implementing sliding window expiration policies. We have also added a Gat command that returns the data and adjusts the expiration at the same time. These new operations are designed to be orthogonal to other commands while enhancing functionality in a way that lets you do things that couldn’t be done before. They can be used to implement features such as rate limiting inserts, storing session data with idle data being removed quickly but active data sticking around as long as it’s active.
Dec 16, 2014
1,202 words in the original blog post.
NorthScale has been selected by GigaOM as one of 11 companies to present at the LaunchPad event during the Structure 2010 conference in San Francisco. The company is set to take the stage on June 23 to introduce the latest advancements in its elastic data technology and noSQL strategy, with just 30 days remaining until the event.
Dec 16, 2014
56 words in the original blog post.
In the modern enterprise, a leader emerges in the database market through its performance, scalability, and architecture. Twenty years ago, Oracle dominated as a relational database, but with the rise of social, mobile, and big data, non-relational databases like Couchbase Server have gained traction.
Dec 16, 2014
456 words in the original blog post.
The text explores the concept of denormalization in document databases, particularly focusing on Couchbase, and compares it with the traditional normalization used in relational databases. Unlike relational databases that prioritize consistency and queryability by maintaining non-duplicative data, document databases like Couchbase store data that is frequently accessed together in single documents, which can enhance speed and reduce complexity. The trade-offs between embedding data within a single document and referring to external documents are discussed, highlighting the benefits of embedding such as faster data access and fault tolerance, and the advantages of referring, which include maintaining consistency, improved queryability, and efficient cache usage. The text also notes that while denormalization is integral to document databases, maintaining canonical records is often more efficient, especially when dealing with large or frequently updated data sets.
Dec 16, 2014
1,665 words in the original blog post.
A distributed system's topology can significantly impact its architecture, with simpler topologies potentially offering advantages in terms of ease of deployment, maintenance, scaling, and resilience. A comparison between two document databases (MongoDB) and two wide column stores (Apache HBase and Couchbase Server) reveals that the latter has a more modular and simple topology, which may lead to better scalability and performance. The article highlights the importance of balancing flexibility and simplicity in distributed system design, with modularity not necessarily being reflected in the topology.
Dec 16, 2014
636 words in the original blog post.
The announcement introduces a preview of the next-generation API for the Ruby client, aligning it with other SDKs that recently adopted a document-oriented API. Currently, the release is accessible only for the JRuby implementation, with a CRuby version forthcoming. The preview demonstrates a new way to interact with documents in a Couchbase cluster, showcasing operations such as retrieving, updating, and querying documents within a bucket. The new API also allows for counting operations based on query results, exemplified by counting countries with more than 10 breweries. The updated version is available for installation through RubyGems and can be incorporated using a Gemfile. Feedback is encouraged on the new forum provided by Couchbase.
Dec 16, 2014
288 words in the original blog post.
On Tuesday, the speaker presented at the SD Forum Cloud Services SIG, discussing the integration of Membase within cloud services and platforms, with the presentation slides available on Slideshare. For those who missed the event or have further inquiries, there is an upcoming Membase Meetup scheduled for Wednesday, November 10, at Hewlett-Packard's Cupertino campus from 6-9 pm, offering a chance to engage with other users while enjoying complimentary pizza and beer.
Dec 16, 2014
96 words in the original blog post.
Connecting to multiple buckets in Couchbase using Ruby requires setting up and configuring separate connections for each bucket. This can be achieved by creating a connection pool object that proxies methods to individual Couchbase::Bucket instances, allowing for thread-safe access to different buckets. The process involves specifying key prefixes and pool sizes, as well as writing custom code to handle operations on multiple buckets. While the Couchbase-Model gem in Ruby does not currently support connecting to multiple buckets, developers can use a connection pool object to achieve this functionality, enabling them to map attributes of a model to different buckets when reading and writing objects.
Dec 16, 2014
878 words in the original blog post.
The author has discovered an efficient way to combine their tasks into a single project involving Membase and nodejs, aiming to enhance their knowledge of nodejs while providing insights into Membase. The project involves building a Membase cluster exerciser using nodejs and sharing the process through blogging. Membase supports ASCII and binary protocols, with TAP streams available only in the binary format, necessitating that nodejs handle raw binary TCP communication, which it can achieve through binary buffer encodings. However, nodejs lacks built-in functions like ntohl and htonl for binary protocol manipulations, prompting the author to contribute a nodejs implementation of these functions. The code provided offers functions for converting data between host and network byte orders and is intended for arrays, nodejs buffers, or strings. The author plans to continue by demonstrating how to establish a connection to Membase and handle binary protocol messages in nodejs.
Dec 16, 2014
527 words in the original blog post.
Couchbase Server 3.0 introduces the Database Change Protocol (DCP), a significant enhancement for data synchronization that underpins various functionalities such as maintaining replicas, rebalancing, node recovery, backups, indexing, and XDCR replication. Unlike previous versions where XDCR replication relied on disk persistence to detect mutations, version 3.0 leverages DCP to initiate a direct stream for mutation detection, significantly reducing latency by up to four times through faster streaming and memory processes. This improvement enhances high availability and disaster recovery by accelerating data transfer to remote clusters, offering better protection against regional disasters and improving global data availability for deployments. While performance improvements are notable, actual latency can vary based on factors like network bandwidth, ping latency, and computational capacity, prompting users to test Couchbase Server 3.0 for the most accurate assessment.
Dec 16, 2014
355 words in the original blog post.
Couchbase Lite, which has moved beyond its beta phase and received numerous updates for cross-platform reliability, can now be fully utilized in RubyMotion projects with complete Ruby support. Originally, using Couchbase Lite with RubyMotion posed challenges, such as issues with lambda handling, which have since been resolved. The integration process involves adding Couchbase Lite via Cocoapods, a package manager that works seamlessly with RubyMotion, and ensuring the RubyMotion environment can locate the necessary header files. The configuration process includes specifying build dependencies in a gemfile and the Rakefile, enabling the use of Couchbase Lite like any other Objective-C library within RubyMotion. Developers can define views and queries using Couchbase Lite in RubyMotion, and further details are available in a sample project on GitHub.
Dec 16, 2014
433 words in the original blog post.
Couchbase has been bustling with activities, including a recent hangout session featuring Matt, Don, Michael, and Annie, who discussed the upcoming Couchbase 3.0, currently in beta. The community celebrated the anniversary of require('lx') with a meetup where Phil elaborated on the integration of Couchbase with node.js for scalable application development. Laurent Doguin and William Hoang have joined the evangelist team, adding fresh faces to the Couchbase community. Several events are on the horizon, such as Couchbase Connect in San Francisco, Red Frog Ruby Conference in Cologne, and Droidcon NYC, offering opportunities to learn more about NoSQL development. Additionally, Couchbase Developer Day in Munich promises a comprehensive introduction to Couchbase development. Moreover, Couchbase is seeking a Developer Advocate in Berlin, with details available on their careers site.
Dec 16, 2014
208 words in the original blog post.
Memcached is a simple key-value system with minimal built-in functionality, which has led to numerous forks and related projects aiming to add various features such as persistence, replication, proxying, and novel operations to the data. To address these needs, Memcached introduced a storage engine framework that allows developers to modify the data handling without breaking compatibility or introducing new features. This framework enables the creation of custom storage formats, persistent storage, multi-tenancy, and engines without performance guarantees, allowing for a wide range of applications and use cases. The goal is to provide a flexible and modular system where users only pay for the features they need, with ongoing development and support for replication and other advanced features.
Dec 16, 2014
707 words in the original blog post.
The author recounts their journey from initially intending to develop software for Windows to becoming deeply involved in the Linux world after discovering the operating system during college. Recently, at NorthScale, the focus shifted back to Windows with the aim of adding support for memcached on the platform, leading to the author's renewed familiarity with Windows, the Mingw compiler, and the Msys environment. Although Windows has evolved significantly since the author's early experiences, including improvements in configuration and memory management, the project requires the use of Mingw to adhere to the C99 standard crucial for memcached, avoiding the complexities often introduced by pre-compiler directives. The setup process for Mingw and Msys varies between 32-bit and 64-bit Windows systems, involving the installation of Msysgit and Mingw-w64, with careful configuration of environment paths. This setup allows the author to compile code efficiently on Windows using familiar *NIX tools, ensuring compatibility with both 32-bit and 64-bit architectures by specifying appropriate flags during compilation.
Dec 16, 2014
952 words in the original blog post.
We have been intentional about prioritizing community and customer needs from day one after the merger, to ensure the best possible experience with our open source NoSQL projects. This focus has led to a substantial increase in downloads of our binary packages, a record number of logos on our customer list, and record quarterly sales. We are committed to open source technology and aim to build a powerhouse NoSQL database company that leverages the strength of the community.
Dec 16, 2014
400 words in the original blog post.
Come2Play, a company with over 4 million monthly players, utilizes MySQL databases and IIS web servers running ASP.Net and classic ASP. To enhance scalability, they integrated a caching layer using Memcached and Membase, choosing the Enyim Memcached Client for ASP.Net. Membase offered advantages such as bucket separation, easy configuration, and a polished web UI. They implemented a phased approach to integrate Memcached and Membase, starting with caching heavy queries to reduce MySQL load, followed by user-specific data caching, and eventually employing Membase for persistent storage. This integration improved site performance and scalability by decreasing database load and allowing for agile feature development, highlighting Membase's simplicity and elegance.
Dec 16, 2014
717 words in the original blog post.
In recent Membase meetups, discussions have focused on the role of moxi in enhancing memcached clients, particularly for PHP and Ruby, by introducing advanced capabilities similar to those in spymemcached. Initially, moxi was not ready for Membase and vBuckets, but as the need arose to handle data on a dynamically changing cluster topology, vBuckets were developed, and moxi was adapted to manage them effectively, ensuring continuous data accessibility. Spymemcached, being quite advanced, only required updates to accommodate vBuckets, which are now available in a preview stage and progressing rapidly. Feedback from the Membase group is encouraged as this development is expected to be integrated into the next release of spymemcached.
Dec 16, 2014
193 words in the original blog post.
The speaker at the Boston Tech Meetup presented an introduction to NoSQL and Couchbase, covering topics such as the diversity of attendees and the suitability of Java for a general discussion on NoSQL. The event was attended by a diverse group of developers, designers, DBAs, managers, and entrepreneurs, making it an ideal platform for discussing non-relational databases. The speaker addressed common concerns about NoSQL, including schema mapping problems, which were not invented by Couchbase but rather introduced as a variant of a problem already present in relational database systems.
Dec 16, 2014
480 words in the original blog post.
Patrick Galbraith and his team at NorthScale emphasize the importance of continuous integration and testing across multiple platforms to ensure the quality and longevity of their projects, such as memcached and its proxy, moxi. By using tools like buildbot, they reduce the time between code commits and the identification of issues, allowing for prompt fixes and maintaining a 'ready to release' codebase. This process involves community contributions and setting up build environments on various platforms, such as the recent addition of a Gentoo builder for ARM architecture, to catch platform-specific errors. The team also focuses on addressing compiler warnings, especially those related to type safety, to prevent bugs. Their efforts are supported by buildbot's monitoring and a "buildbot try" process that allows uncommitted changes to be tested, contributing to the high-quality output of their projects, as evidenced by their progress reports.
Dec 16, 2014
517 words in the original blog post.
Dustin Sallings, known for his expertise in Memcached and Java NIO, has released a new candidate version of spymemcached, a highly regarded Java client library for Memcached. The standout feature of this release is a twofold performance enhancement in bulk data loading, achieved by utilizing the new binary Memcached protocol.
Dec 16, 2014
53 words in the original blog post.
AOL Advertising faced significant challenges in efficiently managing and analyzing vast amounts of user-related data to optimize their ad-serving platform. To address these challenges, AOL integrated Cloudera Distribution for Hadoop (CDH) for high-throughput data analysis and Membase for low-latency random data access, enabling the processing of billions of user events and the maintenance of current user profiles. This architecture allowed for the rapid querying necessary for real-time ad placement decisions. The combination of NoSQL databases and Hadoop is becoming a common approach for handling the data needs of web applications due to their ability to manage large user populations and extensive data generation effectively. NoSQL databases are particularly suited for interactive applications requiring low-latency access, while Hadoop excels in storing and analyzing large volumes of data, providing insights that can enhance user experiences and application growth. This integration reflects a growing trend in web application development, leading to improved scalability and efficiency in data management.
Dec 16, 2014
1,019 words in the original blog post.
The Amazon Web Services team has sent an email to users of memcached, warning them that their instances on Amazon EC2 may have insecure configurations, specifically allowing the whole internet access to the port most commonly used by memcached. The vulnerability is due to leaving the TCP port exposed to the Internet and not using SASL authentication with the binary protocol. To eliminate this vulnerability, users should ensure a firewall protects the system, disable ASCII protocol support and enable SASL authentication on the binary protocol, or use pre-configured memcached images available for deployment on Amazon AWS. The memcached community has been aware of this issue since its development and is working to improve security measures in the software.
Dec 16, 2014
1,636 words in the original blog post.
NorthScale, in partnership with Zynga and NHN, has launched the membase open source project, a NoSQL database management system designed to be simple, fast, and elastic, providing an alternative for users who have been stretching the capabilities of memcached beyond its intended use as a transient data cache. Membase, hosted at membase.org, offers features such as persistence, replication, and dynamic cluster configuration while maintaining compatibility with memcached, allowing existing applications to store data more efficiently and cost-effectively without altering any code. The initiative stems from the realization that while relational databases are suitable for certain data classes, there is a demand for a system that can provide higher performance and easier data storage across scaling needs, fulfilling the desire for a more robust solution akin to memcached but with enhanced capabilities.
Dec 16, 2014
781 words in the original blog post.
The new Couchbase .NET SDK aims to enhance the developer experience by streamlining the setup process, ensuring a consistent interface across all Couchbase client SDKs, and introducing flexible querying methods for documents and unstructured data. The focus of this update is on the enriched query APIs, particularly the new View querying enhancements that simplify data retrieval according to user preferences. Couchbase, influenced by Key/Value and Document database models, uses Views created from Map/Reduce functions exposed via a REST API to query documents. The forthcoming Couchbase Server 3.0 introduces N1QL, a SQL-like language, for querying, which will eventually be accessible through ad-hoc queries and a LINQ provider. The SDK's new Fluent Interface abstraction offers an intuitive way to interact with the View Rest API, allowing developers to construct REST requests dynamically without predefined types, increasing flexibility. Although a developer preview is anticipated, the release date remains unspecified.
Dec 16, 2014
587 words in the original blog post.
Couchbase has announced a strategic partnership with NTT Docomo, Japan's largest mobile service provider, highlighting the importance of such customer relationships in driving product development and community benefits. This collaboration follows similar partnerships, such as with Zynga, which demanded high-performance, low-latency databases with easy scalability, pushing Couchbase to enhance its product capabilities. The evolving NoSQL landscape, influenced by trends like Big Data, Cloud Computing, and Mobile Computing, underscores the need for databases that support real-time machine-to-machine and machine-to-cloud synchronization. Couchbase's strategic customer relationships, such as those with Zynga and NTT Docomo, provide valuable focus and direction, enabling it to deliver robust and innovative solutions in the rapidly changing industry, ultimately benefiting the broader community of developers.
Dec 16, 2014
415 words in the original blog post.
The upcoming version of libcouchbase will introduce significant enhancements in cluster updates, stability, and performance, primarily focusing on the Cluster Configuration Carrier Publication (CCCP). Couchbase's scalable and elastic architecture allows for dynamic node addition or removal without application downtime, with the SDK ensuring communication with a healthy cluster by maintaining awareness of node membership and key responsibilities. The new configuration model replaces the previous push-based approach with a pull-based system, reducing the need for persistent TCP connections and allowing configuration updates to occur only as needed. Enhancements also include logging capabilities for various events and improved connection management through a new connection manager module, which significantly reduces the creation of new TCP connections during cluster changes. These developments are designed to optimize memory use and server resource allocation while maintaining accurate and timely configuration information, with notable performance improvements demonstrated in tests.
Dec 16, 2014
1,587 words in the original blog post.
After many months of hard work, the company is ready to launch its software product, having recently cleared a "go/no-go" meeting. The team has worked to address potential customer concerns and is eager to provide value to users. To engage with customers, the company will maintain a blog where it will share insights into its decision-making process and encourage feedback and discussion. The goal of coming to market is to meaningfully interact with users and learn from their input to improve the product or service.
Dec 16, 2014
274 words in the original blog post.
The blog post discusses lesser-known features of the libcouchbase client library, focusing on the cbc toolset, which provides a variety of commands for interacting with Couchbase clusters. These commands, developed by Trond Norbye, are valuable for diagnostic and debugging purposes, and although not essential for application development, they offer practical utilities such as storing, retrieving, and managing data within a cluster. The blog covers various commands available in libcouchbase's current and preview versions, explaining how to use them for actions like copying files to a cluster, creating and deleting keys, calculating hashes, and obtaining server statistics. It also highlights the importance of command-line arguments for cluster connections and offers solutions for managing connection settings through configuration files and environment variables. The post is updated to reflect the latest version, 3.0, and provides resources for installation and further reading.
Dec 16, 2014
1,795 words in the original blog post.
Memcached 1.4 has officially moved from a release candidate to a full release, generating significant buzz on Twitter due to its introduction of a binary protocol, performance enhancements, new statistics, and CAS operations. Several sizable websites are already utilizing the release candidate in production, and more are expected to follow. The release notes, which detail these updates, hold special significance for NorthScale as some of the new features stemmed from proposals made at the first memcached hackathon hosted by Facebook. The binary protocol, in particular, had been a topic of discussion in the community and is now a reality in this production release. This release is notably personal for the author, who contributed a patch to the project, joining fellow NorthScale contributors and other core developers. As users begin to explore the new capabilities, especially those operating at the limits of the technology, they may experience improved performance, and the community eagerly anticipates feedback and inquiries.
Dec 16, 2014
276 words in the original blog post.
Couchbase Server version 2.0 introduced views for creating indexes on JSON documents, allowing for efficient querying and aggregation. These views provide materialized indexes stored on disk, which can impact performance due to disk read requirements for each query. To address this, the text discusses a caching strategy where query results are stored in Couchbase's managed cache, offering higher throughput and lower latency for frequently accessed data that doesn't need immediate updates. The example of a game leaderboard illustrates this approach, where top scores can be cached and queried periodically, reducing server load. The document also includes a Java example demonstrating the efficiency of caching, with tests showing significant speed improvements over querying directly from the index each time. Although Couchbase plans future enhancements for caching indexes, the current method remains a viable workaround, especially for applications with specific caching needs. The text emphasizes understanding application-specific requirements to use caching effectively.
Dec 16, 2014
1,093 words in the original blog post.
Memcached is a distributed caching system that uses simple modulo selection hash algorithm for distributing data across servers. However, this method can lead to some problems such as uneven distribution of cache load and increased cache misses when a server dies. In 2007, Richard Jones introduced Ketama, a consistent hashing library that reduces the probability of hashing to a server without the required data when the server list changes.
An alternative approach called "managed buckets" was introduced by Anatoly Vorobey in early 2006. This method uses vbuckets (a subset of all possible keys) that are statically mapped to servers, providing more flexibility and control over data distribution. The number of vbuckets remains constant regardless of server topology, ensuring consistent key-to-vbucket mapping.
In this approach, each request includes the vbucket id as computed by the hashing algorithm. Clients agree on the hashing algorithm and number of vbuckets to ensure consistency in choosing the right vbucket. The libvbucket library helps distribute configurations and react to misconfigurations.
Vbuckets can be transferred from one server to another, allowing for gradual migration of traffic from busy servers to less busy ones with minimal impact. A replica vbucket is similar to a dead vbucket in that it refuses all requests but allows replication commands. Multiple replication strategies such as 1:n and chained replication can be used to maintain multiple copies of data across nodes.
Dec 16, 2014
1,999 words in the original blog post.
The recent release of MySQL 5.6 by Oracle marks its first major update in two years, focusing on improvements to compete with the rising popularity of NoSQL databases. Despite these enhancements, the author believes that MySQL's schema-based architecture cannot match the flexibility and scalability offered by NoSQL systems, which are increasingly preferred by developers for modern applications. While MySQL 5.6 introduces features like an online data definition language and a memcached API, these are seen as superficial changes that do not address the fundamental architectural differences between relational and NoSQL technologies. The author argues that the new trends in application development, which demand flexible data models and high scalability, align more with the strengths of NoSQL databases. This shift doesn't imply the obsolescence of MySQL or relational databases, but rather highlights the growing diversity of database technologies available to developers. The author expresses disappointment that Oracle did not continue developing the Handlersocket approach, which offered a more seamless integration between relational and NoSQL capabilities, and criticizes Oracle's current NoSQL efforts as restrictive and underperforming compared to previous solutions.
Dec 16, 2014
969 words in the original blog post.
The author has released a new version of Couchbase 1.8 along with smart clients for various programming languages. This release is significant for the author as it now supports the C language through libcouchbase, which was initially created to facilitate testing of server components in C. The author highlights the importance of understanding how libcouchbase handles multithreading, as it doesn't use locking to protect its internal data structures but requires users to either lock access or operate on their own instance. The author presents a demo program that monitors a directory and uploads JSON files into a Couchbase cluster, showcasing the capabilities of libcouchbase. The program uses various callbacks, including an error handler, storage callback, and timings callback, to handle operations such as storing data in Couchbase and dumping timing statistics. The example demonstrates how easy it is to use libcouchbase for communication with a Couchbase cluster, and the author promises that more functionality will be added through other clients.
Dec 16, 2014
1,728 words in the original blog post.
Duplicate data poses a common challenge in data management, whether from combining data sources, multiple purchases by a single customer, or repeated data entries. The blog post explores using Couchbase Server 2.0 to identify and retain non-duplicate documents by employing views and a combination of Ruby client and Faker gem for generating sample data. A map function is used to define duplicates based on matching first name, last name, and postal code fields, while a reduce function groups duplicate document IDs. Despite encountering a "Reduction too large" error, the blog suggests that employing N1QL in Couchbase 4.0 and later versions could offer a faster solution, although it notes that Couchbase operates as a distributed system where the performance of N1QL and client-side operations are comparable.
Dec 16, 2014
508 words in the original blog post.
The author discusses the integration of N1QL query support into a Node.js client for querying Couchbase clusters, highlighting the conversion of existing queries to N1QL for improved efficiency and simplicity. Initially focusing on basic queries like selecting all beers or breweries, the author notes that N1QL queries are more concise and eliminate the need for separate operations. The conversion of search functionalities posed challenges due to the original code's complexity, but N1QL allowed for more streamlined queries using LIKE clauses, although performance issues were noted. The author emphasizes caution with user input to avoid vulnerabilities, noting efforts to implement parameterization in future versions. Feedback from a reader, Justin, aligns with this concern, and the author acknowledges plans to address it in upcoming releases.
Dec 16, 2014
848 words in the original blog post.
Couchbase has released the second developer preview of its new PHP SDK, which features internal updates facilitated by the newly launched libcouchbase 2.4.0. This iteration includes enhancements such as a flexible URI-like cluster bootstrap list, support for SSL-encrypted communications, and cross-SDK datatype handling, making data exchange between PHP and other languages easier. Detailed API documentation is accessible online, and installation instructions are provided for both Linux and Windows systems, emphasizing the need for libcouchbase 2.4.0 to be installed beforehand. Users are encouraged to report any issues or bugs through Couchbase's community site or issue tracker for further assistance.
Dec 16, 2014
327 words in the original blog post.
Couchbase's schema-less nature offers flexibility in designing NoSQL databases, allowing developers to bypass the time-consuming process of schema development, which is advantageous for quick prototyping and flexible document structures. A primary consideration when using Couchbase is deciding how to structure data—whether to keep related data in a single document for simplicity or separate it into multiple documents for more granular updates. Using the example of Breweries and their Beers, the text discusses pros and cons of various document structures, such as embedding all Beer data within a single Brewery document, which streamlines data retrieval but can lead to larger data requests, versus maintaining separate documents for each Beer and Brewery to maintain atomicity and ease of updates. Additionally, a third strategy involves using MapReduce to determine canonical data, allowing historical data to coexist without affecting current views. The choice of structure depends on the specific use case, balancing the need for quick data retrieval against the overhead of managing potentially large documents, and underscores the flexibility and power of Couchbase in accommodating diverse data modeling strategies.
Dec 16, 2014
991 words in the original blog post.
SSL version 3 is no longer secure due to the newly discovered `Poodle attack' vulnerability in its CBC encryption scheme. This issue arises when clients downgrade their cryptographic protocol to SSL 3.0, posing a risk to systems using TLS as its successor. To mitigate this threat, Couchbase has taken measures such as disabling SSLv3 for management, views, and memcached ports in version 3.0.1, while advising users to upgrade their front-end client apps and infrastructure components that rely on SSL v3. Additionally, securing the entire stack involves patching third-party proxy servers like Apache, nginx, and HAProxy, as well as checking Amazon EC2 security advisories. Users can find more information in Google's security advisory paper and discussions in the Erlang community.
Dec 16, 2014
454 words in the original blog post.
Thumbtack Technology's blog post presents the results of a NoSQL benchmark testing MongoDB, Apache Cassandra (DataStax), and Couchbase Server on various server configurations for two workloads: Read Intensive and Balanced. MongoDB exhibited low latency for read requests with limited throughput and was constrained by its master/slave topology and database-wide locking. Apache Cassandra showed low latency for write requests but struggled with read performance and throughput, attributed to its design for older server architectures. In contrast, Couchbase Server demonstrated excellent latency and throughput for both read and write operations, benefiting from its effective use of memory and absence of topology and locking issues. Overall, Couchbase Server outperformed the other databases, highlighting its engineering for balanced read and write performance.
Dec 16, 2014
467 words in the original blog post.
Couchbase's unique NoSQL database combines cache and storage technology, widely used for storing binary data and JSON documents. To properly size a production system, determining the average document size is essential, which can be achieved using views in a development or staging system, though not recommended for production due to the indexing overhead. Views in Couchbase are written in JavaScript and help extract, filter, and aggregate data, beginning with a map function to create an index of key/value pairs, and optionally a reduce function to perform calculations like counting, summing, and averaging document sizes. A map function example is provided, demonstrating how to emit document sizes using JSON.stringify for JSON documents and decodeBase64 for binary documents. A corresponding reduce function aggregates these sizes to calculate an average, showcasing Couchbase's map and reduce constructs, although users report issues with this method in Couchbase version 5.1.
Dec 16, 2014
601 words in the original blog post.
The author describes their personal development model for Membase, a cross-platform project, detailing the setup of a working environment on OpenSolaris using a "sandbox" approach. They emphasize keeping changes isolated to minimize dependencies, which involves creating separate directories for bug fixes, compiling the entire Membase stack, and then committing changes for review. The challenge of ensuring compatibility across different platforms like SunOS, MacOSX, Ubuntu, and Debian is addressed by using scripts that automate the setup and compilation process, leveraging shared filesystems and SSH commands to build on each platform simultaneously. Despite these efficiencies, the author notes a limitation in starting Membase from the compiled location but expresses ongoing efforts to resolve this issue.
Dec 16, 2014
790 words in the original blog post.
New Relic, a leader in web application performance measurement, has integrated with Kurobase to offer a new add-on for Couchbase on the Heroku platform, providing developers with advanced tools for analysis and optimization. By simply adding a New Relic license key, developers can quickly access a comprehensive overview of their Couchbase application's performance, facilitated by complete instrumentation for Ruby developers to track key Couchbase interactions. The add-on enables visualization of operational and performance metrics, including cluster and bucket activities, document operations, and performance data like the time taken for specific tasks, all of which help in identifying and resolving potential issues swiftly. This integration is particularly valuable for Kurobase and New Relic users, and further insights can be gained through available documentation and upcoming webinars.
Dec 16, 2014
338 words in the original blog post.
The Spymemcached Java client is widely used in Java applications for connecting to Memcached servers due to its optimization and performance, offering simplicity without losing flexibility for system adjustments. The blog post explores how to effectively use Spymemcached, starting with a basic tutorial on performing set, get, and delete operations to evaluate system performance. Through various tests increasing the number of operations, it is demonstrated that larger workloads can lead to reduced latency, indicating the importance of using appropriate data points when assessing system behavior. The results suggest that systems may require a warm-up period to reach optimal performance, and the significance of chosen test values should be clear to avoid drawing incorrect conclusions. Additionally, the blog highlights a vulnerability to cross-site scripting.
Dec 16, 2014
972 words in the original blog post.
The tutorial explains how to implement asynchronous operations in an engine that initially runs synchronous filesystem I/O, which limits the speed of serving client requests. By using the server API available in the `create_instance` function, it introduces asynchronous methods to prevent blocking the engine API during `get` and `store` operations. The tutorial emphasizes that the design is focused on explaining the engine API rather than optimizing efficiency, suggesting potential improvements like using a thread pool instead of creating new threads for each task due to the overhead involved. It details the process of dispatching requests to new threads, using `notify_io_complete` to inform the memcached core when operations are complete, and handling errors if they occur. The code snippets provided illustrate how to update the `fs_get` method to run asynchronously and store results, with a structure for tasks that includes engine pointers, cookies, and operation-specific data.
Dec 16, 2014
751 words in the original blog post.
As applications increasingly migrate to cloud environments, the use of memcached is adapting to these new settings, exemplified by nearly 300 applications utilizing NorthScale's memcached service on Heroku’s cloud platform. Unlike traditional LAN environments where server failures were more common than network issues, cloud networking is less controlled, often resulting in packet loss and high latency due to shared resources and multiple node hops. This shift necessitates adjustments in handling timeouts for memcached operations; aggressive timeouts may lead to failed queries if packet loss occurs, as TCP’s initial retransmit timer is three seconds. It is suggested to loosen server failure limits and adjust timeout settings to accommodate network-related timeouts rather than server issues. Particularly for applications not originally designed for cloud environments, tuning timeouts to manage at least a single dropped packet is recommended, with specific parameters for connect and retry timeouts suggested for the Fauna Ruby client recommended by NorthScale.
Dec 16, 2014
528 words in the original blog post.
Couchbase has released version 1.3.3 of its .NET Client, focusing on bug fixes and stabilization. Key improvements include optimizing configuration changes by sorting lists to reduce unnecessary updates and randomizing bootstrap nodes to distribute load evenly across the cluster, thereby minimizing the "stampeding herd" effect during reconfiguration. The release also includes several minor bug fixes and performance enhancements. Community contributions played a significant role, with bug reports and pull requests from platforms like Jira and GitHub, particularly highlighting the efforts of contributors bchavez and sdir456. Users can access the binaries through Nuget, and further updates on Streaming HTTP Configuration for the forthcoming .NET 2.X client are anticipated.
Dec 16, 2014
244 words in the original blog post.
The release of the .NET 1.3.7 SDK is a minor update focused on bug fixes, with contributions from the community being acknowledged for their support in reporting bugs and suggesting features. While this update is available on NuGet and S3, the primary focus of development is on the upcoming Couchbase .NET 2.X client, which is anticipated to enter beta testing by August, assuming development and testing progress smoothly. Developer previews for this new version are already available, with a third preview expected in mid-July, incorporating community feedback. The team encourages ongoing community interaction through comments and emails to enhance the SDK's development.
Dec 16, 2014
171 words in the original blog post.
The SDK development team has been working on a new interface, SDK 2.0, to better align with the document-oriented nature of Couchbase Server 2.0, moving away from the cache-focused design that catered to the memcached project. This overhaul has included a complete rewrite of the PHP SDK, aimed at resolving issues such as inconsistent function behavior and outdated parameter ordering, resulting in a more uniform and modern API. Key improvements include a reliable error handling mechanism, transcoder support for custom serialization and deserialization strategies, and comprehensive documentation for developers. The new PHP SDK is available for installation on both Linux and Windows systems, with various build options provided, and it requires the prior installation of libcouchbase. Feedback and bug reports can be submitted through the Couchbase Communities site and the issues tracker.
Dec 16, 2014
577 words in the original blog post.
The announcement of SASL (Simple Authentication and Security Layer) support in the memcached server version 1.4.3 has led to significant developments, especially in client capabilities. SASL integration enhances security by requiring authentication for client connections, which was previously absent in memcached. Initially supported by the spymemcached Java client, SASL is now also compatible with libmemcached, enabling broader application use. Implementing SASL involves configuring user credentials stored in a database, either system-wide or user-specific, and ensuring memcached employs the binary protocol. The process includes installing necessary libraries, setting up configuration files, and using tools like saslpasswd to manage user credentials. The integration of SASL with memcached allows for secure and authenticated data transactions, with examples provided for setting up and testing the functionality using both spymemcached and libmemcached clients.
Dec 16, 2014
1,752 words in the original blog post.
Couchbase has announced strong first half results and a new $25m round of financing, with product sales increasing year-over-year by over 400% and the community portal seeing massive increased usage and engagement. The company's document database features like indexing and querying have been particularly well-received, as well as its cross data center replication (XDCR) capability. Large enterprises and internet companies are choosing Couchbase due to its scalability and performance, which is a key reason for its success in strategic competitive evaluations. The new funding will allow the company to invest more aggressively in new products, expand internationally, and educate users. A conference on September 13 will provide a preview of upcoming features.
Dec 16, 2014
457 words in the original blog post.
NHibernate, a popular object-relational mapping tool for .NET, has expanded its 2nd level caching capabilities to include Couchbase, leveraging its compatibility with Memcached, which was previously supported through the Enyim.Caching library. This integration, ported by the author to Couchbase, offers a plug-and-play solution demonstrated through a sample ASP.NET MVC project available on GitHub. The project showcases how to configure NHibernate using FluentNHibernate, which allows code-based configuration rather than XML files, and illustrates enabling caching on model classes, such as a beer class, by setting appropriate cache options. The Couchbase provider requires minimal configuration, but users must ensure that caching is managed correctly within ASP.NET applications to avoid cache recreation per request. The solution, part of Couchbase Labs and licensed under Apache License 2.0, is a fast and scalable caching option for NHibernate users, and it is also compatible with Membase. However, cache regions and expiration settings for entities or queries need to be defined separately.
Dec 16, 2014
528 words in the original blog post.
Membase is designed to be "on the wire" compatible with any memcached server, allowing access through any "memcapable" client by connecting to the standard memcached port, with the membase proxy moxi handling SASL authentication and request routing to the appropriate server. Unlike Memcached, Membase stores each item in a vbucket mapped to a server, facilitating vbucket relocation when the cluster size changes. Accessing Membase through moxi incurs additional overhead compared to direct node communication, prompting the development of "smart clients." The author, a Memcached developer, created a prototype library to facilitate testing, emphasizing its callback-based design integrated with libevent for easy application use. The library, although not production-ready, supports basic operations like get, add, replace, and set but lacks features like error handling, timeouts, and vbucket list management. The author invites collaboration to enhance the library's functionality and provides an example of creating a TAP stream to monitor cluster modifications.
Dec 16, 2014
666 words in the original blog post.
NorthScale has partnered with Heroku to offer a Memcached Add-On powered by NorthScale Memcached Server, which NorthScale operates on Heroku's behalf. This collaboration highlights the importance of elastic data infrastructure in cloud computing environments, allowing multiple applications to share virtualized resources efficiently. The NorthScale Memcached Server supports application multi-tenancy, enabling many applications to securely share a memcached service without each needing its own server. This approach reduces overhead and maximizes hardware utilization, with rapid provisioning of new instances for onboarding. The announcement underscores NorthScale’s vision of providing elastic data management solutions, complementing Heroku's PaaS offerings, and addresses a gap in VMware's previous cloud solutions by offering an elastic data management piece. NorthScale's technology, also available as Membase Server, can be used by enterprises to create private cloud environments, reflecting a scalable model similar to that employed by major cloud providers like Google and Amazon.
Dec 16, 2014
763 words in the original blog post.
The author expresses enthusiasm for the merging of technologies and teams involved with CouchDB, CouchOne, and Membase, highlighting the synergy and potential of combining these systems. CouchDB's innovative and user-friendly approach has gained traction over the years, while Membase and Memcached are integral to the infrastructure of major websites. The author recounts a pivotal interaction with the Silicon Valley Cloud Computing Group about key value stores and the unique CP datastore approach of Membase. The collaboration between the teams, including notable contributions from Dale Harvey of CouchOne, began even before the formal announcement of their merger, underscoring the excitement and potential for innovation within the newly formed partnership.
Dec 16, 2014
318 words in the original blog post.
The Samsung Developer Conference, held at San Francisco's Moscone Center, offered insights into the future of mobile and wearable technology, showcasing innovations such as the Samsung Gear S and the BMW i3. Attendees experienced various applications, including YELP on the Gear S, highlighting advancements in app development with JavaScript. The event emphasized the growing prominence of wearable technology, featuring sports performance tracking tools like 94Fifty’s sensor basketball and NeuroSky's body metrics technology, which promise to enhance athletic performance. Key discussions included Couchbase Mobile's vision for a connected future, emphasizing ubiquitous mobile connectivity and offline capabilities demonstrated through their beacon sample app. The conference underscored a rapidly evolving mobile experience, driven by technologies that integrate smart homes, interactive car dashboards, and advanced wearables, with Couchbase Mobile playing a pivotal role in shaping this future landscape.
Dec 16, 2014
366 words in the original blog post.
The application model in CouchTalk assumes sequential keys, allowing for efficient indexing of data without issuing queries. The app uses a combination of HTTP servers and PubNub to manage real-time communication between clients and the server. The use of an INCR key pattern enables atomic increment operations, ensuring that there are no collisions when generating keys. This approach allows for efficient management of related data in Couchbase Server, making it suitable for applications with high performance requirements such as push-to-talk messaging.
Dec 16, 2014
546 words in the original blog post.
I'll be speaking at Couchbase Connect San Fran on October 6th and 7th, presenting two talks: "What's New in Couchbase Server 3.0" and a deep dive into DCP, a new data synchronization protocol. I'll also be co-presenting with Rafael on deploying Couchbase Server to Azure cloud. The event is happening on October 6th and 7th at an unspecified location, with the full agenda available on the Couchbase website.
Dec 16, 2014
152 words in the original blog post.
The blog post discusses recent advancements in Couchbase's mobile technology, focusing on a new synchronization approach that bridges traditional database use with modern networked environments. The team has developed an adapter for syncing Couchbase Server with mobile devices, utilizing the JSON document model to enhance sync patterns. This new method addresses limitations of prior technologies by employing an incremental index capability for efficient data management. The updated synchronization model introduces a lightweight channel system, allowing documents to be tagged and accessed by multiple users without redundancy. The Sync Gateway authorization API complements this by controlling user access to channels. Feedback on this approach has been positive, and the team plans to release an early version soon, focusing on performance and scalability. Additionally, the product formerly known as TouchDB is being rebranded as Couchbase Lite, maintaining compatibility with existing protocols while setting the stage for an integrated synchronization solution.
Dec 16, 2014
786 words in the original blog post.
Couchbase Server uses an append-only storage design that prevents data corruption by writing updates only to the end of data and index files, necessitating a compaction process to manage disk space. Compaction in Couchbase cleans up disk space by removing stale data and index values, ensuring files do not consume excessive disk capacity, especially in write-heavy environments. Data is organized into vBuckets with each partition having its own data file, and index files structured as b-trees where mutations are appended at the end. Compaction can be configured to trigger based on fragmentation thresholds, and can be scheduled during off-peak hours to minimize system impact. It operates on a per-partition basis, allowing for incremental compaction without data loss, and can be done manually or automatically. Proper cluster sizing and storage selection, such as using SSDs for write-heavy applications, are crucial for optimal compaction performance. Parallel compaction can also be enabled, provided index and data files are stored on separate physical disks to prevent excessive growth.
Dec 16, 2014
1,454 words in the original blog post.
In the blog post, the author delves into the memory allocation model within the memcached engine interface, explaining how memory management is divided between the memcached core and the engine. The core is responsible for allocating memory for connections, while the engine handles memory for item tracking, with the core accessing engine-managed memory when storing new items. The post illustrates how to implement an allocate function within the engine, detailing the creation of a data structure for storing item information, including keys, data, and metadata such as expiration time and flags. The allocate function is responsible for memory allocation, error handling, and data copying, while the get_item_info function is highlighted for its role in providing the core with necessary information about item storage, preparing for future support of scattered IO. The post concludes by touching on the storage process, where data moved over the network is stored in the engine.
Dec 16, 2014
732 words in the original blog post.
The text discusses the flexibility of Couchbase Server 2.0's schema, which allows for documents to be stored as JSON, enabling the use of implicitly structured records driven by the application. It highlights how strongly typed languages like C# or Java typically use well-defined domain objects to handle application data, but also explores dynamic approaches using dictionaries or ExpandoObject for handling JSON documents in a more flexible manner. The text explains two methods for serializing JSON documents into C# objects: one using dictionaries and the other leveraging C#'s dynamic typing with ExpandoObject. It provides a detailed look into implementing these methods through extension classes and methods, showcasing the ability to serialize data dynamically and retrieve it from Couchbase, and emphasizes the use of Newtonsoft.JSON library for JSON serialization and deserialization.
Dec 16, 2014
805 words in the original blog post.
The discussion centers around the challenges and solutions related to scaling databases, contrasting MongoDB and Couchbase Server. MongoDB is criticized for its difficulties with horizontal scaling, particularly due to the complexities of sharding, loss of functionality, and performance issues when scaled out. These challenges include the need for manual shard key decisions, maintaining many components, and reliance on multiple log files for operational insights. In contrast, Couchbase Server is highlighted for its ability to scale out seamlessly with automatic sharding, fewer configuration complexities, and maintained performance. It supports cross-data center replication, which facilitates integration with systems like Elasticsearch. While there are different perspectives on the strengths and limitations of each database, the conversation emphasizes the importance of evaluating technology based on specific use cases and needs, acknowledging that both databases have their unique advantages and constraints.
Dec 16, 2014
1,331 words in the original blog post.
Couchbase employs an incremental release model for its documentation, which involves frequent updates to materials such as server manuals and SDK guides. The documentation library page provides information on the last update date for any document, while the document built date indicates when it was assembled and published. These dates may vary slightly depending on the update and build process. However, these indicators do not specify what changes have occurred since a document was last viewed. To address this, an RSS feed has been introduced to list new updates and releases in reverse chronological order, accompanied by descriptions of significant changes. This feed aims to help users stay informed about developments in the documentation, and feedback is encouraged to improve its usefulness.
Dec 16, 2014
304 words in the original blog post.
Couchbase Server 2.0's Cross Data Center Replication (XDCR) feature enables data replication across Couchbase clusters and offers innovative applications such as integration with Elastic Search. By utilizing a RESTful API, XDCR can interface with non-Couchbase systems, allowing users to create custom replication endpoints for purposes like change notifications. An example implementation using the .NET-based microframework Nancy is detailed, showcasing how to construct an XDCR endpoint through simple route and handler creation. The project, available on GitHub, demonstrates how to handle requests and replicate documents using a sample XmlReplicator class, which employs LINQ to XML for document management. Although the project provides a practical solution for certain use cases, it is noted as a Couchbase Labs project, implying limited support, and emphasizes community forum engagement for troubleshooting. A user mentions facing a replication error related to a missing vbopaque in the _pre_replicate response, indicating a potential area for further investigation and resolution.
Dec 16, 2014
1,018 words in the original blog post.
Jazoon is a popular conference in Zurich that attracts a large number of Java developers, with around 500+ attendees for one talk. The event features multiple tracks and a unique venue, which can be an unusual setting for speakers to present. The understanding level among attendees varies widely, with some having experience with NoSQL databases like Couchbase or CouchDB. The conference covers a range of topics related to using Couchbase with the Java SDK, including document design and incremental map-reduce based views. Despite covering some internal details during demonstrations, there was still confusion about similarities and distinctions between Couchbase and CouchDB. However, the overall sentiment from attendees suggests a high interest in adopting NoSQL technologies and Couchbase for change in their business approaches.
Dec 16, 2014
387 words in the original blog post.
The text reflects on the significance of the "Hello World" program, popularized by the book "The C Programming Language" by Kernighan and Ritchie, which has become a rite of passage for many programmers and a foundational concept in API success. It pays homage to Dennis Ritchie, who also played a pivotal role in the creation of the Unix Operating System. The text then transitions to demonstrating a "Hello World" program using Couchbase with Java, illustrating how to set and retrieve a key-value pair using CouchbaseClient in a distributed system, while acknowledging the inherent complexities and fallacies of distributed computing. The Java client libraries for Couchbase are highlighted for their ability to abstract the dynamic nature of clusters, offering operations like get and set in synchronous or asynchronous forms to build scalable and high-performance systems. The text concludes by mentioning further contributions to using Couchbase with Java libraries and references various SDK updates across different programming languages.
Dec 16, 2014
361 words in the original blog post.
Jens Alfke, a highly regarded developer with experience in Cocoa development, iChat at Apple, Google Chrome, and Rockmelt, has joined the Mobile Couchbase team, bringing significant expertise to the community-driven project. His involvement is expected to accelerate development, signaling future growth and advancements for the project. The announcement was made by Chris, who expressed enthusiasm about the potential contributions Jens will make to the team.
Dec 16, 2014
124 words in the original blog post.
I'm thrilled that Membase has been recognized as a company to watch by IDC, a reputable organization known for its extensive research and rigorous award selection process. This award brings credibility to our innovative work in the NoSQL space, particularly since we're not one of the first products in the market. The IDC recognition acknowledges the strategic importance of NoSQL databases for enterprise customers and the significant opportunity it represents for companies like us. We've seen a marked increase in interest and uptake of our software, with customers seeking alternatives to complement their relational database solutions. Many enterprise customers are now recognizing the need for non-relational solutions on the back end, as evidenced by the growing number of inquiries and engagements we're seeing from financial services, retailers, and media companies. Overall, this award is a testament to Membase's innovative work in addressing the needs of interactive web applications.
Dec 16, 2014
504 words in the original blog post.
Span is a London developer conference that focused on building scalable systems, featuring talks from developers and industry experts covering topics such as reactive programming, unified logs, and distributed data stores. The conference was sponsored by Couchbase, which sees scalability as its primary driver in all aspects of its development, including its shared-nothing architecture and Database Change Protocol. A video of the conference's talks will be available online soon, with plans already underway for a second edition, Span 2015.
Dec 16, 2014
230 words in the original blog post.
The blog post delves into the topic of pagination in Couchbase, particularly when handling large document queries, and provides insights beyond the basic documentation. It illustrates the process with an example using a view based on the beer-sample dataset to list breweries by country, demonstrating both simple and more efficient pagination methods. The post contrasts the basic skip/limit parameters with a more refined approach using startkey and startkey_docid parameters, which improves efficiency by avoiding the need to read all rows up to the skip value. Additionally, the article highlights the use of Couchbase's Java SDK Paginator, which simplifies pagination by automatically switching between methods based on the query type and maintaining state across HTTP requests. The author emphasizes that while simple approaches may seem straightforward, they can be inefficient for distant pages, and the Paginator class offers a more integrated solution for Java developers, allowing for more efficient navigation of query results.
Dec 16, 2014
1,132 words in the original blog post.
The NoSQL adoption survey results indicate that mainstream languages such as Java and C# are being used to build applications atop NoSQL database technology, with only 2.1% of respondents indicating that pure C was the most widely used language. The survey also found that many respondents hate relational database technology, citing issues such as schema management and scalability as their main pain points. Notably, 53.6% of respondents have used Couchbase in 2011, followed by 10gen/MongoDB at 32.9%. In terms of planned use in 2012, Couchbase remains the top choice among respondents, with 69.7% indicating its intention to use it again. The survey also found that many respondents are frustrated with the complexity of their NoSQL databases and lack of user-friendly interfaces for data manipulation. Additionally, a significant number of respondents work in traditional industries such as financial services, insurance, and media, which is not typically associated with IT risk-taking. Overall, the results suggest an accelerating mainstreaming of NoSQL technology among enterprise users.
Dec 16, 2014
1,467 words in the original blog post.
The release of Couchbase .NET SDK version 1.3.9 is a minor update featuring a single patch, reflecting a shift in focus towards the upcoming .NET SDK 2.0 Beta, which emphasizes eliminating major bugs, improving documentation, and developing new example applications. Users can access the updated binaries on S3 or install them via NuGet by using the NuGet Package Manager Console. For any issues or installation problems, users are encouraged to provide feedback through various channels, including a Q&A forum, creating an NCBC in Jira for bugs or features, or contacting the developer on Twitter.
Dec 16, 2014
115 words in the original blog post.
The Membase beta program has released an update featuring official support for Ubuntu versions 9.04 and higher, along with several bug fixes, as detailed in the release notes. The program manager has announced weekly beta webinar calls every Thursday, which will continue until the end of the beta. These sessions include demonstrations, discussions on bugs, and a Q&A segment. Participants who download the beta are automatically invited to join these calls. The first webinar included a demo on server installation and addressed some of the initial release's bugs and feature questions. Regular updates and news will be posted, and further engagement is available on the NorthScale forums.
Dec 16, 2014
188 words in the original blog post.
The latest Couchbase blog provides a comprehensive update on recent and upcoming events, including the successful conclusion of Big Data Week in London and the anticipation for Mobile Madness and Couchbase Live in NYC. It highlights key dates such as the Kansas City Developer’s Conference on May 16 and the submission deadline for the Mobile Developer Challenge on May 19. The blog also announces various software releases, emphasizing bug fixes and the release of Couchbase .NET SDK 2.0 Developer Preview 1, which introduces a new unified API and improved features for better database management. Additionally, Couchbase has launched a new Plug-in for Elasticsearch, complete with download links and installation instructions. The Editor's Picks section features notable articles and blogs, inviting readers to contribute their content for future inclusion.
Dec 16, 2014
383 words in the original blog post.
A new major version of the Node.js SDK for Couchbase has been released, offering enhanced features, bug fixes, and performance improvements introduced with libcouchbase 2.4.0. Key updates include a new Cluster type for easier management of multiple buckets, a uri-like format for cluster bootstrapping, renamed bucket operations to emphasize document-oriented usage, and support for SSL-encrypted communications. While these changes maintain backward compatibility with previous SDK versions, accessing new features may require code adjustments. The release, available via npm, is not tagged as the latest, requiring specific inclusion in package configurations. Additionally, ongoing developments include a Couchbase ODM for Node.js inspired by the mongoose module, with community contributions encouraged once development becomes more open.
Dec 16, 2014
504 words in the original blog post.
The text discusses two performance optimizations for Couchbase 2.5.1 and below, which affect reading and writing operations in the cluster. These changes should only be made with properly sized clusters to avoid problems. The first optimization involves adding more reader/writer threads per bucket, allowing more operations to be performed. The second optimization optimizes Couchbase for mixed usage or write-heavy workloads by adjusting workload optimization settings using a REST API call. Additionally, changes require a restart of the bucket to take effect, and it is recommended to plan accordingly for downtime. However, these optimizations are no longer necessary in Couchbase 3.x due to the introduction of the Global Thread Pool, which dynamically manages threads and balances them according to workload intelligence.
Dec 16, 2014
575 words in the original blog post.
The text provides an in-depth discussion on the critical considerations for sizing a Couchbase Server 2.0 cluster for production environments. It highlights the importance of evaluating performance and capacity requirements to determine the number of nodes needed, focusing on five key factors: RAM, disk (both size and IO), CPU, network bandwidth, and data distribution. RAM is emphasized as crucial for low-latency reads and writes due to its role in caching, while the append-only disk format offers advantages in performance and reliability but demands careful management of disk space and IO. The CPU requirements have increased with new features, and network bandwidth, although less frequently a limiting factor, still requires attention to minimize latency. Effective data distribution is vital for scalability and redundancy, suggesting at least three nodes to avoid single points of failure. The text underscores the need for testing and monitoring to ensure the cluster remains appropriately sized and hints at further detailed discussions in the subsequent parts of the series.
Dec 16, 2014
1,656 words in the original blog post.
The text discusses the integration of logging capabilities in the .NET Client Library for Couchbase, specifically focusing on the use of the Glimpse diagnostics tool to facilitate logging in ASP.NET applications. With the latest release of the library, logging assemblies are included by default, supporting log4net and NLog. For developers using Couchbase with ASP.NET, enabling logging via Glimpse provides a simplified way to view detailed diagnostics, including web.config settings and server variables, without having to learn a new framework. The open-source Glimpse project, created by Nik and Anthony and supported by Redgate, offers a powerful extensibility model that allows developers to implement custom logging providers by leveraging the ILog and ILogFactory interfaces in the Couchbase client. The Couchbase.Glimpse extension can be installed to capture per-request logs and display them in Glimpse, offering valuable insights into the Couchbase client operations, especially when diagnosing connection issues with the cluster. The text also notes the importance of configuring log levels and mentions that persistent logging requires using log4net or NLog, while the GitHub repository provides a sample app showcasing the Glimpse integration.
Dec 16, 2014
621 words in the original blog post.
The first Membase project Meetup, co-hosted with Zynga, took place at Zynga's San Francisco facilities, thanks to the efforts of Ben Hall, Flo, Joi, and others who helped arrange the venue and logistics. Special appreciation was expressed for Zynga's unusual accommodation of the event, as well as to Leila and Melinda from Membase for organizing additional details, including providing attendees with t-shirts. Presentation slides from the event have been made available, and for those who missed it, another Meetup is scheduled for November 10 at Hewlett-Packard's facilities in Cupertino.
Dec 16, 2014
133 words in the original blog post.
The text critically examines the term "NoSQL" and its inadequacies as a categorical label for diverse database technologies, arguing that such nomenclature is largely unhelpful in evaluating a database's suitability for specific use cases. Highlighting the divergence and convergence of database solutions like Mongo, Couch, Cassandra, and Riak, the text underscores that these systems are increasingly being assessed based on their ability to meet real-world needs such as mobile data synchronization and supporting interactive web applications, rather than their underlying data models. It suggests that a focus on use cases, rather than labels or data models, would better guide users in selecting appropriate database solutions. The text also reflects on the historical parallels with the Object-Oriented Database Management System (OODBMS) hype of the 1990s, noting that while the NoSQL movement addresses real deficiencies in existing database technologies, its success hinges on its practical applicability to emerging computing needs. Finally, the author calls for a more precise, use case-oriented taxonomy, possibly favoring terms like "cloud database," to replace the ambiguous "NoSQL" label.
Dec 16, 2014
2,269 words in the original blog post.
The author created a reference application called TapMap for using .NET and Couchbase Server, which is a Twitter-like app focused on beers. The app's basic idea is that users report finding certain brews at specific locations, with the reports stored in Couchbase Server. The code for TapMap is still alpha, but it demonstrates how to create a simple Repository of T for Couchbase using the .NET Client Library. The repository pattern provides standard CRUD methods and allows for inheritance and generics. The author also discusses how to handle model objects with an ID property and impose a "type" property on documents for view access. The TapMap application uses this repository pattern to store and retrieve user data, including username and password, in a way that ensures uniqueness and enforce data consistency.
Dec 16, 2014
1,790 words in the original blog post.
Growing up as a computer enthusiast in Baton Rouge, Louisiana, the author dreamt of working in Silicon Valley and eventually realized that dream, becoming deeply involved in the evolution of computing technology. He describes his experiences in the shift from mini- to micro-computing and the rise of the Internet, with a focus on the most transformative shift of his career: cloud computing. Co-founding Akimbi Systems, later acquired by VMware, he contributed to the foundation of VMware's cloud provisioning platform. Now at NorthScale, he is focused on developing open-source infrastructure software, particularly supporting the memcached community, which powers numerous top web applications. The author emphasizes the importance of contributing back to the open-source community and expresses enthusiasm for future developments in cloud computing and open-source software.
Dec 16, 2014
907 words in the original blog post.
Couchbase has announced the release of Couchbase Server 2.5.1, which features enhancements in cross datacenter replication (XDCR) and the cluster manager, thanks to the efforts of Product Manager Don Pinto and his team. Additionally, the company has unveiled the third Developer Preview of N1QL, a next-generation SQL-like query language for Couchbase, with a live webinar scheduled for April 30 to explore its capabilities. Couchbase is actively participating in events such as Big Data Paris and Couchbase Live in London, showcasing expertise and collaboration with notable customers. The company also highlights various resources and community engagements, including a blog on improving ASP.NET session storage performance using Couchbase, and a lighthearted mention of using Couchbase to monitor Major League Soccer.
Dec 16, 2014
366 words in the original blog post.
The Couchbase Client Library 1.2-Beta introduces an API for basic cluster management, allowing applications to create buckets and set design documents during startup. This API is encapsulated in the CouchbaseCluster class within the Couchbase.Management namespace. A command-line utility framework, available on GitHub, automates the creation of Couchbase views by using new attributes to decorate model classes. Using attributes like CouchbaseDesignDoc and CouchbaseViewKey, developers can specify which properties of a class should be indexed, facilitating the automatic creation of design documents and views. The framework consists of components like ConfigParser, ViewBuilder, DesignDocManager, and ViewRunner, which collectively parse configuration files, build design documents from annotated classes, and manage their creation on the CouchbaseCluster. While the framework is functional, it is in beta and not officially supported, with the potential for future API changes. Users have expressed challenges in integrating the framework with Couchbase Server, particularly in saving and retrieving views, highlighting a need for more intuitive documentation or a fluent interface for design document creation.
Dec 16, 2014
1,511 words in the original blog post.
Couchbase Server 3.0 introduces a wide array of features and enhancements aimed at improving scalability, performance, availability, security, administration, and developer empowerment. Key improvements include tunable memory for handling large data footprints, optimized throughput with a new auto-tuning thread pool, lower latency for view synchronization and cross datacenter replication, and enhanced disaster recovery with incremental backups. Security is bolstered through encrypted data access and secure administrative communications. Administrative tasks are simplified with faster rebalancing, improved resource governance, and enhanced manageability of cross datacenter replication. Developers benefit from fully integrated native JSON support and powerful async interfaces for building richer applications, along with integration with popular frameworks. The release encourages community participation in a Bug Bash to further refine the product, inviting users to test the 3.0 Beta and provide feedback.
Dec 16, 2014
578 words in the original blog post.
The current state of database technologies often forces users into unnatural digital structures, leading to a less-than-ideal experience. Traditional methods like relational databases were created to address space limitations but can be limiting in their ability to accommodate natural concepts and workflows. In contrast, Couchbase is designed to be more flexible and human-readable, allowing users to work with natural concepts from the start. The Open Beer Data dataset is used to demonstrate this approach, featuring two types of documents: "Beer" and "Brewery". These documents are structured in a way that is easy for humans to read and understand, making it simple to retrieve and manipulate data. By using Couchbase's schema-less design, users can focus on building software without being constrained by rigid structures. The dataset showcases the value of flexible document structure, allowing users to create more intuitive and user-friendly applications.
Dec 16, 2014
884 words in the original blog post.
The series on Couchbase Server sizing concludes with a detailed exploration of the metrics necessary for monitoring and adjusting the size of a running cluster, emphasizing the importance of continuous observation and adaptation in production environments. Key metrics to track include RAM, disk I/O and space, CPU, network, and data distribution, all of which should be monitored both internally within Couchbase and externally from the system's perspective. The text highlights the necessity of setting appropriate thresholds and alerts for these metrics to preemptively address potential issues, recommending a centralized monitoring system for efficiency. Administrators are advised to regularly review these metrics to determine the need for adjustments, such as adding nodes, to maintain optimal performance and avoid disruptions. The discussion also touches on specific considerations for virtualized and cloud environments, noting that while the principles remain the same, thresholds and baselines may differ based on the underlying infrastructure.
Dec 16, 2014
2,699 words in the original blog post.
CouchConf is eagerly anticipating showcasing innovative uses of its technology and is inviting nominations for projects through a quick form submission by July 15th. The winners, who are not required to attend the conference to qualify, will be announced during the event and will receive an iPad2 as a prize. Chris expresses enthusiasm about reviewing the submissions to discover the various projects being undertaken.
Dec 16, 2014
79 words in the original blog post.
The NorthScale Memcached Server aims to simplify the process of deploying and managing memcached servers by introducing a REST interface that allows for easy interaction with the cluster. This makes it simpler for clients and applications to access and manage memcached services, reducing the need for custom coding or configuration files. The server provides a coherent state, simple HTTP/JSON REST services, and fast information about and access to the memcached services provided across the cluster.
Dec 16, 2014
518 words in the original blog post.
Couchbase Server 2.0 represents a significant advancement in distributed document database technology, focusing on stabilization and resource optimization. Key improvements include the development of Couchstore, a high-throughput, recovery-oriented storage engine rewritten in C for enhanced performance and lower resource usage compared to its Erlang predecessor. This new engine supports high-efficiency data operations by allowing concurrent reads and writes, along with asynchronous indexing and MVCC. Another major feature is the integration of CouchDB's incremental map/reduce views into Couchbase, enhanced for clustering with consistency during rebalance and failover, using a bitmap partition index for efficient query performance. Additionally, the release introduces Cross Data Center Replication (XDCR), enabling geographically dispersed, cluster-aware replication to reduce latency for distant users by bringing data closer to them. This replication system is designed to handle network failures and different cluster topologies, resolving conflicts with a "most edited" rule to ensure data consistency across clusters. With these foundational upgrades, Couchbase Server 2.0 sets the stage for future innovations in database technology.
Dec 16, 2014
1,101 words in the original blog post.
A death spiral occurs when a system becomes overloaded due to an increase in concurrency, causing it to slow down or become unresponsive. This can happen in single-node systems where the load balancer is unable to handle the sudden surge of requests, and in distributed systems where requests spawned by one node can cause other nodes to become overwhelmed. Limiting concurrency close to the client, using job queues, avoiding loops in the call graph, and marking servers dead or limiting outbound concurrency per destination server can help prevent death spirals. By understanding these causes and following design guidelines, developers can build more robust and reliable distributed services that can handle real-world conditions.
Dec 16, 2014
1,942 words in the original blog post.
The text provides a detailed explanation of how to use views with compound keys in Couchbase to sort and group data efficiently. By converting timestamps into arrays, known as "compound keys," views can be queried at different group levels to aggregate and count data based on specific time intervals, such as year, month, or day. The process involves using a Map function to emit data as string-based arrays, which requires careful handling of string comparisons and zero-padding to ensure accurate sorting. The explanation highlights the importance of understanding string handling and Unicode collation for effective use of compound keys, as well as the potential for using them beyond views, such as in range queries. Additionally, the text emphasizes the distinction between string and integer comparisons in this context, underscoring the need to consider these differences when designing queries.
Dec 16, 2014
838 words in the original blog post.
The new release of GeoCouch improves spatial index building time by up to 10x, thanks to a new bulk insertion algorithm that uses an append-only data structure and reduces the number of disk operations required for inserting geometry entries. The current implementation updates the index when a request is made to use it, rather than when a new document is inserted, allowing for more efficient update performance. GeoCouch's bulk insertion algorithm creates clusters out of the entire bulk update that match the existing index structure and then bulk loads them into R-trees using an overlap minimizing top-down (OMT) algorithm. The algorithm balances the height of the target tree and reduces physical writes to disk, resulting in improved performance and file sizes compared to traditional single item insertion strategies. Future improvements may involve optimizing the client API for setBulk method or having Couchbase Server execute bulk operations.
Dec 16, 2014
1,068 words in the original blog post.
The memcached project has been actively working on improving its extensibility, portability, and documentation, aiming to make it easier for companies to solve their scaling problems without sacrificing flexibility or maintainability. The team has made significant progress in solidifying the storage engine interface, allowing for more real-world scenarios to be handled and reducing the need for forks to solve one-off problems. They have also improved support for Windows and rewritten the documentation to make it more comprehensive and approachable. The project is expected to release a 1.4.6 maintenance update to address common issues and will be showcased at the MySQL User Conference in Santa Clara, where attendees can learn about storing data and retrieval techniques.
Dec 16, 2014
419 words in the original blog post.
NorthScale's new chief executive is excited about the company's potential to transform the data management space with its focus on simplicity and noSQL technology. The emergence of modern application development necessitates scale-out technologies that traditional relational databases cannot accommodate. NorthScale aims to leverage the popularity of memcached to create a leading key-value database technology that combines speed, scalability, and simplicity with necessary database features like persistence and replication. The company's approach allows customers to adopt noSQL solutions without complex changes to their existing systems, providing immediate value. With a talented engineering team and recent financial backing, NorthScale is poised to accelerate its growth and support customers in scaling their data layers for modern applications.
Dec 16, 2014
691 words in the original blog post.
When modeling a document database, it's essential to consider the trade-offs between queryability and data integrity. Answering questions you know you'll ask upfront is crucial, as this allows for pre-computing answers that can be pulled from the database in a single lookup. This approach differs from relational databases, where queries are often more complex and CPU-intensive. By embedding data for convenience and referring to it for integrity, developers can optimize their document database models for performance and scalability. The key is to balance queryability with data consistency, ensuring that updates are universal and easy to query. In a production system, generating multiple pre-computed answers can improve user experience and reduce lag, while also making it easier to distribute data across a cluster.
Dec 16, 2014
1,253 words in the original blog post.
There are many occasions when I need to quickly refer to the programming APIs when I am trying something new. For my personal use, I created one handy Couchbase Server 1.8.1 Java Cheat Sheet, which I hang on my desk always. This cheat sheet helped me quite a bit and has saved me from getting annoyed of looking up for same APIs again and again. It is designed to act as a reminder and reference sheet, listing useful information about the Couchbase Server 1.8.1 Java SDK.
Dec 16, 2014
99 words in the original blog post.
The newly released developer preview, DP3, for Couchbase introduces significant updates with a focus on transforming Couchbase from a key/value store to a document database, which reflects in the revised public API. This update includes methods that now handle document objects instead of key/value pairs, enhancing the ease of use for developers working with JSON documents. Additionally, the CouchbaseCluster instantiation process has been revamped, moving away from a singleton pattern to allow multiple instances, while a new ClusterHelper class serves as a wrapper singleton for those who still require a single instance per AppDomain. The repository has also been relocated from CouchbaseLabs to the official Couchbase GitHub, indicating a more formal adoption of the changes. Although these updates promise improved functionality, the release remains a pre-production version, and feedback is encouraged to refine the final product, with the caution that it should not be used in a production environment due to potential issues in scenarios like failover or rebalance.
Dec 16, 2014
957 words in the original blog post.
The author attended the Los Angeles CloudCamp, where they led a session on scaling data and proposed another topic related to the CAP theorem. The CAP theorem was discussed during the proposal of sessions, with some assertions that were later found to be incorrect. Microsoft's SoCalDevGal presented on SQL Azure, which is their hosted relational database as a service. The presentation revealed that initially, Microsoft was not planning for full SQL compliance but customer feedback led them back to providing it. Interestingly, SQL Azure is designed as a CA system, meaning it prioritizes consistency and availability over performance, with data replication across multiple datacenters, making it vulnerable to potential "CNN moments". The author's session on scaling data discussed tradeoffs in designing systems, including the importance of considering geographic distribution and availability for certain types of applications.
Dec 16, 2014
931 words in the original blog post.
The CEO of CouchOne, Damien Katz, has announced a merger with Membase, resulting in the creation of Couchbase. The two companies were targeting different pain points in the market: CouchOne focused on mobile, sync, and offline use cases, while Membase targeted large-scale mission-critical apps requiring high performance and scalability. The combined entity will offer a unified solution that simplifies technology stacks and maintenance for building fast-responsive apps that scale to millions of users. The merger brings together complementary technologies and teams, allowing for faster development speed and improved support experience. Couchbase will be the standard storage for mobile devices and server technology for syncing them together, offering a high-volume, low-latency, elastic clustered server system with reliability and power.
Dec 16, 2014
732 words in the original blog post.
Couchbase has emerged as the clear leader in high-performance, general-purpose NoSQL databases, outperforming MongoDB and Cassandra DataStax in benchmark comparisons. The company's architecture was designed from the beginning to handle performance at scale with modern infrastructure, leveraging advances in memory and network technologies, whereas MongoDB and DataStax are struggling with architectural design flaws that hinder their ability to meet mission-critical deployment requirements. As the NoSQL market shifts towards phase 2, where high-performance is key, Couchbase's superiority becomes increasingly evident, making it an attractive option for enterprises looking to replace these databases with a more scalable solution.
Dec 16, 2014
213 words in the original blog post.
The new book "Getting Started with Couchbase Server" was released by O'Reilly, providing a wealth of information on deploying and managing a Couchbase Server cluster. The book covers critical administration tasks such as expanding and shrinking the cluster size and includes a background guide to monitoring statistics within the administration console. This material complements the main Couchbase Server manual but is intended to serve as an offline reference for key information. The author has also started working on a follow-up title, soliciting feedback from readers on what topics they would like to see included.
Dec 16, 2014
198 words in the original blog post.
Couchbase has introduced new ribbons for their Couchbase Server, allowing developers to showcase that their applications are powered by this technology. These ribbons can be easily added to websites by embedding a simple HTML snippet, with options for red or blue ribbons. The initiative is aimed at encouraging more developers to create applications using Couchbase Server 2.0, with the company expressing eagerness to learn about these new projects. The introduction of the ribbons is expected to increase the visibility and adoption of applications utilizing Couchbase Server.
Dec 16, 2014
147 words in the original blog post.
Brett Lawson, the new Couchbase Node.js SDK developer, has announced the release of Couchnode version 1.0.0, marking the first general availability of the Couchbase Node.js driver. Lawson, who has been contributing to the Node.js SDK for over ten months, brings experience from the social games industry. The new release concludes an accelerated development process and introduces a more uniform API, built-in storage durability requirements, and refactored view APIs to support a new paging feature. These enhancements aim to simplify connection and data operations, making the SDK more robust and user-friendly for developers.
Dec 16, 2014
631 words in the original blog post.
A new beta release of the PHP SDK has been announced, featuring minor bug fixes and initial support for cross-SDK data types. The full API documentation is accessible online, and installation instructions vary based on the operating system. For Linux, users can build and install the library from the source code, while Windows users have the option to download pre-built binaries specific to various PHP versions and architectures. It is essential to have libcouchbase 2.4.0 installed before adding the PHP extension. Users are encouraged to report issues through the Couchbase Communities site or the issues tracker, fostering community support and feedback.
Dec 16, 2014
260 words in the original blog post.
The article addresses the challenges faced by users employing the Couchbase PHP SDK with nginx and PHP-FPM, particularly concerning the management of connections between PHP child processes and Couchbase. It explains that FPM often results in a surplus of Couchbase connections, as many PHP processes run concurrently, leading to inefficiencies and performance issues. The primary concern is the inability of multiple FPM processes to share a single Couchbase connection, which escalates the number of connections needed and results in costly teardown and restart cycles when process limits are reached. To alleviate these challenges, the article suggests using the Couchbase Configuration Cache available in the PHP SDK v1.1.5+, which reduces the need for constant configuration queries by caching cluster topology information. Additionally, it advises adjusting the FPM configuration by lowering the number of max_children and increasing max_requests to enhance resource efficiency and minimize the recreation of client objects, ultimately optimizing the performance of the PHP and Couchbase setup.
Dec 16, 2014
634 words in the original blog post.
The Couchbase Python client has released new versions featuring a more user-friendly API and improved performance by leveraging libcouchbase, with compatibility now extended to Python 3. Initially developed from a Python script by Dustin Sallings and later advanced by Benjamin Young, the client underwent a significant rewrite to enhance usability and performance, breaking away from its backward compatibility constraints. The new API draws inspiration from the Ruby client and requires users to build the module themselves after installing libcouchbase. While not yet feature-complete—with evolving support for views and anticipated API changes—further development is encouraged, and contributions from the community are welcomed, with guidance available in the project's GitHub repository. Users can engage with the development team through various channels, including the Couchbase developer discussion and the #libcouchbase IRC channel on Freenode.
Dec 16, 2014
446 words in the original blog post.
Membase.org was launched in partnership with NorthScale, Zynga, and NHN, introducing a distributed, key-value database management system designed to scale without interrupting data services. This system, aimed at addressing gaps in the NoSQL landscape, leverages existing infrastructure built around the memcached protocol while enhancing durability and replication through the implementation of vbuckets, which manage data location intelligently. Moxi, a component of the system, helps clients handle operation deduplication and intelligent connection sharing, making it compatible with existing systems. Membase's approach allows for dynamic growth and shrinkage, offering a robust solution for applications that require both SQL and non-SQL functionalities. The ongoing development of membase.org promises further insights into the system’s capabilities.
Dec 16, 2014
732 words in the original blog post.
NorthScalers recently made notable advancements involving memcached technology, with Dustin Sallings introducing EMemcached, a memcached server implementation in Erlang, sparking considerable interest due to the unique combination of technologies. In parallel, Patrick Galbraith announced the integration of memcached user-defined functions (UDFs) into the mainline of the Drizzle project, a MySQL fork, making it more accessible to work with memcached within the Drizzle relational database management system. The team continues to focus on developing innovative Scale Out Data infrastructure, promising further exciting developments.
Dec 16, 2014
128 words in the original blog post.
Membase ServerTemplates are now integrated into the RightScale Cloud Management Platform, allowing RightScale users convenient access to a prominent NoSQL database and enabling Membase users to leverage a leading cloud management platform for deploying applications in various cloud environments such as AWS, Rackspace, GoGrid, and Eucalyptus. The ServerTemplates act as blueprints for cloud servers, simplifying tasks like IP address allocation and server interaction within a cloud setup. This integration is particularly beneficial for social gaming companies, which are significant users of Membase, RightScale, and AWS, and a webinar is planned to showcase how these companies use these technologies to build successful businesses. The partnership aims to enhance accessibility and user experience for deploying web applications in the cloud, with the company seeking further collaborations with other cloud services to continue improving user experience.
Dec 16, 2014
356 words in the original blog post.
Exploring new technologies often involves understanding public sentiment, and Twitter provides a valuable platform for this by allowing the visualization of popular topics through tag clouds. The author details a hands-on project using Couchbase Server and Python to create a tag cloud from Twitter data, demonstrating its simplicity and effectiveness. The process involves setting up a Couchbase Server 2.0 view with mapreduce in JavaScript, connecting it with Twitter's API using a Python script, and displaying the results on a webpage. This method not only makes it easy to track trending topics but also highlights the straightforward integration of a Twitter tag cloud backed by Couchbase Server.
Dec 16, 2014
282 words in the original blog post.
The text discusses the logging and instrumentation features of the new Couchbase SDK 2.0, emphasizing their importance in isolating issues and ensuring proper application functionality. It highlights the SDK's support for various logging implementations via the Apache Common.Logging interface, including Log4net, NLog, System.Console, and custom options. The SDK provides dependencies for Common.Logging, which can be managed through zip files or Nuget packaging. It details the setup for logging to System.Console for testing purposes but suggests using frameworks like Log4net or NLog for production, recommending file or database outputs for logging data. The text also outlines the standard log levels used by the client, such as Trace, Debug, Error, Fatal, Warn, and Info, and describes their application in tracking operation execution, configuration management, and exceptions.
Dec 16, 2014
510 words in the original blog post.
N1QL is an advanced query language designed for Couchbase Server that extends beyond traditional SQL by supporting attributes with multiple, nested values. This text explores how N1QL can be utilized in e-commerce applications, specifically for querying product categories, retrieving customer email addresses, and managing shopping cart transactions. Through examples, it demonstrates how to list products by category, concatenate customer names, prepare purchase orders, and calculate monthly sales revenue. The document highlights N1QL's functionality in handling JSON documents for user profiles and encourages readers to explore more about the language through additional resources and webinars.
Dec 16, 2014
432 words in the original blog post.
A recent meme at the NoSQL East meetup proposed that NoSQL should stand for "Not Only SQL," which is seen as an improvement over the traditional "No SQL" label. The author expresses a desire for a better term and mentions an upcoming talk titled "NoSQL is a horseless carriage" at the NoSQL Oakland meetup, inviting attendees to join the discussion.
Dec 16, 2014
78 words in the original blog post.
In this week's roundup of Couchbase NoSQL news, several community events and updates are highlighted, including the launch of the Couchbase Mobile Developer Challenge, which invites developers to create innovative apps using Couchbase Lite Beta 3 for a chance to win prizes. The new Big Data microsite is introduced, showcasing Couchbase's Big Data initiatives with various resources and use cases. The successful Couchbase Live event in London featured insights from both experts and clients like Viber and Ticketmaster. Blog posts on topics such as Couchbase Server and Heartbleed, and the transition of Viber from MongoDB to Couchbase are featured, along with editor's picks and fun content like a webinar on Couchbase and CFML. The roundup encourages community engagement by inviting submissions of Couchbase-related media and promoting social media channels for the latest updates.
Dec 16, 2014
347 words in the original blog post.
Couchbase Server's CAP behavior varies significantly between single cluster deployments and multi-cluster deployments using Cross Data Center Replication (XDCR). In a single cluster setup, Couchbase is primarily a CP system, with the capability to prioritize availability over consistency through auto-failover mechanisms. However, when employing XDCR across multiple clusters, Couchbase shifts towards an AP system, offering eventual consistency by resolving write conflicts and ensuring availability across clusters. The document emphasizes that while CAP is a useful introductory concept for understanding system behavior, it may not fully capture the complexities of Couchbase's deployment topologies. It also provides a detailed table outlining the CAP balance across different deployment configurations, highlighting the importance of understanding XDCR's role in high availability and disaster recovery scenarios.
Dec 16, 2014
624 words in the original blog post.
memcached on OpenSolaris is a privilege-aware application that takes away its privileges, specifically file link and fork/exec/info/session privs, to prevent potential security exploits such as stack smashes. This feature leverages the Solaris least privilege model, which allows processes to relinquish their own privileges. The memcached application's design ensures it cannot be used as a vector for these types of attacks.
Dec 16, 2014
125 words in the original blog post.
The PHP SDK beta release includes minor interface changes and a more comprehensive management interface, with documentation available online. The SDK can be installed on Linux systems by building the source code, while Windows users can download pre-compiled versions. Before installing, users must have libcouchbase 2.4.0 installed, and issues or bugs should be reported through specific channels such as the Couchbase Communities site or issues tracker.
Dec 16, 2014
272 words in the original blog post.
Oracle has announced its entry into the NoSQL market, marking another step towards NoSQL's expected disruption of the database industry. The move is a clear indication that powerful trends like Big Data and Cloud Computing are driving adoption of NoSQL technology, with early adopters rapidly moving to NoSQL solutions. This marks a significant milestone for the NoSQL industry, which has been gaining traction among enterprises and skeptics alike. While Oracle's entry may not make its market presence easy, it signals the arrival of NoSQL into the mainstream and paves the way for further innovation in the space. The NoSQL industry is now poised to benefit from a more diverse range of vendors, including Oracle, which will bring its own strengths and challenges to the table.
Dec 16, 2014
557 words in the original blog post.
The author of the post recently discovered a bug in their Membase application, which was caused by not checking for expiry in a specific sequence of operations. To write this test, they created a custom testing framework that can generate tests for any sequence of actions with multiple possible outcomes. The framework is composed of five classes: Condition, Effect, Action, and Driver, which work together to express preconditions, postconditions, effects, and the overall action. The Driver class provides methods for generating C test suites and executing tests across a remote protocol. The author's testing framework was able to identify the bug and other issues with limited effort, demonstrating its effectiveness in ensuring the reliability of their application.
Dec 16, 2014
735 words in the original blog post.
Version 1.3.5 of the Couchbase .NET SDK has been released as a maintenance update, addressing several issues including resource release through a finalizer in CouchbaseClient, a bug fix for SetSocketOption under the mono runtime, improved NUnit tests, a fix for a regression bug involving incorrect GetView overload calls, and method overloading ambiguity with named parameters. Additionally, the source files have been standardized to use spaces for indentation. The updated SDK can be obtained via Nuget or downloaded directly, and special thanks were given to contributors Jim Walker and Virat Swarswat for their patches, highlighting the importance of community involvement in this open-source project.
Dec 16, 2014
355 words in the original blog post.
In this detailed exploration of Couchbase cluster sizing, the author delves into the influence of application designs and workloads on the five key factors: RAM, disk, CPU, network, and data distribution. The text highlights the transition from Couchbase Server 1.8 to 2.0, noting the added complexity due to new features like Cross Datacenter Replication (XDCR) and views for indexing and querying. It emphasizes the need for careful consideration of RAM and disk requirements, particularly when dealing with XDCR, which increases both CPU and disk IO demands. The discussion also covers the impact of the new view system on disk space, IO, and CPU usage, stressing the importance of best practices in view design to mitigate resource strain. Rebalancing with views requires additional RAM, disk space, and IO, but benefits from having more nodes. Overall, the piece underscores the importance of tailoring cluster sizing to specific application needs and testing thoroughly in production environments.
Dec 16, 2014
2,490 words in the original blog post.
As a developer, you can use the cbworkloadgen tool to test and monitor your Couchbase cluster's performance by generating random workloads and observing the activity of your cluster. The tool provides basic testing functionality but is not designed for performance or stress testing, allowing you to tune the ratio of set:get operations, document size, number of concurrent worker threads, and more. To start a test, simply execute the cbworkloadgen tool with the IP address of the running node and the -n option. You can also control the duration and complexity of your workload by adjusting parameters such as the number of items to insert, item size, and thread count. The results will be displayed in the Couchbase admin UI, providing valuable insights into your cluster's performance and helping you optimize your applications for better scalability and efficiency.
Dec 16, 2014
339 words in the original blog post.
The document details the process of setting up Membase on OpenSolaris, focusing on running moxi as a service managed by the Service Management Facility (SMF). The author explains the steps needed to clone the necessary tools from a Git repository, create ZFS datasets, and compile the source code. The guide includes instructions for changing ownership permissions in the directory where the software is installed. The process involves checking out various components using git and setting up the environment for installation. Finally, the document describes the configuration of the moxi service through SMF, including adjusting parameters such as the URL to point to the desired bucket, and concludes with starting and verifying the service status.
Dec 16, 2014
469 words in the original blog post.
Couchbase Server provides different ways for applications to access data, including basic key-value operations, secondary indexes, and full-text search, each suited for specific scenarios. Secondary indexes, defined using JavaScript views with map and optional reduce functions, are ideal for quick key-based lookups and range queries, such as listing product names in a catalog. They use a B-tree data structure and offer eventual consistency with the stored documents. In contrast, full-text search is suitable for searching large volumes of textual data, as it maps document terms to document IDs, enabling efficient ad-hoc queries across the dataset. Couchbase integrates with Elasticsearch for real-time document replication and full-text indexing, allowing keyword-based searches, such as finding products with attributes like "red." While full-text search is recommended for term-based search and human consumption, secondary indexes are better for machine/programmatic consumption.
Dec 16, 2014
531 words in the original blog post.
Chef is presented as a robust solution for administrators aiming to deploy Couchbase at scale, accommodating diverse server infrastructures, whether physical, virtual, or cloud-based. The blog details the use of Chef recipes to install Couchbase, set up clusters, create buckets, and establish cross-data center replication (XDCR) between clusters. It emphasizes the importance of understanding Chef's components, such as chef server, cookbooks, and chef-clients, and provides guidance on setting up a Chef server, workstation, and integrating nodes as chef-clients. Customizations and attributes, like server edition and version, are discussed, along with the use of roles to manage cluster configurations. The blog also highlights the use of data-bags for large-scale cluster management and addresses user comments regarding integration and troubleshooting, particularly concerning cluster name overrides.
Dec 16, 2014
948 words in the original blog post.
The text discusses the value of the memcached ecosystem, emphasizing the importance of well-defined client APIs and an over-the-network protocol, which is beneficial for a wide array of applications. It highlights the existence of numerous clients across various platforms and languages, noting the straightforwardness of implementing the protocol's basics, leading to many partial clients. The text also addresses the need for a tool to quickly assess protocol compliance in implementations, which was realized through the creation of "memcapable," a utility incorporated into libmemcached. This tool, developed through collaboration among developers, including the author, Brian Aker, and Trond, serves to help users determine the extent to which new implementations support the memcached protocol. The text concludes with an example of Patrick Galbraith using memcapable to evaluate Tokyo Tyrant, illustrating the tool's practical application.
Dec 16, 2014
439 words in the original blog post.
The text discusses the evolution of open source into what is referred to as its fourth stage, characterized by a renewed emphasis on collaboration, community, and commercial interests. This stage is exemplified by the membase.org project, led by NorthScale, which addresses the need for a simple, fast, and elastic NoSQL database, with contributions from both vendors and customers like Zynga and NHN. Unlike previous stages where cost was the primary driver for open source adoption, this new phase focuses on solving specific pain points with innovative solutions and fostering a collaborative environment. This shift marks open source as a crucial driver of innovation, particularly in infrastructure software, where open source components are increasingly expected. Open source 4.0 encourages participation from both corporate sponsors and individual contributors to further develop and strengthen the community.
Dec 16, 2014
499 words in the original blog post.
A previous Mashable article discussed the importance of robust infrastructure for games integrated with social media, which can experience rapid viral growth. The article cites two contrasting examples: EA's "The Simpsons: Tapped Out" faced infrastructure issues, leading to its removal from the App Store shortly after a successful launch due to database overload. In contrast, OMGPOP's "Draw Something" effectively managed its growth by using NoSQL database technology, specifically Couchbase Server, allowing it to scale elastically without disruption. This strategic decision facilitated Draw Something's continued availability and record-breaking growth, demonstrating the critical role of scalable infrastructure in supporting viral success in social media-integrated applications.
Dec 16, 2014
446 words in the original blog post.
In his role as a Technical Evangelist at Couchbase, the author reflects on six months of engaging with the developer community to promote NoSQL technologies, particularly Couchbase, through various outbound and online activities. He has actively participated in conferences and meetups worldwide, where he not only shared knowledge but also learned from developers with diverse backgrounds. Online, he has contributed content, answered questions, and interacted with the Couchbase community to broaden the technology's reach. In terms of product development, he has collaborated with the core team to influence features and contributed to documentation and bug reporting to improve product adoption. The author expresses enthusiasm for the diversity of tasks and opportunities to learn and grow within the role, while also encouraging others to join the Couchbase team.
Dec 16, 2014
1,093 words in the original blog post.
Attila Kisk??, known for creating the Enyim .NET memcached client, has been working on improving his library to communicate directly with membase data nodes, which enhances performance beyond the existing high-performance proxy that supports all memcached client libraries and protocols. This development has led to a guide on the membase.org wiki for creating native or "smart" membase client libraries, allowing developers to build their own versions in their preferred programming languages. Starting with a memcached client library that uses the binary protocol is recommended, with particular emphasis on managing Rebalance operations to maintain cluster elasticity without data loss, offering an engaging challenge for developers.
Dec 16, 2014
153 words in the original blog post.
The author created a set of C++ bindings for libcouchbase, aiming to provide a standard and generic interface. They stayed away from using large external libraries like boost or C++11 to ensure maximum compatibility for C++. The bindings expose the semantics of command objects, response objects, and callbacks. Command objects inherit from a `Command` object and have accessors for key and hashkey, while response objects contain the C `lcb_resp_t *` as their only data member. The author implemented a callback interface in a unified object, allowing users to handle commands without explicitly setting handlers.
Dec 16, 2014
705 words in the original blog post.
A rebalance is the process of redistributing data to added or removed nodes within a Membase/Couchbase Server cluster, ensuring an even distribution and load-balanced access to data across all nodes. This process involves several steps, including calculating a new vbucket map, initiating node additions or removals, and moving individual vbuckets between nodes using the TAP (Transport Layer Adaptation Protocol) connection. The orchestrator starts this process, but does not transfer data itself; instead, it coordinates with the source and destination nodes to ensure a smooth transition. During a rebalance, client access remains available, and smart clients like Moxi follow the updated vbucket map, which is communicated through a streaming connection or "comet stream". The cluster maintains a persistent connection to the client and updates the map as necessary, ensuring that the client can continue to operate without interruption. Rebalance can be affected by network issues, but the cluster's design aims to minimize its impact on application performance.
Dec 16, 2014
3,212 words in the original blog post.
This past week at Northscale has been a significant one, marked by Dustin's release of SASL support for memcached, rendering previous claims about memcached's lack of authentication obsolete. Meanwhile, Plushcap and Alan (Dormando) collaborated to build memcached on Windows using the mingw compiler, overcoming initial challenges in cross-compiling and running the binary on Linux. Notably, they found that a pre-compiled Windows binary could be successfully run on Linux without Wine, likely due to the presence of necessary libraries for both operating systems. The team has made progress towards simplifying memcached's deployment on Windows with Steve Yen working on an installer, furthering their efforts to advance the project.
Dec 16, 2014
336 words in the original blog post.
The author emphasizes that using Couchbase with language client libraries is straightforward, as the libraries handle connection complexity and distributed nature of clusters. The example provided in Ruby demonstrates how to establish a connection, retrieve data, and store it back into the cluster. Additionally, a simple program is shown that parses a file and stores beer entries in Couchbase based on their IDs. The author also mentions other client library updates for Java and .NET SDKs, as well as PHP and Ruby SDKs, providing useful links to further information.
Dec 16, 2014
230 words in the original blog post.
Couchbase is actively engaging the tech community with events and updates, notably through its Couchbase Live event in London, which focuses on the scalability of NoSQL databases. This event features industry leaders like James Governor from Red Monk and representatives from companies such as Concur and Ticketmaster. Discussions will include case studies on improved scalability and reduced total cost of ownership by migrating from Oracle to Couchbase. Additionally, the company announced a 50% discount code for the event via Twitter. Recent developments highlighted include the 1.0 GA release of the Couchbase Spring Data module by SDK Engineer Michael Nitschinger, as well as new tools and integrations from partners like Kurobase with Heroku and New Relic. The blogosphere is also buzzing with insights from Alec Noller on Couchbase Mobile and David Ostrovsky on Couchbase with Azure, along with other notable articles and releases.
Dec 16, 2014
458 words in the original blog post.
I'm Plushcap, a member of NorthScale's technical team located in Europe. I joined the company because I was excited to work with Dustin Sallings and Steve Yen on memcached projects, and I wanted to contribute to open-source efforts after my experience at Sun. NorthScale encourages its staff to participate in open-source projects, which aligns with my preference for working with a diverse group of developers. Recently, I released several enhancements to memcached, including support for Microsoft Windows and loadable extensions, with the goal of making these contributions suitable for inclusion in the community version of the project. I'll be attending the MySQL Users Conference and participating in the memcached BOF, where I'd be happy to discuss my work and answer questions from attendees.
Dec 16, 2014
430 words in the original blog post.
The text serves as the beginning of a mini-tutorial on developing a storage engine for Memcached, with a focus on setting up the development environment and understanding the engine lifecycle. It provides step-by-step instructions on configuring the development setup using a specific branch of the engine interface and offers insights into the creation of a filesystem engine module. The tutorial emphasizes the importance of the `create_instance` function, which allows Memcached to communicate with the engine by creating a handle, and highlights that no initialization should occur in this function until compatibility with the server's interface is confirmed. Furthermore, it covers the implementation of essential functions like `destroy()` and `initialize()`, which manage memory and initialize the engine, respectively, explaining under what conditions these functions are invoked. The tutorial sets the stage for future entries where additional functionalities will be introduced to load the engine and handle client commands.
Dec 16, 2014
986 words in the original blog post.
Couchbase cluster operators are tasked with ensuring the system runs smoothly 24/7, requiring proper configuration, monitoring, and sizing to meet application demands. Key practices include keeping client libraries updated, monitoring system metrics such as cache hit ratio and disk I/O, and separating data and index files across different storage devices for optimal performance. Operators should be cautious with rebalancing processes and prioritize swap rebalancing when possible. Integrating Couchbase with existing monitoring ecosystems via REST API can provide alerts on critical issues like IP address changes or disk usage, while proper cluster sizing for RAM, disk, and CPU is crucial for system stability. Data replication within the cluster, optional index replication, and cross data center replication (XDCR) for disaster recovery are vital for data integrity and availability. Tuning indexing, particularly through incremental updates, can enhance performance, and grouping views in fewer design documents is recommended. While these practices form a core guideline, operators are encouraged to explore further best practices and adapt strategies to their specific needs.
Dec 16, 2014
1,303 words in the original blog post.
In a Stack Overflow discussion, the proper use of the `startkey_docid` parameter in couchbase view requests was examined due to a user experiencing issues with pagination when the `startkey_docid` appeared to be ignored. It was clarified that `startkey_docid` is crucial for paginating view requests by specifying a `startkey` and `startkey_docid` matching the last document from the previous page, especially when multiple documents share the same key. Key points include the necessity of specifying a `startkey` alongside `startkey_docid`, ensuring the `startkey` exactly matches the indexed documents, and matching the `startkey_docid` to one of the resulting document IDs to prevent it from being disregarded. The document also notes that the behavior of `endkey` and `endkey_docid` mirrors that of `startkey` and `startkey_docid`.
Dec 16, 2014
380 words in the original blog post.
The article provides a comprehensive guide on creating a social application using Ruby on Rails and Couchbase, focusing on modeling JSON documents and leveraging Couchbase's Map/Reduce capabilities. The app, designed for users to upload and vote on Vine videos, incorporates authentication through Twitter OmniAuth. The author explains the process of setting up the Rails app, including the integration of Couchbase as a backend data store and the use of the Couchbase-Model gem to facilitate data modeling. The guide also covers creating views in Couchbase to develop a leaderboard feature that ranks videos based on public votes, emphasizing the importance of using Couchbase's views and queries for data ordering. The article is intended for those familiar with Rails and the Twitter Developer Portal, offering insights into using Couchbase for social applications with competitive elements.
Dec 16, 2014
2,881 words in the original blog post.
The merger of Membase and CouchOne to form Couchbase marks a significant milestone in the tech industry, creating a NoSQL database that combines advanced caching and clustering technologies with a reliable document database, resulting in a fast, secure, and comprehensive solution. This union was driven by user demand and reflects a strong cultural synergy between the two teams, both dedicated to developing exceptional technology. For Membase users, this means enhanced capabilities, including data indexing and querying, real-time map-reduce, multi-data center deployment, and a seamless product experience across devices. Additionally, Couchbase introduces Mobile Couchbase and CouchSync, enabling data synchronization between server-side and mobile applications, promising a transformative year for NoSQL databases in 2011.
Dec 16, 2014
430 words in the original blog post.
This summary provides a concise overview of how to use Couchbase Server 2.0 as a cache layer in front of Doctrine ORM, a popular PHP framework for working with databases. The process involves initializing the Couchbase connection and cache driver using Composer, then passing it into the Doctrine configuration to enable caching. This setup can improve application performance by storing frequently accessed data in memory, reducing the need for database queries. The example code demonstrates how to create a simple caching layer using the `DoctrineCommonCacheCouchbaseCache` class, and also shows how to integrate it with Doctrine's entity manager to cache query results.
Dec 16, 2014
1,415 words in the original blog post.
The latest beta release of the Couchbase C SDK library introduces several enhancements and fixes over its previous developer preview version, including the implementation of HTTP keepalive for views, which allows multiple view requests to utilize the same TCP connection, thus improving efficiency. The API documentation has been updated, particularly for the v3 API, and the dsn field has been renamed to connstr. Additionally, the input format for manpages has been transitioned from asciidoc to ronn, a markdown-like syntax, allowing better integration with Doxygen's markdown parser for improved documentation visibility. Furthermore, RPM packages are now available for EL7, extending the library's support for CentOS 7, following community requests, while packages for Ubuntu Trusty/14.04 have been available since the developer preview.
Dec 16, 2014
212 words in the original blog post.
NorthScale has released the Beta3 version of Membase Server 1.6, introducing several key enhancements that are expected to be part of the final product. The update includes support for Windows, addressing a popular demand by offering 32-bit compatibility and plans for 64-bit support. The multi-tenancy feature allows for the creation of multiple buckets within a single cluster, offering resource control through bucket quotas, which can be adjusted for memory and monitored for disk usage. A new "Cluster Overview" dashboard provides a comprehensive view of crucial cluster statistics, helping users track memory, disk usage, and operations, and identify potential issues through indicators such as "disk fetches per second." These features aim to provide users with greater flexibility and control over their data management needs, with further enhancements anticipated in future updates.
Dec 16, 2014
707 words in the original blog post.
The memcached team has released a Windows service version of their binary for version 1.4.2, allowing users to install and manage the application as a Windows service. The distribution can be downloaded from the Northscale website, and installation instructions are provided, including creating a directory, unzipping the archive, running a command to install the service, starting the service, and configuring its settings.
Dec 16, 2014
137 words in the original blog post.
Map/Reduce Views in Couchbase 2.0 involve understanding Unicode Collation ordering of letters, which differs from Byte Order (like ASCII) and groups letters by case rather than a range of all Uppercase or Lowercase. Non-English accented characters follow a similar principle, with certain combinations occurring before others. When determining startkey and endkey ranges for strings in Couchbase Views, it's essential to consider this ordering to ensure accurate results. For example, querying Breweries by_name using the beer-sample database may return different results depending on whether the query starts with Uppercase Y or Lowercase y, highlighting the importance of understanding Unicode Collation. Understanding the nuances of Unicode Collation can help developers optimize their range queries and achieve more accurate results in Couchbase Views.
Dec 16, 2014
361 words in the original blog post.