Apple’s Swift gives new things the power of 3 cloud systems

Aman Tech
3 Min Read
Disclosure: This website may contain affiliate links, which means I may earn a commission if you click on the link and make a purchase. I only recommend products or services that I personally use and believe will add value to my readers. Your support is appreciated!

Today cultured code Announced This has overhell the cloud backnd of the popular task management app Things 3 using Apple’s Swift programming language, now with the new system all users live in devices.

The cultured code reported that the infection in the new Swift-based infrastructure occurred originally and without any disruption for users. Although the behavior of the app remains unchanged on the surface, the underlying service that synchronizes two lists in iPhone, iPad, Mac, Apple Watch, and Apple Vision Pro, has been fully re-written using Swift and Deployment for more than a year.

The inheritance system was originally created using the Python 2 and Google App Engine, and served as a foundation for clouds for more than a decade. While the original synchronization algorithm persists and is based on a mathematical model capable of resolving offline editing and conflicts, aging technology stack was seen as a hindrance to future development. According to the cultured code, challenges included rising infrastructure costs, slow response time and dynamic typing in the python.

Apple launched Swift in 2014; It has since been widely adopted for the development of iOS and MACOS apps, but a limited growth in the server environment has been observed. The cultured code began to experiment with the server in 2021 with Swift, initially re-writing of different components before being committed to full-scale reconstruction.

To ensure a spontaneous migration, the new Swift system was initially run in parallel with the heritage system, obtaining and processing the same data, but without handling the user-supporting operations. This dual-processing system allowed engineers to validate new implementation under conditions like production. Once the team was satisfied with the accuracy and performance of the Swift Backnd, they converted all users into a new system in early 2024.

The cultured code reports that the new system has achieved significant performance reforms. Traffic peaks of 500 requests per second are now handled by a Kuberanets cluster, which consists of four nodes, each of which has two virtual CPUs and 8 GB RAM. This setup has caused a decrease of more than three times the compute cost compared to the heritage system. The synchronization response Times has also improved significantly, and the new architecture sync request provides a four -fold increase in processing speed.

Things have won two Apple Design Awards. The app is considered highly for its design stability and reliable syncing experience in the Apple ecosystem. Read more about changes in cultured code Full blog post Or its Post on Apple’s Swift.org blog,

Source link


Discover more from AM TechHive

Subscribe to get the latest posts sent to your email.

Share This Article
Leave a Comment