May 2024 Summaries
22 posts from Neon
Filter
Month:
Year:
Post Summaries
Back to Blog
Cedalio, a YC23 startup, leverages AI and smart contracts to provide a robust solution for companies needing to streamline their Environmental, Social, and Governance (ESG) reporting and data verification processes. The company uses Neon, a managed Postgres service, to improve operational efficiency by automating data extraction using AI, centralizing information through dashboards and control panels, and managing suppliers with automated tracking. Cedalio's developer experience is enhanced by Neon's intuitive API and user interface, which offers game-changing features for accelerating development workflows and reducing costs of non-prod environments. The company uses database branching to automate the setup of isolated environments for each PR, allowing developers to test changes without affecting the production database and without doing manual work. Additionally, Cedalio ensures data isolation with a DB-per-customer design, which is facilitated by Neon's flexible and user-friendly API.
May 29, 2024
1,108 words in the original blog post.
Cedalio, a data platform focused on sustainability and transparency, leverages AI and smart contracts to streamline Environmental, Social, and Governance (ESG) reporting and data verification processes, making data untamperable and audits more efficient. The platform automates data extraction using AI, centralizes information for reporting, and manages suppliers through automated tracking, while ensuring data transparency by organizing information from various sources and storing it on a blockchain for auditability. Originally using DynamoDB, Cedalio transitioned to Neon for its superior developer experience and features such as database branching and scale-to-zero capabilities, which facilitate a one-database-per-customer architecture, ensuring data isolation and security. By adopting Neon, Cedalio can automate the setup of isolated environments for each pull request through GitHub Actions and Fly.io, accelerating development cycles and reducing costs. Additionally, Cedalio's new architecture leverages Postgres WAL to secure database operations and persists them into decentralized storage solutions, providing an independent verification mechanism for clients and ensuring data recovery independent of Cedalio’s infrastructure.
May 29, 2024
1,198 words in the original blog post.
Creating database branches with anonymized production-like data is now possible with Neon and Neosync, two open-source tools that help developers solve the problems of creating efficient database copies and anonymizing sensitive production data for previews or dev environments. By combining both tools, developers can create lightweight, isolated database branches in seconds, saving time and money, and preview deployments with prod-like data are a perfect application for these branches. Neosync is an open-source platform that helps developers anonymize production data and sync it across their environments for a better developer experience, enabling the creation of anonymized database branches. This integration allows developers to anonymize PII in non-prod branches without duplicating storage, saving time and money, and providing a better developer experience.
May 28, 2024
407 words in the original blog post.
Developers face challenges in setting up and maintaining lower-level environments due to the expense and complexity of creating database copies and anonymizing sensitive data. Neon and Neosync provide a solution by enabling efficient database branching and data anonymization. Neon utilizes a copy-on-write approach inspired by Git's code branching, allowing for the creation of lightweight, isolated database branches without duplicating storage. Neosync, an open-source tool, focuses on anonymizing production data for non-production environments, enhancing the developer experience. This integration allows developers to create previews with anonymized production-like data quickly, addressing privacy concerns while maintaining the efficiency of non-production workflows. Both Neosync and Neon offer free tiers for developers to explore this workflow.
May 28, 2024
504 words in the original blog post.
The text discusses the possibility of reducing the number of password hashing iterations from 4096 to just one for security and performance optimization purposes in Neon, a database system. It delves into the debate around maintaining a balance between security and resources while improving performance. The discussion includes an analysis of brute-force strength, password entropy, PBKDF2 iterations, and various scenarios with different parameters. The conclusion is that it is possible to safely reduce the number of SCRAM password hashing iterations from 4096 to just one for randomly generated passwords by making the password longer, as this eliminates the possibility of dictionary attacks and reduces the chances of successful brute-force attacks.
May 21, 2024
1,011 words in the original blog post.
A recent discussion among engineers at Neon explored the possibility of reducing the number of SCRAM password hashing iterations from 4096 to just one to optimize CPU usage and minimize latency during database connections. The debate focused on balancing security and performance, considering that OWASP recommends using PBKDF2 with 600,000 iterations for security best practices. Neon generates random passwords, making dictionary attacks infeasible, and suggests that increasing password length can compensate for reducing iterations, thereby maintaining security against brute-force attacks. The analysis showed that reducing iterations from 4096 to 1 is equivalent to adding 12 bits to the password's length, with the conclusion that longer passwords can adequately offset reduced iterations, aligning with Neon's goal to enhance efficiency while ensuring security.
May 21, 2024
1,065 words in the original blog post.
Snaplet is a developer tool that aims to simplify access to production-like data for development and testing by providing developers with realistic, AI-generated seed datasets through its Seed feature. The company relies on Neon's serverless Postgres to power its Snapshot feature, which allows users to access isolated database copies with anonymized sensitive data for testing and shared among team members. Snaplet uses copy-on-write branches to provide instant data copies to users, leveraging Neon's partnership plans to manage thousands of databases without cost overhead or management burden. The transition from a previous design on Fly.io to Neon solved scalability and cost problems, enabling Snaplet to focus on delivering a superior product to its users. Neon's serverless Postgres and copy-on-write branching model are key features behind Snaplet's Snapshot feature, providing developers with easy access to production-like data without the associated risks.
May 20, 2024
1,003 words in the original blog post.
Snaplet, a developer tool, leverages Neon's serverless Postgres and copy-on-write branching model to provide developers with production-like data snapshots for testing and debugging. This approach allows Snaplet to offer isolated database copies with anonymized data, addressing the challenges of accessing realistic datasets without risking exposure to sensitive information. By integrating with Neon, Snaplet enhances its Snapshot feature, enabling efficient project management and reducing costs and complexity compared to previous setups. The tool supports seamless environment setups for development teams, allowing for quick creation and deletion of preview databases, and ensuring consistency across environments through features like subsetting and data transformation. Snaplet's tech stack includes Node.js, React, and a strong emphasis on TypeScript, with the Neon API facilitating integration.
May 20, 2024
1,099 words in the original blog post.
The text discusses the implementation of CSV, JSON, and XLSX exporting capabilities from Neon's SQL Editor console. It highlights the challenges faced during the development process, such as ensuring precision in big or precise numbers for CSV and JSON downloads, and dealing with Excel's XML format and column references. The author also introduces two new npm packages: littlezipper, a Zip library that works across modern browsers, Node, and Deno; and xlsxtable, an Excel worksheet-writing library that depends on littlezipper.
May 16, 2024
1,337 words in the original blog post.
Neon has introduced new features in its SQL Editor, allowing users to export query results in CSV, JSON, and XLSX formats directly from the console, enhancing usability and convenience. These features eliminate the need for external tools like psql for data export, with CSV being the most straightforward due to its widespread compatibility. JSON offers a flexible interchange format, while XLSX provides a native Excel file format, saving users from manual formatting tasks typically required after a CSV download. The implementation of these features involved challenges, such as maintaining numerical precision in CSV and JSON formats and addressing Excel-specific quirks, like its unique date system and XML structure for XLSX files. Additionally, the development process led to the creation of open-source libraries, "littlezipper" for ZIP file creation and "xlsxtable" for Excel worksheet handling, both of which are available on npm and GitHub.
May 16, 2024
1,443 words in the original blog post.
You should use primary keys for your id columns in Postgres as they provide several benefits including uniqueness, non-nullability, automatic indexing, logical replication, referential integrity, and query optimization. Primary keys ensure data integrity by preventing duplicate values and nulls, while unique constraints can lead to problems such as allowing null values and degrading performance. To work around these issues, you can combine the NOT NULL constraint with the UNIQUE constraint or use the SERIAL data type to automatically generate a unique sequential integer value for each row. Additionally, using primary keys simplifies logical replication by providing an automatic replica identity, whereas unique constraints require manual specification of a replica identity and more complex composite unique constraints. Overall, it is recommended to always use primary keys for your id columns in Postgres.
May 15, 2024
1,042 words in the original blog post.
In the context of setting up tables in PostgreSQL, using primary keys instead of unique constraints for ID columns is emphasized as a best practice due to several advantages in data integrity and database performance. Primary keys ensure each row in a table is uniquely identifiable and non-nullable, which maintains data integrity and prevents duplication. They also enable automatic indexing, which enhances query performance, support logical replication by serving as a reference point for data consistency, and help maintain referential integrity when used in foreign key relationships. In contrast, unique constraints, while ensuring column uniqueness, allow for null values, which can lead to ambiguous results and complicate logical replication processes since they do not serve as a default replica identity. Developers are advised to use the primary key for ID columns to avoid these complications and benefit from PostgreSQL's optimization features, with SERIAL data type recommended for auto-incrementing IDs.
May 15, 2024
1,266 words in the original blog post.
Neon has improved its partnership program by allowing partners to create up to 1,000 projects without extra cost as part of their agreement, enabling them to focus on growing their customer base and accelerating time to value for customers. The Neon platform provides a managed database service that integrates with partner applications via OAuth or API-based integrations, offering benefits such as scale-to-zero capabilities, automated database management tasks, secure connections, reliable support, joint marketing efforts, and access to Postgres experts. Companies like Retool, Vercel, Koyeb, Replit, and Hasura are already partners and have seen improvements in their offerings by leveraging Neon's services. To learn more about the partnership plans, interested companies can fill out a form on the Neon website.
May 10, 2024
627 words in the original blog post.
Neon has announced an enhancement to its partnership program, allowing partners to create up to 1,000 projects without incurring additional costs, which is part of Neon's commitment to improving services based on customer feedback. This initiative is designed to help partners grow their customer base without worrying about overhead costs, as each new customer can receive a dedicated managed database that scales to zero, keeping expenses low. The partnership program offers integration options via OAuth or API, enabling companies to incorporate Neon's serverless Postgres databases into their platforms. By alleviating the burden of database management, Neon allows partners to focus on expanding their user base while providing features like instant database provisioning, secure connections, and automated management tasks. Current partners, including companies like Retool, Vercel, and Replit, have benefited from these offerings, citing improved scalability and reduced resource costs as significant advantages.
May 10, 2024
726 words in the original blog post.
Database branching workflows: A guide for developers` highlights the need for faster and more flexible database development processes, as traditional methods are slow and prone to errors. The guide introduces two workflows: `Preview environments` and `Local dev environments`, which enable teams to create isolated environments with production-like data, reducing risk and improving collaboration. By adopting these workflows, teams can ship faster, with benefits including rapid onboarding, reduced risk, higher quality code, improved team collaboration, effortless data consistency, and no need for prod-like data in personal machines. The guide provides a step-by-step approach to implementing database branching workflows using Neon tools such as Fly.io and Drizzle.
May 09, 2024
515 words in the original blog post.
Neon addresses the challenges of traditional database development by introducing database branching workflows that aim to enhance development speed, flexibility, and safety. The guide outlines two key workflows: preview environments created for each pull request, which are automatically deleted once the PR is closed, and personalized local development environments for each engineer, allowing them to work with production-like data in isolation. These workflows, which utilize tools such as Fly.io, Neon, and Drizzle, enable rapid onboarding, reduced risk of errors, improved code quality, and better team collaboration, as developers can experiment safely and revert changes if necessary. The branching system allows for effortless data consistency across environments and eliminates the need for production-like data on personal machines. Neon encourages users to create a project and follow the guide to implement these workflows, offering support through platforms like Twitter and Discord.
May 09, 2024
607 words in the original blog post.
Encore now supports using Neon Postgres for all Encore environments, including those in the cloud on Amazon Web Services (AWS) and Google Cloud Platform (GCP), providing a flexible and robust foundation for building scalable API services. This integration enables developers to leverage Neon Serverless Postgres through their entire development lifecycle, from local development to production, with features such as automatic database branching, scaling, and cost optimization. Encore's TypeScript SDK speeds up backend development by allowing frontend and full-stack developers to build production-ready applications and distributed systems using a language that is already familiar, ensuring type safety throughout the process. The integration also simplifies testing, DevOps, and infrastructure provisioning, enabling teams to focus on product development rather than infrastructure management. With Neon Serverless Postgres, developers can manage their serverless Postgres database in a seamless way, allowing them to focus on innovation and speed.
May 08, 2024
1,586 words in the original blog post.
Encore has announced support for Neon Serverless Postgres across all its environments, including AWS and GCP, enhancing its platform for building cloud backend applications with a focus on scalability and ease of use. By integrating Neon, Encore enables developers to manage serverless Postgres databases seamlessly, allowing them to concentrate on application logic rather than infrastructure management. This integration facilitates a streamlined development process, from local development to production, with features like automatic database scaling and branching for various environments. The article provides a detailed walk-through of setting up a URL Shortener web service using Encore's TypeScript SDK and CLI, highlighting the simplicity of deploying applications and managing infrastructure. Developers can now use Neon's database capabilities to improve testing and deployment processes within Encore's platform, offering a robust solution for building scalable API services.
May 08, 2024
1,875 words in the original blog post.
Neon is rolling out a special deal for Y Combinator startups, offering $100k worth of credits per year, with the option to match any competitor's offer. This deal aims to help startups take advantage of Neon's serverless nature and development velocity capabilities, including onboarding new developers quickly, testing schema migrations, and fixing bugs faster. With multiple database branches that can be used simultaneously and a copy-on-write system, Neon enables teams to collaborate and develop in a synchronized manner.
May 07, 2024
347 words in the original blog post.
Neon is offering Y Combinator startups a special deal of $100,000 in credits for their first year, along with a promise to match any competitor's offer, to support their need for rapid development and scalability on tight budgets. Neon’s serverless platform enhances development velocity by allowing developers to create and manage database branches quickly, facilitating efficient onboarding, feature experimentation, and testing processes. The platform's branching system supports simultaneous testing of multiple solutions, minimizing conflicts, and is resource-efficient due to its copy-on-write mechanism. This allows teams to develop, test, and debug collaboratively in an environment that mirrors production, ensuring smoother and faster deployment cycles.
May 07, 2024
443 words in the original blog post.
Neon is an innovative relational database that reimagines Postgres storage as a transaction journal, prioritizing the development workflow over mere data storage. By conceptualizing the database storage as an event timeline rather than a static entity, Neon enables developers to modify their data more agilely and safely. The core building block of this approach is Postgres WAL (Write-Ahead Log), which logs all transactions and database modifications before applying them to the primary data files. This allows Neon to add new features to Postgres that improve the development experience, such as database branching with data and schema, instant PITR, ephemeral read replicas, and time travel queries.
May 01, 2024
1,841 words in the original blog post.
Neon introduces a novel approach to Postgres databases by viewing them as transaction journals rather than static data storage systems, using the Write-Ahead Log (WAL) as a core component. This transaction-centric model decouples storage and computation, enabling advanced functionalities such as database branching, instant point-in-time recovery, ephemeral read replicas, and time travel queries. By leveraging WAL, Neon allows developers to create database branches without duplicating data, perform quick data restorations, and execute queries on historical states for auditing and debugging. The architecture reorganizes data into immutable files in object storage, which, along with stateless compute nodes, enhances flexibility and efficiency. This innovative use of WAL transforms the developer experience by enabling agile and safe data modification and storage, offering new possibilities for building with Postgres.
May 01, 2024
2,146 words in the original blog post.