Home / Companies / DBOS / Blog / May 2024

May 2024 Summaries

5 posts from DBOS

Filter
Month: Year:
Post Summaries Back to Blog
At the SFNode Meetup in San Francisco on May 31, 2024, a presentation on DBOS Transact highlighted the benefits of reliable workflows in solving business challenges like payments and event processing, while addressing the current difficulties in implementing such workflows. The discussion focused on how the DBOS Transact open-source library in Python and TypeScript facilitates easy workflow usage. Key questions from the audience included the choice of TypeScript for its first-class functions and robust typing, which allow for durable execution at the library level without major code changes, and the handling of application updates through versioned workflows, ensuring that new requests and old workflows are managed by different servers. The presenter invited further inquiries on the DBOS Community on Discord.
May 31, 2024 202 words in the original blog post.
The DBOS Transact open-source library and DBOS Cloud service enable enhanced application resilience and innovative features like database time travel, providing functionalities such as time travel queries, debugging, and auditing. By automatically logging application state changes and interactions with PostgreSQL databases, users can query historical data, facilitating analysis and reporting by viewing data as it was at any past moment. This capability is useful for debugging, as it allows developers to replay and modify past executions locally, enhancing problem-solving. Additionally, the DBOS system's provenance database tracks all data changes, enabling detailed auditing of database interactions, such as who made changes and when. This approach simplifies the management of database applications and offers new tools for understanding and troubleshooting, making it especially beneficial in complex environments like serverless computing and distributed microservices architectures.
May 30, 2024 1,190 words in the original blog post.
DBOS Cloud has introduced a new feature allowing users to bring their own Postgres-compatible database, enabling the integration of external databases into their DBOS Cloud accounts. This addition permits users to link their own databases, facilitating the creation of durable, auto-scaling database applications without the need for a separate workflow orchestration engine. Users benefit from resilient application performance and serverless execution with transactional correctness, alongside features like database time travel for historical querying and debugging. The feature grants users full control over data custody, including backup, replication, and security policies. To utilize this feature, the linked database must be PostgreSQL-compatible, and minimal permissions are required for reading and writing application data. A tutorial is available for connecting an AWS RDS Postgres database to a DBOS Cloud account, offering a seamless integration process without extensive database customization.
May 23, 2024 430 words in the original blog post.
DBOS Pro's subscription management and billing system, launched in April, was developed using DBOS Transact and Stripe to ensure security, reliability, scalability, and maintainability. The system, which comprises less than 500 lines of code, handles customer upgrades through a webhook that manages subscription status updates from Stripe to DBOS Cloud. The developers faced challenges such as ensuring quick webhook responses, event processing completion despite interruptions, and managing duplicate events. These were addressed by implementing a DBOS Transact reliable workflow that automatically resumes after interruptions and uses idempotency keys for event uniqueness. The application is hosted serverlessly on DBOS Cloud, simplifying deployment and scaling, and is available as open-source on GitHub.
May 14, 2024 1,161 words in the original blog post.
DBOS Cloud, launched in March 2024, presents a serverless platform architecture that integrates application, operating system, and database management using a control/data planes design. This architecture ensures applications are isolated, highly available, and reliable while supporting frequent updates. The control plane manages the system's intended state, including resource allocation and application versioning, while the data plane implements these states, executing applications in secure sandboxes using Firecracker virtualization. A resolving loop in the data plane enhances reliability by automatically restarting and recovering unresponsive VMs, allowing for seamless code updates and fast scaling of application resources. The system also handles decommissioning of outdated VMs and supports backward-compatible database schema migrations, ensuring continuity of service. DBOS Cloud leverages DBOS Transact for robust state management, offering an open-source, highly available, and secure environment for cloud applications, and invites users to get started with its free tools and community support.
May 10, 2024 868 words in the original blog post.