Warning The guides are now part of Swift.org and will continue to be evolved there. This repo is now archived
Swift on Server Development Guide
Introduction
This guide is designed to help teams and individuals running Swift Server applications on Linux and to provide orientation for those who want to start with such development. It focuses on how to build, test, deploy and debug such application and provides tips in those areas.
Contents
- Setup and code editing
- Building
- Testing
- Debugging Memory leaks
- Performance troubleshooting and analysis
- Debugging multithreading issues and memory checks
- Deployment
Server-side library development
Server-side libraries should, to the best of their ability, play well with established patterns in the SSWG library ecosystem. They should also utilize the core observability libraries, such as: logging, metrics and distributed tracing, where applicable.
The below guidelines are aimed to help library developers with some of the typical questions and challenges they might face when designing server-side focused libraries with Swift:
The guide is a community effort, and all are invited to share their tips and know-how. Please provide a PR if you have ideas for improving this guide!