We would like to invite you to a 3-hour session on cloud-native architecture and containers. Content will delivered via Microsoft Teams platform on Thursday, April 4th, 15.00 – 18.00 EEST (time in your location).
The first 40 minutes will include a presentation by Tomasz Kopacz, CEE ISV Technical Recruit Lead, Poland:
What is a microservice
How to design a microservice
Tools at our disposal
The next 2 hours will include a presentation by Dimitris Gkanatsios, Technical Evangelist, Greece:
Intro to containers and container registries
Hands-on demos building containers
How to use containers on Azure (Web App for Containers, Azure Container Instances)
The need for orchestration and the path to Kubernetes
Intro to Azure Kubernetes Service
The primary aim of the session is to clear all architectural questions and doubts and to provide guidance on running container workloads on Azure. You can (should!) ask questions during the call. There will be a break as well as time for questions at the end of the call. Content will be delivered in the English language.
How can you participate? You can use your browser and just click this link at the designated date and time in order to join the event
Really happy to share that yesterday I succeeded in taking the Certified Kubernetes Application Developer (CKAD) exam (official page) from the Cloud Native Computing Foundation. This is an online 2-hour, proctored, performance based practical test that consists of several problems that are to be solved using only the command line. Exam format is really similar to the Linux Foundation Certified System Administrator exam that I took last year. The problem domains are the following, along with their weights (June 2018):
This year, I was lucky enough to be invited to Seattle to present two sessions on Microsoft Build 2018 developer conference. Both sessions were presented by Brian Peek and myself and their focus was on game development using Microsoft Azure.
At the first session, we demonstrated how to scale dedicated multiplayer game servers on Azure Container Instances using various Azure Services like Functions, Event Grid and more. Project we demonstrated is open source, completely written in Node.js and you can find it here on GitHub. Same project got a really cool mention at the Azure Container Instances general availability announcement blog post, check the video here (thanks Justin!).
At the second session, we demonstrated how to use Azure Cognitive Services as well as Functions and Cosmos DB to power up a Unity game. Moreover, we added some PlayFab stuff like leaderboards and events. This project is open source as well and you can find it here.
A customer I’ve been talking to recently asked me to work together to create a reference implementation (more like a proof of concept) for the next generation the backend for a game they currently have. In short, they needed a platform that would accommodate these needs and specifications:
accept incoming messages from game servers
incoming message rate would be a couple of hundred messages per minute
we need to store game session related events, so each piece of data is relevant to a specific game session that can run for minutes (20′-30′)
scalability and high availability (of course)
data is needed to be displayed in real-time (e.g. live leaderboards)
data is needed to be stored for later analysis (e.g. best players of the week)
In this blog post we are going to write down some thoughts regarding a game leaderboard implementation. They are written as question and answer pairs and cover the leaderboard design process as well as its technical implementation on a high level.
What is a leaderboard?
Leaderboards are a necessary asset for many types of games. A leaderboard provides a means to reward the best users and increase the game’s replay value by allowing the players to compete. It is defined as a collection of high scores achieved in a game session during a specific time segment in a specific portion of game for a specific set of users.
‘time segment’ relates to the lifetime of the leaderboard. Is it permanent or resets every day/week/month?
‘game portion’ relates to the portion/segment of the game the score was achieved in. Is the score relevant to the entire game or in just one of its levels? Is the score relevant to a single round of gameplay (single session) or multiple ones?
‘specific set of users’ relates to the ‘locality’ of the users and means that the leaderboard may contain scores for users that are in single machine or in a specific region (e.g. Europe) or worldwide
Really excited to share the news that on April 14th I got certified as a Linux Foundation Certified System Administrator, a certification offered from the Linux Foundation. This is an online, hands-on and practical exam that tests whether the candidate has the knowledge and experience to perform common tasks on a Linux server, in the following areas and weights:
Essential Commands – 25%
Operation of Running Systems – 20%
User and Group Management – 10%
Networking – 12%
Service Configuration – 20%
Storage Management – 13%
Certification is valid for two years, after that you have to renew. For more information regarding the exam format, the curriculum and recommended ways to study check the official LFCS page here as well as the official handbook and certification preparation guide. Personally, I used a Centos Azure Virtual Machine as well as Windows Subsystem for Linux as environments where I could practice the various commands (you really need to do a lot or practice, as the time during the exam is really limited). I also watched the excellent course “Linux Foundation Certified System Administrator” from Sander van Vugt which really brought my up to speed with the exam’s requirements as well as freshened up my Linux skills. You are also encouraged to practice using vi (basic stuff in navigation and editing was enough for me) as well as learning to efficiently use man pages. If you’re planning to take the exam, you should practice, practice and practice, best of luck!
The C# BotBuilder SDK supports a really cool thing call FormFlow. With this, you can write a C# class which is used as a base for a dynamically generated series of question/answer pairs, in order to fill the properties of this class. For instance, do you want to create a burger ordering bot? Just add a enum for BreadOptions, an enum for Toppings, a choice of SauceOptions etc. This is a really cool feature of the C# BotBuilder SDK which allows you to quickly develop a chatbot with predefined rules and flow. As the Node.js BotBuilder SDK lacks this functionality, I tried to replicate it since I needed it for a simple project I’m building. Meet formflowbotbuilder.
A few days ago, I was pitching Bot Framework to an interested party, when a question came up: “Does the Bot Framework support AIML files? We have a lot of them and we are wondering whether we could use them”. Honestly, I didn’t have a clue what AIML is, so I decided to run a quick search.
Turns out that AIML stands for Artificial Intelligence Markup Language and, as Wikipedia nicely mentions it, it is an XML dialect for creating natural language software agents. AIML was used to power Alice Bot back in 1995 (this was one of the first chat bots available to the public). Moreover, AIML powered a discussion with Captain Kirk of Enterprise (ho there, Star Trek fans!). Alice AIML files are open source, you can find them here.
In this blog post we’ll discuss how we built a Botfor ParkAround using Microsoft Bot Framework and hosted it in Azure platform.
ParkAround is a prominent startup in Greece which allows you to book your place in hundreds of car parks in the cities of Athens/Thessaloniki as well as the airports of Barcelona and Malaga. We worked with ParkAround to build a Bot that allows the user to book a parking spot at the airports of Athens and Thessaloniki. You can currently chat with the Bot on Facebook’s Messenger platform, whereas support for other channels (e.g. Skype) will be rolled out in the next few weeks.
Bot has the name of “Mitsaras, the parking assistant” (“Mitsaras” being the folk/friendly name for “Dimitris”) and you can chat with it here: https://www.messenger.com/t/parkaroundbot. Beware, bot currently uses Greek language only since it targets Greek audience for now. So, don’t get confused if it’s all Greek to you!
To develop the bot, we used Microsoft’s Bot Framework which allows you to create a bot that will interact with various conversation channels, such as Messenger, Skype, Slack and other services. Bot Framework supports a REST API and has two SDKs, one for .NET and one for Node.js. As most Microsoft SDKs nowadays, both of them are open source. If you aren’t acquainted with Bot Framework SDK, please take a look at the extensive documentation in order to better understand the code segments listed below. Also, ParkAround is a BizSpark startup, so we naturally chose Azure App Service PaaS platform to host the bot, so we can easily scale up/out if needed.
Last but definitely not least, before we continue with bot’s internals, we should mention that this work is a collaboration between myself, my colleague Sophia Chanialaki and ParkAround’s CEO, John Katsiotis.