Karthic Subramanian

5 results

4 Grandes Raisons de Passer à MongoDB 7.0

Dernièrement, nous avons pris la route et fait l'actualité lors d'une série d'événements dans les plus grandes villes du monde. L'un des points forts est le lancement de la version 7.0 de MongoDB , qui offre une suite complète de fonctionnalités conçues pour rationaliser les opérations, améliorer les performances et renforcer la sécurité. Avec cette version, MongoDB se réaffirme comme un choix de premier ordre pour les organisations qui cherchent à stimuler la productivité de leurs équipes de développement lorsqu'elles créent des applications modernes et distribuées. La version 7.0 reprend toutes les fonctionnalités des versions précédentes et en ajoute d'autres destinées à faciliter la création de logiciels pour les développeurs. #1 - Amélioration des performances MongoDB 7.0 apporte des améliorations significatives sur la façon de gérer les données Time Series, en particulier les ensembles de données exigeants et volumineux de toutes formes. Ces améliorations se traduisent par une meilleure optimisation du stockage et de la compression, ainsi que par des performances accrues en matière d'interrogation. Les développeurs bénéficieront d'une meilleure gestion des données de grande cardinalité, d'une meilleure évolutivité et de meilleures performances globales, ce qui vous permettra d'accéder aux données Time Series de manière plus efficace et plus rentable. Change Streams supportera désormais des cas d'utilisation encore plus larges : gérer les modifications dans les documents volumineux, même avec des pré-images et des post-images, sans provoquer d'erreurs inattendues. #2 - Des migrations plus fluides Les mises à jour de Cluster-to-Cluster Sync (mongosync) permettront une migration plus efficace des données dans divers scénarios. Cluster-to-Cluster Sync offre désormais une plus grande souplesse dans la synchronisation entre des clusters ayant des topologies différentes, par exemple entre des clusters définis par réplique et des clusters partitionnés. La synchronisation filtrée permet de synchroniser des données spécifiques définir au lieu de l'ensemble du cluster. Atlas Live Migrate supporte désormais les migrations pour les clusters utilisant MongoDB 6.0.4+. des migrations plus rapides et plus résilientes en cas d'interruption du processus de migration. #3 - Une expérience simplifiée pour les développeurs Grâce aux nouvelles améliorations apportées au site aggregation pipeline - notamment les index composés de caractères génériques , les percentiles approximatifs et les opérateurs bitwise - les développeurs bénéficient d'une plus grande souplesse et de meilleures performances en matière d'indexation et d'interrogation des données. Avec MongoDB 7.0, les développeurs peuvent également mettre en œuvre des variables de rôle d'utilisateur dans aggregation pipeline, ce qui permet à Single View d'afficher des données différentes en fonction des autorisations des utilisateurs du journal. Le support pour les mises à jour et les suppressions à grain fin dans les collections Time Series et les nouvelles mesures pour aider à sélectionner une clé de sharding aident à réduire l'effort du développeur et à rationaliser le processus de développement. #4 - Contrôles de sécurité renforcés MongoDB 7.0 renforce les capacités de sécurité avec Queryable Encryption pour aider les clients à crypter les données sensibles et à exécuter des requêtes d'égalité sur des données cryptées entièrement randomisées. Les améliorations apportées à la sécurité permettent aux développeurs de créer et de déployer des applications en toute confiance, en sachant que leurs données sont protégées et conformes aux normes et protocoles de sécurité les plus récents. Pourquoi attendre ? Avec une foule de nouvelles fonctionnalités et d'améliorations conçues pour rendre votre équipe plus productive, MongoDB 7.0 est le choix idéal pour les organisations qui cherchent à faire passer leur développement à la vitesse supérieure. De l'amélioration des performances au renforcement des fonctionnalités de sécurité, MongoDB 7.0 facilite la création de la prochaine grande entreprise. Inscrivez-vous dès maintenant à Atlas et commencez à construire dès aujourd'hui . Si vous souhaitez obtenir des conseils sur la mise à niveau vers la version 7.0, notre équipe de services professionnels propose un soutien à la mise à niveau afin d'assurer une transition en douceur. Pour en savoir plus, voir MongoDB Consulting .

September 15, 2023

4 wichtige Gründe für ein Upgrade auf MongoDB 7.0

