Using SwiftMetrics with a secure Kitura Server

SwiftMetrics does not provide any security, however, it can easily be used in an already secure environment. This article securing-kitura-part-1-enabling-ssltls-on-your-swift-server/ details how to configure Kitura to use SSL/TLS. This article on SwiftMetrics details how to use SwiftMetrics with Kitura. Combining the articles will enable you to use SwiftMetrics in a secure Kitura environment. I would…  Continue reading Using SwiftMetrics with a secure Kitura Server

Understanding the Application Metrics for Swift dashboard

Application Metrics for Swift contains a web-based dashboard showing a range of metrics including HTTP requests, CPU and memory usage. Installation Adding monitoring to your application is very straightforward in most cases, requiring just a few lines added to your main Swift source file. See the Quick Start Guide for details. After starting your application…  Continue reading Understanding the Application Metrics for Swift dashboard

Enterprise capabilities for Swift applications and micro-services

In this blog post, we introduce the new Swift-Enterprise-Demo application. This application highlights some of the new enterprise capabilities you can leverage when you deploy your Swift, Kitura-based applications to the Bluemix cloud. Using a cloud offering, such as Bluemix, for provisioning and running your applications allows you to focus on implementing business logic and features and not worry about server and hardware maintenance. However, there are more advantages for hosting your Kitura-based applications on the cloud as we will explore in this post!  Continue reading Enterprise capabilities for Swift applications and micro-services

Stabilize your Swift applications with CircuitBreaker

In this article you will get a high level overview of the Circuit Breaker design pattern, why you would use this pattern in your applications, and how to get started using the Swift CircuitBreaker library. What is the Circuit Breaker design pattern? The CircuitBreaker pattern embodies the idea of a traditional circuit. If the circuit…  Continue reading Stabilize your Swift applications with CircuitBreaker

DevOps at Swift@IBM

To leverage Travis CI and avoid duplication of code, we developed a set of utilities for building, testing, and performing quality checks against our Swift code. These common set of utilities are found in a GitHub repository that we have named Package-Builder. Our Swift packages leverage these capabilities by simply including a .travis.yml file that references the Package-Builder repository.

  Continue reading DevOps at Swift@IBM

Working with WebSockets in a Kitura based server

Historically Web Servers respond to requests sent to them using HTTP. These requests are sent over a TCP/IP socket. The response to one of these HTTP requests is sent back to the client using the same TCP/IP socket on which the request was sent. Fundamentally HTTP enables the client to send requests to the server…  Continue reading Working with WebSockets in a Kitura based server

Writing a WebSocket based chat server using Kitura

Introduction In this blog article I'd like to describe the building of a simple chat server using Kitura and Kitura-WebSocket. The server will support multiple users connected to a single chat. There is no storage of the messages exchanged, any messages sent are only received by those users connected at that moment in time. Slack…  Continue reading Writing a WebSocket based chat server using Kitura

Securing Kitura Part 3: Challenges on Cross-Platform SSL/TLS

Having a consistent development experience for Swift across iOS, tvOS, macOS and now Linux helps to drive higher developer productivity as well as better reuse of Swift assets/libraries across these platforms. The challenge then is to design and maintain consistent Swift APIs across these platforms while leveraging libraries and capabilities that might be specific to…  Continue reading Securing Kitura Part 3: Challenges on Cross-Platform SSL/TLS