Blog
Product
Distributed UDFs: How we're building database functions from the ground up
Efficiency matters. When you’re working with large amounts of data, it matters a lot. Every trip between your application and the database incurs real costs, both in terms of time and money. So how can you minimize those trips?
Charlie Custer
December 5, 2022
applications
Global payments orchestration platform architecture
Modern hyper-growth merchants do not want to manage complex payment system architecture. They want to expand network tokenization offerings and make their systems more automated and API driven. Merchants like SeatGeek, for example, want to build a ticket sales system that makes payment processing simple and performant for their end users. The challenge for merchants like SeatGeek is that they need to adopt modern tools and push for automation while also continuing to meet all the standard data protection requirements of the financial services industry. At the most fundamental level, when merchants migrate from single datacenter architecture to a cloud-native, distributed architecture the data has to stay safe (at rest and in flight) and consistent. It requires a specific set of tools to meet fintech security standards while also modernizing the tech stack and distributing the data. That’s exactly the journey that Spreedly embarked on when they decided to migrate their payments orchestration service from a legacy database to CockroachDB.
Dan Kelly
November 20, 2022
Product
How to migrate from Heroku Postgres to CockroachDB serverless
In case you hadn’t already heard, Heroku is shutting down its free plans. The change has left many developers scrambling to replace what Heroku offered with other free services. And while CockroachDB doesn’t replace everything Heroku’s free tier offered, developers looking to replace the free cloud Postgres database that Heroku offered can already access an excellent replacement in CockroachDB serverless, a forever-free cloud database that actually offers some major advantages over Heroku Postgres.
Charlie Custer
November 17, 2022
Product
How retailers survive Black Friday and Cyber Monday
As retailers gear up for Black Friday and Cyber Monday, they will not be caught flat footed by the tidal wave of ecommerce sales. Lessons were learned during the unprecedented digital traffic during the pandemic. Retailers are taking new approaches such as shifting to a “Cyber Month” in order to promote deals early to avoid logistical nightmares, and developing lottery systems (like Nugget) to set expectations upfront. Some companies (such as Peloton) are even saying they won’t have a sale at all. Regardless of your strategy, Cyber Monday and associated holiday peak shopping periods will put pressure on your infrastructure. How are you going to handle massive traffic to your ecommerce site and prevent an outage? Will you survive a region failure? Are you confident when giving customers accurate pricing and shipping information? How many transactions can you process in an hour? In this post, we will cover three strategies retailers can employ to exceed customer expectations this holiday shopping season and beyond. (Interestingly, DoorDash just published a blog about how they deal with the challenge of inventory levels changing in real-time. Worth a read.)
Cassie McAllister
November 10, 2022
Product
How to optimize write latency for global tables in CockroachDB
Achieving low latency reads in a transactionally consistent, multi-region database is a unique challenge. In CockroachDB, two approaches are frequently used: geo-partitioning data so that it is located in the region where it is accessed most frequently, and historical reads, which read slightly stale data from local replicas. However, there is a third approach that is used less frequently because it fits a narrower use case: global tables. Global tables offer low-latency non-stale reads from all regions at the cost of higher write latency, and they can be used in many cases where the workload has a high read to write ratio.
Jon St. John
November 8, 2022
Product
Collect and deliver data with Vector by Datadog and CockroachDB
In my technical journey, I struggled to find a simple tool that gave me the flexibility to collect and deliver data to other monitoring tools. Until, one day, I found it.
Julian Hernandez
November 7, 2022
Product
Secure network egress with private CockroachDB clusters
As part of zero-trust focus, InfoSec and Risk teams pay extra attention to data exfiltration threat vectors, including both when it comes to how service providers manage their data, and how to control & manage insider risk exposure through their employees. Solutions to a number of those requirements manifest in the form of network security controls, especially for egress. With regard to database clusters, restricting clusters to access only specific resources for things like backup-restore, publishing real-time change events, or sending observability data can be challenging.
Abhinav Garg
November 4, 2022
Product
How to build modern gaming services — with reference architecture
Let game developers develop games. It doesn’t exactly sound revolutionary. But back in the day, that’s not always how things worked. Every game had its own systems for things like stat tracking, item purchases, user entitlements (in-game items a user has purchased or unlocked), and game devs often got bogged down building bespoke functionality into each of their games to handle these user features.
Charlie Custer
November 3, 2022
Product
Have some CAKE: The new (stateful) serverless stack
Serverless application stacks have been stuck in a dilemma: Most applications need some kind of state store, but most state stores aren’t serverless. Rich-data applications like payment apps, buy online/pick up in store services, and real-time online sports betting are incompatible with fully serverless architecture simply because, at some point, the database becomes a bottleneck. Why?
Keith McClellan
October 27, 2022