In letzter Zeit waren wir unterwegs und sorgten bei einer Reihe von Veranstaltungen in Großstädten auf der ganzen Welt für Schlagzeilen. Eines der großen Highlights ist die Veröffentlichung von MongoDB 7.0 , das eine umfassende Suite von Funktionen bietet, die darauf ausgelegt sind, Abläufe zu rationalisieren, die Leistung zu verbessern und die Sicherheit zu erhöhen. Mit dieser Veröffentlichung bestätigt sich MongoDB erneut als erste Wahl für Unternehmen, die die Produktivität ihrer Entwicklungsteams bei der Erstellung moderner, verteilter Anwendungen steigern möchten. Version 7.0 verfügt über alle in früheren Versionen veröffentlichten Funktionen sowie zusätzliche Funktionen, die Entwicklern das Erstellen von Software erleichtern sollen. #1 – Verbesserte Leistung MongoDB 7.0 bringt erhebliche Verbesserungen bei der Arbeit mit Time Series , insbesondere bei anspruchsvollen, großvolumigen Datensätzen aller Formen. Diese Verbesserungen führen zu einer verbesserten Speicheroptimierung und -komprimierung sowie einer verbesserten Abfrageleistung. Entwickler werden eine noch bessere Handhabung von Daten mit hoher Kardinalität, verbesserte Skalierbarkeit und Gesamtleistung erleben; So können Sie Time Series effizienter und kostengünstiger managed. Change streams unterstützt jetzt noch umfassendere Anwendungsfälle: die Handhabung von Änderungen in großen Dokumenten, sogar mit Vorbildern und Nachbildern, ohne unerwartete Fehler zu verursachen. #2 – Reibungslosere Migrationen Aktualisierungen der Cluster-to-Cluster Sync (Mongosync) ermöglichen eine effizientere Datenmigration in einer Vielzahl von Szenarien. Cluster-to-Cluster Sync bietet jetzt eine größere Flexibilität bei der Synchronisierung zwischen cluster mit unterschiedlichen Topologien, z. B. von Sekundär-festlegen zu sharded cluster. Die gefilterte Synchronisierung ermöglicht die Synchronisierung bestimmter Daten anstelle des gesamten cluster. Atlas Live Migrate unterstützt jetzt Migrationen für cluster , auf denen MongoDB 6.0.4+ ausgeführt wird Bereitstellung von Migrationen, die schneller und robuster sind, wenn es während des Migrationsprozesses zu Unterbrechungen kommt. #3 – Optimierte Entwicklererfahrung Mit neuen Verbesserungen der aggregation pipeline – einschließlich zusammengesetzter Index , ungefährer Perzentile und bitweiser Operatoren – können Entwickler von größerer Flexibilität und Leistung bei der Indizierung und Abfrage von Daten profitieren. Mit MongoDB 7.0 können Entwickler auch Benutzerrollenvariablen innerhalb aggregation pipeline implementieren, sodass eine Single View basierend auf den Berechtigungen der LogBenutzer unterschiedliche Daten anzeigen kann. Unterstützung für feinkörnige Aktualisierungen und Löschungen in collection Time Series und neue Metriken zur Auswahl eines shard key tragen dazu bei, den Entwickleraufwand zu reduzieren und den Entwicklungsprozess zu rationalisieren. #4 – Stärkere Sicherheitskontrollen MongoDB 7.0 stärkt die Sicherheitsfunktionen durch Queryable Encryption , um Kunden dabei zu helfen, sensible Daten zu verschlüsseln und Gleichheitsabfragen für vollständig randomisierte verschlüsselte Daten durchzuführen. Die Sicherheitsverbesserungen stellen sicher, dass Entwickler Anwendungen mit Zuversicht erstellen und bereitstellen können, da sie wissen, dass ihre Daten geschützt sind und den neuesten Sicherheitsstandards und Protokollen entsprechen. Warum warten? Mit einer Vielzahl neuer Funktionen und Verbesserungen, die Ihr Team produktiver machen sollen, ist MongoDB 7.0 die perfekte Wahl für Unternehmen, die ihre Entwicklung auf die nächste Stufe heben möchten. Von verbesserter Leistung bis hin zu stärkeren Sicherheitsfunktionen macht es MongoDB 7.0 einfacher, das nächste große Ding zu entwickeln. Registrieren Sie sich jetzt für Atlas und beginnen Sie noch heute mit dem Bau . Wenn Sie eine Anleitung zum Upgrade auf 7.0 benötigen, bietet unser professionelles Serviceteam Upgrade-Unterstützung an, um einen reibungslosen Übergang zu gewährleisten. Weitere Informationen finden Sie unter MongoDB Consulting .

September 15, 2023

Crafting Precision: Query Enhancements in MongoDB 7.0

