PayPal Tech Blog
medium.com/paypal-tech · Company blog · on HN since 2021
PayPal's engineering blog on Medium, covering Kubernetes scaling, Kafka, PostgreSQL, JunoDB, Spark on GPUs and API design.
What HN saysHN commenters link it for the JunoDB open-source announcement and for Braintree's post on Postgres schema changes and lock behavior.
16HN people shared it
3linked it in comments
29stories submitted
129story points
2 years agolast shared
2021people per year2026
Most-shared posts
- 1Scaling Kubernetes to Over 4k Nodes and 200k Pods4 people · 49 points · first shared 2022 · 4 comments on HN
- 2Spark 3 and GPUs to Reduce Cloud cost by up to 70%3 people · 13 points · first shared 2024 · 1 comments on HN
- 3We Solved the Thundering Herd Problem3 people · 9 points · first shared 2022 · discussion on HN
- 4JunoDB: PayPal’s Key-Value Store Goes Open-Source3 people · 2 points · first shared 2023 · discussion on HN
- 5PostgreSQL at Scale: Saving Space (Basically) for Free2 people · 13 points · first shared 2021 · 1 comments on HN
- 6Documentation-Driven API Design2 people · 4 points · first shared 2021 · discussion on HN
- 7GraphQL at PayPal: An Adoption Story1 people · 9 points · first shared 2021 · 4 comments on HN
- 8Scaling Kafka Consumer for Billions of Events1 people · 4 points · first shared 2021 · discussion on HN
- 9How PayPal Uses Real-time Graph Database and Graph Analysis to Fight Fraud1 people · 3 points · first shared 2021 · discussion on HN
- 10Scaling PayPal's AI Capabilities with PayPal Cosmos.ai Platform1 people · 3 points · first shared 2024 · discussion on HN
- 11The next generation of Data Platforms is the Data Mesh1 people · 3 points · first shared 2022 · discussion on HN
- 12Pre-Mortem: Working Backwards in Software Design1 people · 3 points · first shared 2021 · discussion on HN
- 13How We Built a Shared UI Component Library1 people · 3 points · first shared 2022 · discussion on HN
- 14PayPal Introduces Dione, an Open-Source Spark Indexing Library1 people · 3 points · first shared 2021 · discussion on HN
- 15DataFu-Spark1 people · 2 points · first shared 2021 · discussion on HN
What HN people wrote when they linked it
winwang · 2024-04-27
Let's assume a cloud datacenter context, using GCP as an example for real, verifiable numbers.
An L4 GPU node (with 4 CPU cores) is approximately the cost of a 16-core VM. So for the price of 64 cores, you could have ~4 L4 nodes (or perhaps one VM with 4 L4s). Each GPU has 300 GB/s of memory bandwidth, which is approximately 60 cores worth (at ~5GB/s per core). In fact, the 64 "cores" are typically 32 physical cores only, so you would expect lower than 300 GB/s for a 64-core VM.
Let's say network I/O is between 10 Gbits/s and 800 Gbits/s. PCIe 4.0x16 is 64 GB/s, i.e. 512 Gbits/s. PCIe 5.0x16 is double that, which would easily saturate the network link. Also, L4 GPUs have RDMA enabled, bypassing the CPU when ingesting data. I also highly doubt that a 64-(v)core VM can access ">100 PCIe lanes" unless you have some kind of sole tenancy setup.
Then, what if: instead of 4 L4 GPUs (which would have a similar cost to the 64-core node), you used 2 L4 GPUs and found that setup to process just as fast as your 64-core node? You'd have just halved your cost.
Of course, this depends on whether or not the GPU nodes actually process your data with the same SLA, but generally GPU network ingest > CPU network ingest (per $ of processing).
Here's some benchmark results from Voltron Data (I'm not affiliated with them): https://voltrondata.com/benchmarks/theseus
Here's more data from PayPal:…
yftsui · 2023-10-15
@dang The link should be pointing to the actual PayPal article https://medium.com/paypal-tech/unlocking-the-power-of-junodb-paypals-k…
Here is the archive link https://archive.ph/etRgW
brasetvik · 2021-11-06
Thanks for the background :)
Lock behaviour of migrations are indeed very important to be aware of.
Braintree (which are heavy Postgres users) have a pretty good post on that - https://medium.com/paypal-tech/postgresql-at-scale-database-schema-cha…