Writing performant queries is the holy grail for any developer working with databases. It’s akin to an art form – balancing speed, efficiency, and functionality in one seamless package. At MongoDB .local Chicago, we announced the General Availability of MongoDB 7.0 , the latest version of our database which includes a number of new features targeted at making the application development experience streamlined and boosting developer productivity. Constructing efficient queries frequently entails navigating complex optimization and index management processes. With MongoDB 7.0, this process has been significantly streamlined. Introducing compound wildcard indexes Now, imagine writing less code and utilizing fewer system resources to get the results you need faster. With MongoDB 7.0, Compound Wildcard Indexes make this dream a reality. Compound wildcard indexes support creating compound indexes on a combination of any field and all sub-fields in an embedded sub-document. This supports performant queries against a combination of an unknown or arbitrary field and an always-present field. For example, consider a collection named customer_attributes with a diverse schema. Not every customer has every attribute filled out. Compound wildcard indexes can now support queries on Region or Tier and any of the sub-fields under Attributes , thus embracing MongoDB’s schema flexibility. db.customer_attributes.createIndex({"Region": 1, "Attributes.$**": 1}); This index could support a query like this, efficiently and easily: db.customer_attributes.find({"Region": "North America", "Attributes.CSM": "John Doe"}); Bitwise operators: The power in your pipeline Before MongoDB 7.0, developers can leverage faster computations with Bitwise Operators in the Aggregation Pipeline . While this has been available for some time with find and update queries, MongoDB 7.0 allows you to compute common bitwise operators within aggregations, right on the database, significantly enhancing query performance, especially for application-driven and operational analytics. Let's take an example of filtering documents based on binary data flags: { $match: { $expr: { $eq: [{$bitAnd: ["$userFlags", 4]}, 4] } } } This filter checks whether the fourth bit of the userFlags field is set, a common scenario in permission systems. Percentile operators: Unlocking efficient data analysis Calculating percentiles is a cornerstone of data analysis. With MongoDB 7.0, Approximate Percentile Operator enables developers to perform these calculations directly on the database server, significantly enhancing efficiency and reducing complexity. For example, to find the 90th percentile of response times in a weblogs collection: { $group: { _id: null, responseTime90thPercentile: { $percentile: { input: "$responseTime", p: [0.9], method: 'approximate'} } } } Role-based data access with $$USER_ROLES The new $$USER_ROLES variable introduces an elegant way to deliver user-specific views right from your queries, offering an enhanced layer of security and data privacy. No more separate views for each user role – now it’s seamless and simplified. Consider a sales application, where account data can be seen by everyone but sensitive information like contract details can only be seen by specific managers. By leveraging the new variable and setting up a view as below, you can ensure only managers with that specific role can view the data: pipeline = [ { $set: { "contractDetails": { $cond: { if: { $in: [ "csmApp", '$$USER_ROLES.role' ] }, then: "$contractDetails", else: "$$REMOVE" } } } } ] db.createView('accounts_view', 'accounts', pipeline ) This ensures that users can only view the data tied to their account, based on their role privileges. Conclusion: Elevating the developer experience MongoDB 7.0’s new query features are more than just a set of tools; they represent a profound upgrade in the developer experience. With these features, you're not just writing queries - you are sculpting your application’s data interaction in the most efficient way, right from the start. From Compound Wildcard Indexes to new operators in the aggregation pipeline, MongoDB 7.0 empowers developers to write cleaner, faster, and more intuitive queries. With less time spent on query optimization, you can focus on what truly matters: building amazing applications. Build your next application with a streamlined development experience .

August 22, 2023

4 Big Reasons to Upgrade to MongoDB 7.0

This post is also available in: Deutsch , Français Lately, we've been hitting the road and making news at a series of events in major cities across the globe. One of the big highlights is the release of MongoDB 7.0 , which offers a comprehensive suite of features designed to streamline operations, improve performance, and enhance security. With this release, MongoDB reaffirms itself as a top choice for organizations looking to boost the productivity of their development teams as they build modern, distributed applications. Version 7.0 has all the features released in prior versions with additional features aimed at making it easier for developers to build software. #1 - Enhanced performance MongoDB 7.0 brings significant improvements to working with time series data, especially demanding, high-volume datasets of all shapes. These improvements result in improved storage optimization and compression, as well as improved query performance. Developers will experience even better handling of high cardinality data, improved scalability, and overall performance; enabling you to manage time-series data more efficiently and cost-effectively. Change streams will now support even wider use cases: handling changes in large documents, even with pre-images and post-images, without causing unexpected errors. #2 - Smoother migrations Updates to cluster-to-cluster sync (mongosync) will enable more efficient data migration in a variety of scenarios. Cluster-to-cluster sync now provides greater flexibility in syncing between clusters with unlike topologies, such as from replica sets to sharded clusters. Filtered sync allows for syncing specific data sets instead of the entire cluster. Atlas Live Migrate now supports migrations for clusters running MongoDB 6.0.4+ delivering migrations that are faster and more resilient in cases of interruption during the migration process. #3 - Streamlined developer experience With new enhancements to the aggregation pipeline — including compound wildcard indexes , approximate percentiles, and bitwise operators — developers can enjoy greater flexibility and performance in indexing and querying data. With MongoDB 7.0, developers can also implement user role variables within aggregation pipelines enabling a single view to display different data based on the logged-in users’ permissions. Support for fine-grained updates and deletes in time-series collections and new metrics to help select a shard key to help reduce developer effort and streamline the development process. #4 - Stronger security MongoDB 7.0 strengthens security capabilities with Queryable Encryption to help customers encrypt sensitive data and run equality queries on fully randomized encrypted data. The security enhancements ensure that developers can build and deploy applications with confidence, knowing that their data is protected and compliant with the latest security standards and protocols. Why wait? With a host of new features and enhancements designed to make your team more productive, MongoDB 7.0 is the perfect choice for organizations looking to take their development to the next level. From enhanced performance to stronger security features, MongoDB 7.0 makes it easier to build the next big thing. Register for Atlas now and start building today . If you'd like guidance on upgrading to 7.0, our professional services team offers upgrade support to help ensure a smooth transition. To learn more, see MongoDB Consulting . Check out the full session on What's New in MongoDB 7.0 on our YouTube channel!

August 15, 2023

Launching Rockets Doesn’t Need to be Rocket Science with MongoDB Atlas: Building Smarter Applications Using Application-Driven Analytics

Data shouldn’t be the limiting factor in any system. Take for example, space rocket launches. Did you know a typical rocket launch can generate more than one million metrics per second? This includes readings from thousands of IoT sensors, observation notes added in real-time by engineers, and critical weather data. Integrating such large volumes of distinct data types into a single platform used to take a significant development effort — and that's even before factoring in real-time analytics and alerts. Status quo architecture: complicated and fragile Teams used to have to do a lot of custom engineering work in order to make this happen. How much? Here’s a basic rundown of just some of that work: Stitching together multiple databases to handle different data structures (i.e., documents, tables, time series measurements, key-values, search), each accessed with its own unique query API. Building ETL data pipelines to transform data in required analytics formats, and tier it from the live database to lower-cost object storage. Spinning up a federated query engine to work across each data tier, again using its own unique query API. Integrating serverless functions to react to real-time data changes. Standing up their own API layers to expose data to consuming applications. All of this complexity places enormous overhead on teams. It results in a multitude of operational and security models to deal with, a ton of data integration work, and lots of data duplication. But for certain critical use cases, like monitoring a space rocket launch, this complicated custom engineering has traditionally been the only solution. Why? A typical rocket launch happens over the course of 30 minutes. There's no time for batch analysis processes that send data from one system to another and separate application events from analytical actions. Added to that, data warehouses and centralized analytics stores are built for historical analyses, not analytics on live, fast changing operational data. Now there is an alternative, though. Analytics processing can now be “shifted left” to the source of the data, to the applications themselves. We call this shift application-driven analytics . Successful modern applications are defined by their ability to drive better customer experiences, surface insights, and take intelligent action directly within the application on live operational data — in real-time. Atlas architecture: enabling app-driven analytics MongoDB Atlas enables application-driven analytics by providing an integrated set of data and application services that put powerful analytics capabilities into the hands of developers in ways that fit their workflows. They can land data of any structure, index, query, and analyze it in any way they want, and then archive it. All while working with a unified API and without having to build their own data pipelines or duplicate data. At the same time, analytics teams get access to live data with their preferred tools without interrupting the application, and with the ability to share insights with the business teams that need it. Some of the advanced capabilities Atlas provides include: Time series collections allow for storing and analyzing time-stamped data. Query API powers analytics with in-database transformations, making it easy to analyze data without complex ETL. Atlas Data Federation enables easily querying data across multiple MongoDB clusters and cloud object storage, providing the ability to combine data from different sources into one unified view. Atlas Charts provides native data visualization capabilities, enabling quick creation of interactive charts and dashboards. Analytics nodes allow for workload isolation ensuring your application performance isn’t impacted by complex analytics. And high availability, automatic failover, end-to-end encryption, and VPC peering in the database , ensures your data remains available and secure. This integrated set of data and application services, along with a unified developer experience, makes MongoDB Atlas the developer data platform for teams looking to build smarter, modern applications for a wide variety of use cases. Like, for instance, monitoring space rocket launches. To learn more about how you can build analytics into your application watch Part One of our three-part demo . Jay Runkel, Distinguished Solutions Architect at MongoDB, will simulate a rocket launch with actual launch data from several devices producing one million metrics per second.

February 21, 2023