<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aykhan Nazimzada on Medium]]></title>
        <description><![CDATA[Stories by Aykhan Nazimzada on Medium]]></description>
        <link>https://medium.com/@anazimzada2020?source=rss-6946bae8f4e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*k-KPaQN100UmjrZICDwT9g.jpeg</url>
            <title>Stories by Aykhan Nazimzada on Medium</title>
            <link>https://medium.com/@anazimzada2020?source=rss-6946bae8f4e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:11:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anazimzada2020/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[UNITY vs UNREAL. Which Game Engine Should You Choose to Start Learning in 2021]]></title>
            <link>https://anazimzada2020.medium.com/unity-vs-unreal-which-game-engine-should-you-choose-to-start-learning-in-2021-609513d1c402?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/609513d1c402</guid>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[game-engine]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Fri, 25 Dec 2020 21:03:40 GMT</pubDate>
            <atom:updated>2020-12-25T21:03:40.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8d6USh-JbEVLpPosvONlxg.jpeg" /></figure><p>This is a different article than what I usually do. Today, I want to address this issue because if you ever try to learn how to make games, you probably heard about the greatest rivalry of all time; Unity vs. Unreal Engine. That’s like the El Classico of game development world. It’s like the NBA play-offs. They’re like the Coca Cola and Pepsi. Well, you get the point. Unfortunately, that rivalry can confuse beginners on which engine they should choose when they want to learn game development and that is really important because if you are a complete beginner, you need to start learning with the easiest engine possible so that you can get a grasp of how things work and learn quickly. So, let’s take a look at what are the pros and cons of each engine, and why you as a beginner should choose one over another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*meU-zs0DfIXgcp2q45PxeQ.png" /><figcaption>Unreal VS Unity</figcaption></figure><p>First, we will start with no programming. Yes, I said no programming because I’m going to talk about “Blueprints” in Unreal. Basically, you can use blueprints in Unreal to create your game without the need to write code. This is useful for those who want to get into game development but don’t want to get into coding yet. On the other side, Unity has a new feature called “Visual Scripting” which is basically Unity’s blueprints. Same as Unreal, you can use visual scripting to create your game and not write any code. So, both engines are equal when it comes to that.</p><p>Now, let us get over to coding because in my opinion, anyone who wants to learn how to make games should start with coding right away. You need to eat that frog right away because the more you postpone it, the harder it will be for you to start learning it. And the best part is that coding is much easier than what you might think.</p><p>So, which programming languages do these engines use? Unreal uses C++ programming language to create games. I personally am NOT a big fan of C++. Because I find it hard for beginners to understand it, especially with pointers and memory management. It can get a bit tedious that’s why I don’t recommend C++ as your first programming language if you’re just starting out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OqHc0Ts7tXt8FKIIZr2DMw.png" /><figcaption>UI of Unreal Engine</figcaption></figure><p>Unity, however, uses C# which is a very powerful and easy to use programming language. It’s very easy to get started and very easy to understand. I highly recommend it to beginners who are just starting out. It doesn’t have pointers, and memory management is done for you. So, you don’t have to worry about it. Overall, when it comes to programming, I find that Unity has an advantage with its C# language because it is much easier to get started with C# than with C++.</p><p>Moving forward, Unity’s interface is very simple to use and understand. Unity’s core focus was great usability that’s why you can always expect user-friendly tools and an overly simplistic UI that will help you get up and running with the engine in no time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*072yKZAq1t2CAKhCAXNbkA.png" /><figcaption>UI of Unity</figcaption></figure><p>Unreal is on the opposite side. If it’s your first time using the engine, you can get a little bit intimidated by its UI. There are a lot of tools and options at your fingertips which can be overwhelming for a complete beginner and you can get lost very quickly. Of course, when you figure out how everything works, you will see how much flexibility Unreal Engine has to offer. But given the circumstance that you are just starting out, it can take some time for that to happen.</p><p>Next, the platforms for which we can build games in Unity are numerous. You can use Unity to create games for mobile, desktop, consoles, VR, even web. This means you build your game only once, and you can run it on all those platforms with just a few minor tweaks. Unreal also offers the same experience. You can build your games for multiple platforms using Unreal, but I’m not sure if Unreal has all platforms like Unity has. Nonetheless, for you as a beginner, that is not important because you will mostly develop mobile and computer games when you are learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N51IaBwFEZZF9HQq-dns-g.png" /><figcaption>Graphic Comparison</figcaption></figure><p>And now, we have the ultimate and main comparison between the engines which is where their battle has initially started. That is graphics comparison. So, both engines have advanced a lot when it comes to creating games with stunning graphics. However, Unreal has always had an upper hand over Unity when it comes to rendering same scenes a little bit better. But the most important part here is that you as a beginner should not care about that at all. When you are starting out, you are not going to create the “Grand Theft Auto 6” or “The Elder Scrolls VI” or “Witcher 4”. In fact, you will never create the AAA (Triple-A) game because games like that require hundreds millions of dollars in budget and teams of thousands of people. (If you attempt, you will end up like “Cyberpunk 2077”). You on the other hand, just want to learn how to code and make games engine has better graphics so which has no relevance to you at all.</p><p>You should focus on the main things that I mentioned which are programming, navigating and using the engine. In both cases, I find that Unity is much easier to use and navigate around than Unreal, and as I already mentioned, I find that C# is way easier to learn than C++ if you are just starting out. Of course, I’m not telling you use Unity for the rest of your life, you can learn how to make games using Unity then, move to Unreal because then you will have a solid foundation about how game development works so it will be much easier for you to pick up how Unreal Engine works as opposed if you were to just start using it as a beginner. At the end, this meme comes for the Apple fanboys who consider MacOS superior to Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZSuy-Y_qzxlkkrP7wyz8rQ.jpeg" /><figcaption>BONUS</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=609513d1c402" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Services]]></title>
            <link>https://anazimzada2020.medium.com/web-services-4e5add5a0d89?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e5add5a0d89</guid>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[https]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[web-services]]></category>
            <category><![CDATA[json]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Tue, 22 Dec 2020 11:11:35 GMT</pubDate>
            <atom:updated>2020-12-22T11:11:35.881Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*RgPglw6sybYqOcLKOT-z0Q.jpeg" /></figure><p>The topic of this article is Web Services. Web services are a set of technologies and rules that enable two or more components on the web to talk to each other. By components, I mean anything that exists on the web, anything that could operate on the web is a component. A web server is a component. A web browser is a component. Basically, any web program is a component.</p><p>Now, let’s talk about the first web service. The first web service used WSDL (which stands for Web Services Description Language) which is actually the rules in the previous definition and SOAP (Simple Object Access Protocol) which is technology. SOAP uses XML as data format and HTTP as the communication technology. Now, let me show you something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*5TyDCw27Ck0-oV4LRDwV_w.png" /></figure><p>This is an illustration of the first web service. Understanding this illustration is very important to understand in what is coming. So, pay close attention. Let’s start by the components parts we talked about earlier. Here, the components are the service provider and the service consumer. Think of the client-server model on the web. These service provider and service consumer could be anything as we said before. See what services were created to solve the communication part in distributed programming. Before I continue explaining this illustration, let me talk a little bit about distributed programming. It’s very important to understand in web services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8r12N17fbX2T-0yrVIQbw.png" /></figure><p>In distributed programming, the end software or the end system is a set of interlinked components or modules or as we will see later services that are located in different computers and communicate with each other through some protocol. The protocol here is SOAP. A web service is what makes it possible for these components to interoperate and communicate with each other. This web service is language or platform agnostic. What does this mean is that these modules or these components can be built with any programming language or exists in any platform, and they can still communicate with each other easily to achieve a certain functionality or goal in general.</p><p>So now, let’s go back to our illustration. As we said before, the two components are the service provider and the service consumer. Just to clarify, the service provider is the module or the component that does the functionality we need. The service consumer is the module or component that asks for it. The third part of this illustration is the history part which is the place where rules of communication exists. In the past, organizations that used distributed programming on the web or on any other network used to create their own web services with their own set of rules. And whenever a service consumer wants to communicate with the service provider, the service consumer needs first to consult the registry and ask for the rules that it needs to properly communicate with the service provider. The illustration explains this very well.</p><p>In the first step, the service provider create a set of rules, store them in their registry and says “hey, anyone who wants to talk to me just give them these rules”. After that, whenever a component or a service consumer wants to talk to a service provider or better yet consume service, it needs first to consult the registry and asks for the rules that it needs to properly communicate with the service provider as shown in the second and third steps. And finally, after the service consumer gets the rules, it sends a request to the service provider in a form of XML message. The service provider receives the request, analyzes it, does something, and sends back a response. That’s it! Now, I really don’t know if I explained that very well. But if this still sounds overwhelming and you’re still wondering what the heck is a web service, I promise by the end of this article, you’ll have all the necessary pieces to complete the picture.</p><p>Now, let’s talk about why we need web services. When I was talking about the first web service, I kind of gave you some hints and information about why and how the first web service came to exist. Well, that’s only half of the answer. Remember distributed programming and the need to make distributed system components to talk to each other and interoperate. Now more than ever before, the web is a very big and complex world that’s many complex software systems live in. Because there are so many software systems on the web many of which are based on distributed programming. Web services are needed more than ever before. Those systems need to talk to each other to do their job and to give a better user experience. Of course, now with cloud computing, we’ll see a lot of distributed systems and systems based on service-oriented architecture. For sure, web services will play an important role in this. So, web services are like the glue that holds everything together in the web.</p><p>Let me give you an example to make this clearer. One example is that if you ever used a web app before that has the sign-up and login features say like “Evernote” for those who don’t know it, it’s note-taking app on the web. This platform lets you create a new account and login using your Google account. That’s not magic. That’s just web services. Here is how it goes. You first go to the platform and click the sign-up button. Then, it shows you a very nice Google sign-up button, and you’re like “thank God, I don’t have to type in my name, the password, confirm and all the painful process”. You just click the Google sign-up button. What will happen after that is platform sends a message, thanks to web services, to a program into Google server which is the service provider and says “hey, someone wants to create an account using his Google info. Can you please send me his name, profile picture and some other stuff.” Then, a small window pops up. It’s Google asking you to allow ordinary requests. I’m sure you have seen something like this before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*QzWwRLnngQJO87_hFYBXrQ.png" /></figure><p>This is the service provider asking you whether you want to allow or deny request. This is because Google wants to make sure that this is not a hacker or something that could do some kind of malicious action.</p><p>Let’s talk about what web services are exactly. You may be saying “if now you are going to talk about what web services are, what the heck were you talking about until now”. Well, I hope what I talked about before will make it easy to build the proper mental model of web services. So, in this section, I just want to put everything we talked about together and give you a clear and concise definition of what a web service is.</p><p>A web service is nothing but a connection technology that allows two or more components also known as Services to interoperate. So, web services are the bridge between components on the web. Each of these components which are actually just programs, these components or these programs do things got other programs need whether it’s some kind of computation, featuring a database, executing scripts, anything that can be achieved with programming.</p><p>Let’s talk about how they work. The model of the first web service I showed you before is no longer used. With the advancement of new technologies, it turned out that this model is not efficient, and new models are used. A lot of efforts are being made to standardize one kind of web services. That’s important because this allows for easier exchange of data and a significant reduction of development and maintenance time. Every service on the web can talk to any other service. One kind of this web services is REST web services. Now, most of the organizations adopt and use RESTful services. If you have not enough information about REST architecture or HTTP protocol, you can refer to my previous article.</p><p>How they work depends on the web service. What I will talk about here is what they have in common. The first thing we should know about web services is that they harness the power of HTTP. They use HTTP to handle the communication parts. So, web services allow two systems to talk to each other by sending HTTP messages, just a regular HTTP communication. The second thing that I have in common is that they all have to have an agreed upon data format that they will be using to talk to each other. Here is a simple illustration of how this happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nidfslkRxZoG1BSH_bSFcg.png" /></figure><p>Here, we have the service provider, service consumer, and the exchange of messages. Think of the HTTP as the envelope, and this HTTP envelope will contain the message that is written in the data format that the service provider and service consumer agreed upon. If you remember in the first web service, the data format was XML. Another thing to note here is that both the service provider and service consumer have the ability to pass the messages and extract meaning from them.</p><p>Before I finish, let me tell you what you need to know to build either service providers or service consumers which are also called clients and what you really should know to use web services effectively. First you need to have a solid understanding of the HTTP protocol and now HTTP2. HTTP2 has a lot of great capabilities. It will certainly be great change in web services and in the web generally. Next, you should be familiar with data exchange formats and the most used ones which are XML and JSON. You should know how they work, how you send and receive messages using them, and how to pass them of course. Another important thing is you should try to know about the REST specification, the REST rules. Because most of the communications over the web follow the REST rules. That’s all for this article. Keep Up!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e5add5a0d89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Progressive Web App VS Responsive Website VS Native App]]></title>
            <link>https://anazimzada2020.medium.com/progressive-web-app-vs-responsive-website-vs-native-app-d3f7e9e63a60?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3f7e9e63a60</guid>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[progressive-web-app]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[native-app]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Fri, 18 Dec 2020 18:36:32 GMT</pubDate>
            <atom:updated>2020-12-18T18:36:32.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*PstEzqpX8y6wWkE0eQhFrw.png" /></figure><p>Are you building a mobile application and unsure whether it should be a Progressive Web App, a Native App or a Responsive Website? I’m going to be talking about all of these things in this article.</p><p>Let’s focus on what is a Progressive Web App? You might have heard this which is a very trendy word. Essentially, a progressive web app is a website which just has all of the same features of a normal website. You can create that as an application that can be saved on your mobile phone or your tablet. Now, the thing that makes a web app progressive is the fact that it can be used online and offline. Differently, when you’re dealing with a website while you’re offline, you just can’t access that website through your browser on your mobile phones or tablets. It simply communicates through the network to retrieve new content and cache that content on your local device. It means that you can then use that application offline. Also, progressive web apps can be stored to the actual mobile phone itself. So, usually when you see a progressive web app, it will come up with a message somewhere at the bottom saying, “Add to Home Screen”. This means that the website is actually handled much like normal applications would be on a mobile phone or a tablet. You actually open them like you would a normal application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CboasRSnyEMwDQyjQRDXjw.jpeg" /></figure><p>What is the point in Progressive Web Apps? Why is Google and Microsoft pushing progressive web apps? Simply because they are still websites which means Google and Bing can still crawl those applications. The obvious benefit of creating a progressive web app compared to a native app is the fact that you only have to create one piece of code. That is one website, and it can be handled just like a normal website. Still, you can deal with the actual application specific to mobile and tablet platforms. So, you’re only dealing with one code base which is fantastic. You’re not having another code base just for a mobile app. There are number of developers out there deal with separate mobile applications using RSS feeds or API requests, but when they change the front-end of their website, they need to change the front-end of the actual native application too. And if they have applications that are on iOS or Android or other mobile platforms, then that’s quite a lot of work. A lot of different developers need to get involved just to change the front-end of those apps. In those cases, progressive web app is suitable because you simply get a single developer to build a website that is progressive.</p><p>Now, let’s talk about Responsive websites. A responsive website calculates the width/height to display things in different dimensions based on mobile phone’s or tablet’s dimension of their screen. You use media queries to do that so, you can define perhaps minimum weight or minimum height or orientation and more. The biggest disadvantage of using responsive websites in order to make an application is that application just simply won’t work offline. As it is a website, you need to have a browser to actually access that website. Like I said, responsive websites use media queries to design and define the particular orientation, so you also need to have various different devices on hand to test all of those kind of things. Maybe, you don’t need to have anything that is cached locally on an application, in this case, responsive web apps is the best thing to do, and not so much to do with the progressive web apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*NSoztYjiFzep-7lNDeeRMg.jpeg" /></figure><p>In this place, let’s talk about Native apps. So, these are applications that are created in their native programming languages and ecosystems. For instance, XCode for Apple, Java for Android, and other programming languages for the other platforms that are available. Now, the problem with this is that you obviously need to have talented developers in those fields. If you have an application that is on more than one platform, then you need to have more than one skillset available to you whenever you go and do an update. This is why a lot of people are pushing for these progressive web apps or just simple responsive websites that allow web developers to actually build these applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*VsX2VulEaYToVkGS7OZq_A.png" /></figure><p>If you’re making mobile games, then, I don’t recommend progressive web app. I certainly don’t recommend just responsive websites as well because you want to have people playing your games offline. I recommend just native apps at the moment. I recommend dealing with Android, dealing with XCode because you’re going to be using all of those features; those rich graphical features native platforms support. They are very in tune with their hardware, so you can’t do all the graphic intensive hungry stuff on these kind of web apps that we’re talking about with the responsive websites or with the progressive web apps. Because they are literally just websites. So, you need to make a distinction of that is your application requires all the hardware and the certain specific features that these mobile phones or devices support? Or is this simply just a some version of a website that I can provide to my customers and my clients that will allow them to communicate? Or do they need to have access to website offline?</p><p>If it needs to be reachable when it is offline, then perhaps choice can be progressive web app. If you don’t need to have it offline, then just use responsive websites. And of course, if it is incredibly technical, then use the native applications. I guess that is kind of where I would go in my flowchart when a client comes to me and says, “you’re a freelance mobile app developer, and I want my websites to have an application”. This is kind of the thought that how I would break that down, and how I would give the recommendations to the client. That’s all for today. Thanks for reading till the end (hopefully)!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3f7e9e63a60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Services, APIs, and REST]]></title>
            <link>https://anazimzada2020.medium.com/web-services-apis-and-rest-1b66ed22a6f0?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b66ed22a6f0</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[web-services]]></category>
            <category><![CDATA[restful]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[restful-web-service]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 14:15:37 GMT</pubDate>
            <atom:updated>2020-12-15T14:15:37.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*DfhIVKJilrmwf6R8qQwfAg.png" /></figure><p>In this article, I’m going to talk about APIs, REST, RESTful Web Services and everything you need to know about this topic.</p><p>Let’s talk about APIs first. In this section, I’ll give a brief overview of what an API is, and how it fits into the big picture. I’m going to answer three questions; What is API? How does it relate to web services? And what is a REST API? Okay, let’s start by answering the first question. API stands for Application Programming Interface, and it is a way to let software components talk to each other. This simple diagram shows a visualization of this communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wnGxwuL2ApUKxIdr8QfTw.png" /></figure><p>Let’s start by a simple analogy. I’m assuming you’re familiar with object-oriented programming. In object-oriented programming, objects have methods and attributes. Later, when we want to use or communicate with the objects to use its attributes or its functionalities, we use the methods and the attributes that the object exposes. Here, we have an object called ‘objectA,’ and it has two attributes and two methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*5Si802DI1awI9kmGKsLKjQ.png" /></figure><p>The set of these methods and attributes is called the API of the object. To communicate or use the functionalities of object, we do that through its API. So basically, an API is just a way to communicate with software components. It could be anything in any form. The only thing that it has to be is that it has to be a way to communicate with software components. In the previous example, I took the form of a set of attributes and methods. Now, let me give you another example everyone knows about. API is the way we interact with the operating system in the command line. Actually, this is a form of using an API. If you are Mac or Linux or Windows user, you may be familiar with the terminal or the command-line interface. You could write a script that uses the same API that is exposed by the system to shut it down or do any of the operations that are permissible by the system. So, an API could be anything in any form.</p><p>Alright, let’s answer the second question; how does the concept of an API relate to web services? And what is the difference between them? We almost always hear web services and API used interchangeably, and this causes a lot of confusion even for experienced developers. We often hear REST web services and APIs. Well, are they the same? I hope this article will clear things up. Remember what we said about an API, it is just a way to communicate with the software components. Most of the times, if not all, APIs are created for other software components. How an API is implemented and what it consists of is not important. To sum up, <strong><em>API</em></strong><em> could be anything in any form. The only thing that it has to be is that it has to be </em><strong><em>a way to communicate with a software component</em></strong>.</p><p><strong><em>Web services</em></strong><em> are a set of rules and technologies that enable two or more components </em><strong><em>on the web</em></strong><em> to talk to each other</em>. So, if you think about it, web services are just API, right? Just as the example of the object-oriented programming, the set of methods and attributes of an object are called an API in the object-oriented context. Similarly, web services are APIs in the context of the web. So, on the web, an API and a web service are the same thing. But in general, not every API is the web service. Next time when you may hear REST API or REST Web Service, they are basically the same thing.</p><p>It’s time to answer the third and last question. What is the REST API, in other words, what is the REST Web Service? <strong><em>REST API</em></strong><em> is an API that follows the rules of the </em><strong><em>REST specification</em></strong>. That’s all you need to know right now. When we talk about REST architecture and rules in the next sections, you will understand, what the REST API really is. Now, before I continue, I want to make sure you understand the rules part.</p><p>A web service has to follow some rules. More specifically, how we are going to talk to the other software component? What will send and what will receive? And how all of that is going to be handled? This is what we mean by rules? We could have an API that doesn’t necessarily follow the REST rules. So, a REST API follows the REST rules.</p><p>Now, let’s talk about <strong>REST, Representational State Transfer</strong>. Instead of directly defining exactly what REST is, let me answer some important questions and that first will help you put the REST pieces to the right places in the big picture, second, you will know the answer of the two questions. With that, we will hit two birds with just one stone.</p><p>Alright, let’s see the first question. <em>How does </em><strong><em>HTTP</em></strong><em> relate to </em><strong><em>REST</em></strong>? We all know that HTTP is an application layer protocol for sending and receiving messages over a network. As developers, we can use the HTTP protocol in any way we want. We could, for instance, build a server and the client that use only the GET method for all kinds of interactions. If you know the HTTP protocol very well, you will know that you can do that. On the other hand, <strong><em>REST</em></strong><em> is a </em><strong><em>specification</em></strong><em> that dictates </em><strong><em>how distributed systems on the web should communicate</em></strong>. We must follow certain rules that restrict the use of the HTTP method. So, the answer to the question what the relationship between REST and HTTP is, REST is a certain way to implement HTTP communication.</p><p><em>How does The </em><strong><em>WEB</em></strong><em> relate to </em><strong><em>REST</em></strong>? That’s a really great question. REST is a concept invented by Roy Fielding. REST is not something new, actually, it is as old as the web. REST is how communication on the web is supposed to work. Of course, that guy added a lot of stuff and give us best practices. He did a lot of great things, but <strong><em>REST</em></strong><em> is the underlying architecture of the </em><strong><em>WEB</em></strong><em>.</em> This means that developers broke the rules. If you look into web services that are built in the past and some of the new ones, you’ll see a lot of violation of these rules. For example, REST says when you want to send something to a component on the web such as a service that post data to a database, REST says we should use the POST HTTP method. But that’s not what all developers do. Some actually, use just the GET method for all operations. I know some developers will hate me if they hear this, because developers don’t want to be restricted. However, REST is not about restriction. REST is about doing things how they’re supposed to be. By the way, I’m not saying REST is the best architectural style, but it’s still better than doing things arbitrarily.</p><p>Now, let’s define exactly what REST is and list some of its rules. And if you want to dive deeper, I highly recommend checking the source Roy Fielding’s dissertation. To define the REST there is no better way than hearing the definition from its inventor. <em>“Throughout the HTTP standardization process, I was called on to defend the design choices of the Web. That is an extremely difficult thing to do with in a process that accepts proposals from anyone on a topic that was rapidly becoming the center of an entire industry. I had comments from well over 500 developers, many of whom were distinguished engineers with decades of experience, and I had to explain everything from the most abstract notions of Web interaction to the finest details of HTTP syntax. That process honed my model down to a core set of principles, properties, and constraints that are now called REST”. </em>To put it simply, REST is just a way of communication between components on the web.</p><p>For now, all you need to know is that there are two most important rules. These two rules are what most APIs need, and they are actually the answers of the two questions that every API should answer. Well, what are these questions? The first question is <em>how to tell the service provider which operation the client wants to perform</em>. Let’s call it the <strong>Method Information</strong>, okay? The second question is <em>how to tell the service provider what data the client wants to operate on</em> and call it the <strong>Scoping Information</strong>. So, these are the two questions that every API should answer. Now, of course, there is more than an answer to each question, but if we want our API to be RESTful, we got to answer with the REST rules.</p><p>Let’s see how REST answers these questions. REST answers the first question like this; <em>the </em><strong><em>method information</em></strong><em> should be expressed in the HTTP verb</em>. That’s it. So, if you want to delete something, we don’t use the GET method. This is possible but it’s not even intuitive, right? So, we use the DELETE HTTP method instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*rbm6BkkaI2dM42hSIIvtBQ.png" /></figure><p>There is difference between the two requests. The first one is not restful, the second one is restful. So, to tell the service provider which operation the client wants to perform that information should be expressed in the HTTP verb. And the service provider when it receives the request it will open it and go look for the operation it needs to perform on the HTTP verb, not somewhere else.</p><p>The second question which is what data the client should operate on or the scoping information as we called it. REST answers this question like this; <em>the </em><strong><em>scoping information</em></strong><em> should go in the </em><strong><em>URI</em></strong>. If you are not familiar with URIs, URNs, URLs, and the difference between them, you can visit my previous post about them. Another thing to note here, in REST, everything that a client can operate on is called their resource. And its resource is identifiable by a unique URI. Here in the illustration, the scoping information is a parameter in the URI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*NqlZCZ9M5wyVHgW9V0hLQw.png" /></figure><p>Lastly, how a RESTful API works? We had enough talk, and I hope you have a good idea about all of this. Now, let’s see some action. I think things are about to become clearer now. I’ll show you how a RESTful API works in a typical service provider client communication using a diagram. So, REST API communication is just a typical HTTP communication that follows the REST principles and is restricted by the REST rules. The first thing to note is that REST APIs use HTTP methods suitably. Meaning that each operation is requested by using the appropriate HTTP method; GET for getting data, POST for creating, DELETE for deleting and etc. The second thing is that REST API specifies scoping information in the parameters or in static portions of the URI. Of course, as we’ve seen before, REST API uses common data formats for exchanging data like XML and JSON. JSON is the most common data format in REST communication. The last thing I want to note here is that REST communications are stateless meaning that the server doesn’t maintain the states of its clients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tLrWKSF5fp7w0OalR0zbiQ.png" /></figure><p>Here as you can see from the diagram, it’s just a typical request/response cycle. We have service provider and the service consumer. First, the service consumer or the client sends the requests specifying the operation in the HTTP method and the resource it wants to operate on in the URI. If it’s a POST or PUT request, it will contain a body. Then, the service provider receives requests, opens it, analyzes it, does some operations, and sends back the response. That’s it!</p><p>I hope I managed to give you a clear and solid idea about REST API, and I hope you enjoyed this article. Before you go, let me tell you something. So, I will list several thing of what you should know in order to start building relatively complex REST API. First, you have to have a solid understanding of HTTP methods, headers and other stuffs. Second, you must be familiar with data exchange formats like JSON and XML. And last thing is that it would be great if you know about REST rules and understand the REST concepts. This is it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b66ed22a6f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[URI, URN, and URL (Protocol, Domain, Port, Path, Query Strings, Fragments)]]></title>
            <link>https://anazimzada2020.medium.com/uri-urn-and-url-protocol-domain-port-path-query-strings-fragments-fbc4a96efc2b?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbc4a96efc2b</guid>
            <category><![CDATA[domains]]></category>
            <category><![CDATA[query]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[fragments]]></category>
            <category><![CDATA[protocol]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Sun, 13 Dec 2020 21:05:22 GMT</pubDate>
            <atom:updated>2020-12-13T21:07:04.036Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*DpGwcvPjUaFzJ7WPh4sVcw.png" /></figure><p>In this article, I will talk about <strong>URI</strong>s, <strong>URL</strong>s and <strong>URN</strong>s because I see a lot of confusion between this three. In fact, I used to confuse between them, and they caused me a lot of headache, and I don’t want you to go through that. Learning about these three terms and the difference between them can be quite useful on the long run. So, what do these three acronyms stand for? What do they mean? What is the difference between them? And why does it matter? Let’s start by defining each one of them.</p><p>The URI stands for <strong>“Uniform Resource Identifier”</strong>. It is a string of characters used to identify a resource on the internet either by location or by name or both. For example, let’s say we want to get to a friend. His name is “Lorem Ipsum”. Ok, that’s not a name but anyway. And his address is “7083 Columbia Street, Woonsocket, RI 02895”, random things. Actually, we need to use either his name or his address. Think of the URI as using the name or the address to identify the person we want to get to. And of course, we can use both at the same time. Whether we use just one or both, in both cases, it is a URI. It is a way to identify the resource. We will come back to the URI later.</p><p>Now, the URL stands for <strong>“Uniform Resource Locator”</strong>. It is pretty self-explanatory, right? It is also a string of characters, but it refers to just the address, just the location of the resource. It is the most used way to locate resources on the web. For example, in our case, we can identify our friend by just using his location.</p><p>URN in its place stands for Uniform Resource …… Can you guess that? Yeah, name. <strong>“Uniform Resource Name”</strong>. Now, this should be obvious to you it is the name of the resource. Again, in our case. if we want to locate our friends using a URN, we will use his name “Lorem Ipsum”. I really loved this male name.</p><p>URIs can specify the name and the location of the source we are looking for as we say the one of them or both at the same time. URLs use just the location while URNs indicate just the name then, technically a URI is either a URL or a URN, right? Therefore, every URL and every URN is a URI. Well, that’s true because back in the mid-90s, in the creation of web identifiers, URIs were split into two classes; that specify the location and those that specify the name. And to avoid the confusion about whether a URI is specifying the name or the location. URIs that specify the location were called URLs, “Uniform Resource Locators”. That’s what we use in web browsers actually when we want to get a web page. URIs that specify the name we’ll call URNs. And, Identifiers that specify both the name and the location is called, of course, URI.</p><p>Since two or more resources can have the same name, it is ineffective to use URNs to identify and locate resources. Thus, almost all the time, we use URLs to do that, and because we use URLs most of the time, let’s talk about them in a little more detail.</p><p>In order to allow clients to request resources from servers, HTTP messages need to be sent to the server holding the URL. Well, how can we send an HTTP message? We do that by typing the URL in the browser and hitting the “Enter”. Let’s see how a URL looks like.</p><p>URL consists of two required components; the protocol used to connect, and the domain or the IP address to connect to. As you may know, URL has other than these information but that’s optional such as the path which locate the file or the directory in the server, and you can also see the port and other components that we will see in a few.</p><p>The first part is the <strong>protocol</strong> we are using which is of course HTTP or HTTPS. If we are looking for resources on the web, we can use different protocols, for example, if we want to share files on the internet, we use the FTP protocol. The second part is the <strong>domain</strong>. The domain is the name that the domain name server gives you a unique IP address so that we can use either the name or the IP address. For example, “mywebsite.com” has the IP address “111.222.33.444”. The domain in the URL is case-insensitive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*dqg3PVHNjdSrJ760brbmjw.png" /></figure><p>An optional attribute is the <strong>port</strong>. if there is any, it should be after the domain preceded by a colon (:). You may wonder what a port is. Simply, port is a type of software connection point used by the TCP/IP protocol and the connecting computer. Think of that as two persons want to meet, and two parallel walls are between them. Each wall has the same number of doors as the other one, and its door is facing its opposite vis-à-vis (face-to-face) and lead just to it. In order to meet, the two persons should open the same door in each wall. This is the same principle as the port in a URL. By specifying the port number, we are telling the server from which ports our request is coming and from which should be received. By default, every protocol has its default port number, so if we didn’t specify the port number, it’s actually the same as using the default, and it doesn’t appear on the URL. For example, the HTTP default port is 80. If we want to connect to the server via different port, we should specify that.</p><p><a href="https://mywebsite.com:888/register.php"><em>https://mywebsite.com</em><strong><em>:888</em></strong><em>/register.php</em></a></p><p>In this case, we are trying to connect through the port 888. The next part of the URL is the <strong>path</strong>. This is a familiar concept to anyone who has ever used a computer file system. This is a way to locate the resource on the server.</p><p><a href="https://mywebsite.com/products/product.php"><em>https://mywebsite.com/products/product.php</em></a></p><p>There can be other parts which are query strings and fragments. <strong>Query Strings</strong> are a way of passing information from the client to the server such as entering information in user form input. They are preceded by a question mark (?) and encoded as key value pairs delimited by an ampersand (&amp;) symbol. And here is an example of that:</p><p><a href="https://mywebsite.com/signup?fullname=Lorem&amp;lastname=Ipsum"><em>https://mywebsite.com/signup</em><strong><em>?fullname=Lorem&amp;lastname=Ipsum</em></strong></a></p><p><strong>Fragments</strong> are always at the end of the URL. You can identify a fragment by the hash (#) symbol before it. They are used as a way of requesting a portion of a page. Browsers will see the fragment tag in the HTML code and scroll the website down to it. For example, this is a URL that contains the fragments from the Wikipedia website:</p><p><a href="https://en.wikipedia.org/wiki/Web_developer#External_links"><em>https://en.wikipedia.org/wiki/Web_developer#</em><strong><em>External_links</em></strong></a></p><p>To sum up, we’ve seen that we use URIs, URLs or URNs to identify resources. URIs can specify the address or the name of the resource or both at the same time. We usually use URLs to identify resources, and a URL consists of required components which are the protocol and the domain and optional ones such as port, path, query strings and fragments. So, there you have it! No headaches anymore! I hope you find this article useful, and you’ve learned something from it. Till the next article, keep learning and stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbc4a96efc2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ServerLess Computing]]></title>
            <link>https://anazimzada2020.medium.com/serverless-computing-d26dd2a89972?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d26dd2a89972</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[computing]]></category>
            <category><![CDATA[services]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Tue, 08 Dec 2020 17:47:53 GMT</pubDate>
            <atom:updated>2020-12-08T17:47:53.853Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RekQUFx3q5z8m3XIeCdYNw.jpeg" /></figure><p>In this article, I’m going to talk about ServerLess. That’s fact that everyone is talking about serverless, so why shouldn’t I. The first thing I want to say about this new buzzword is that serverless doesn’t mean no servers. Before I go deeper into this, I want to remind you of how we got to where we are today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dBaI-wqsqKKsGuJv5nDngg.png" /></figure><p>Not so long ago, companies and the individuals used to buy and manage their own software &amp; hardware from networking infrastructure to data stores, servers to high-level responsibilities, hiring specialized teams, and the individuals for each responsibility. It was kind of the <strong>D.I.A.Y</strong> (Do It All Yourself). Then, the <strong>cloud</strong> came which is in combination with <strong>virtualization</strong> laid the ground for <strong>IaaS</strong> (Infrastructure as a Service), <strong>PaaS</strong> (Platform as a Service) and similar services which made companies and individuals happy. These technologies and trends allowed us to focus on the business logic more. So, lead time has shortened and the creation of software from requirement gathering to production ready software has become relatively easier, cheaper, and quicker. Afterward, the containerization wave came, and we started to hear about deploying single instances and units that use enough resources from the host. And new service emerged, <strong>CaaS</strong> (Container as a Service). I’m hearing you saying that “dude, I want to hear about serverless, what’s with the history class”. You are actually right, but I want you to know all these stuff because these all are for building and deploying software easier, cheaper, and quicker together with reduced risks and increased efficiency. Serverless is nothing but a step forward in this evolution. You see for each of these advancements such as Cloud, IaaS, PaaS, CaaS, for each one of these, some headaches have been gone and a lot of burden has been lifted from our shoulders. That’s great but there are still some headaches that we still need to deal with like servers, the logic they require and everything from creating server-side, code that perform a lot of functionalities that are not related to the business logic such as routing, security, authentication, authorization, maintaining and debugging. Server-side of the application are still done by developers. Serverless came to make another headache disappear; building and managing the server-side of application. Serverless is building software by focusing more on business logic without thinking about how you are going to serve your software. It is like there is no server, just business logic. I know it really sounds weird but that doesn’t mean there is no server-side work done by developers at all. There will be still some configuration and integration work, but all those headaches of the back-end developers used to go through are gone with Serverless.</p><p><strong>Serverless</strong> is building software without worrying about servers. This new model or new way of thinking has specific mechanisms or constraints we need to follow which is how it works. Before I explain, I want to say that this approach forces us to use new architectural patterns and styles in building our software. More specifically event-driven distributed pattern works well with this model. But we have to be careful here, software architects might be obliged to make some changes regarding the architectural patterns they have used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tYcsG_rTfN0jlzZ1ehopfA.png" /></figure><p>So, how does this serverless computing work? Here, we have the client on the right side, the developer on the left side and in between is where the magic happens. We basically write business logic and deploy it to the provider for instance, Amazon which encapsulates code units in forms of functions. This is where actually the FaaS (Function as a Service) acronym came from. So, whenever a client request comes to your application, a notification gets triggered to a service that is listening for clients requests. After that, the server tries to locate the code that is responsible for answering the request. When it finds it, it is loaded into a container, then the code gets executed, the answer gets constructed and sent to the client. That’s pretty much it. Now, I have mentioned the term FaaS as serving your code units as functions which is your business logic. That’s only one aspect of this model. The other aspect of serverless is that you get to have all the responsibilities done for you through BaaS (Back-end as a Service) like authentication and routing. I’m sure you’ve heard Amazon API gateway before. This technology belong to serverless computing, is considered as back-end services. And this is serverless in a nutshell.</p><p>In this place, let me briefly list the pros and cons of serverless which is important to know in order to make the right decision. Just like all cloud services, the serverless model reduces or even eliminate the managing &amp; maintaining <strong>server-side work</strong> and eventually <strong>reduces cost</strong>. You don’t have to hire anyone to do back-end work for you and save money. Another advantage is <strong>reduced risk</strong> and <strong>increased efficiency</strong>. By delegating and handling over server-side responsibilities to someone who is dedicated to such responsibilities and have a great expertise in this area, you will reduce the risk of doing the wrong thing or even failing to fix the system when it is down. Cloud providers ensure everything is going smoothly and even if something goes wrong, they are ready to fix it in a matter of time. Also, you don’t have to worry about <strong>security and updates</strong>. The best part is if your application certainly <strong>needs more resources or needs to scale</strong> that is handled for you in no time. This is impossible when you are managing your servers on your own. The last thing I want to say concerning serverless model is that, by letting you focus more on business, the <strong>prototyping cycle and lead time has significantly shortened</strong> in comparison to before.</p><p>However, this doesn’t mean serverless is the magic wand that will turn everything to gold. It has some limitations as well. Probably the most serious limitation is that managing stage for <strong>complex requests</strong> is tricky, and developers should know their way around this. Another limitation is the <strong>high latency</strong>. Because there will be a lot of calls and also the problem of what is known as the “<strong>cold start”</strong> which is when your code is requested while it is not running. These problems turn into issues for systems that need to be highly interactive in real time. One last limitation I want to talk about is the <strong>“vendor lock-in”</strong>. This simply means that you become very <strong>dependent on the service provider</strong> and certainly there are drawbacks in these situations. But I believe this will change in the near future as more cloud providers will enter the market and technologies gets more standardized. So, these are some limitations, and you might find others. It’s worth to mention that these are not proof of serverless is whether good or bad. Instead, it’s worth knowing because it lets you make the right choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEhz8F04-Tu4IrCwMW2BXg.png" /></figure><p>Before I finish, let me tell you about some serverless computing providers, technologies and some examples of the things that can be built with serverless technology. “Amazon” is pioneer to enter this new evolution with “AWS lambda”, a serverless computing platform that adopts an event-driven approach and has what you need to create serverless apps. “Google Cloud” functions is another provider for serverless services, it has a different approach, but the model is pretty much the same. Lastly, “Google Firebase” is a well-known platform that you can use in this context. With serverless computing, you can build static websites, e-commerce platforms, chatbots, IoT services, big data apps, event-driven system and etc.</p><p>That’s all I know about Serverless Computing! Thanks for allocating your time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d26dd2a89972" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed Systems & Distributed Computing Part II]]></title>
            <link>https://anazimzada2020.medium.com/distributed-systems-distributed-computing-part-ii-3ce3adf3649e?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ce3adf3649e</guid>
            <category><![CDATA[distributed-computing]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[architectural-patterns]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Sun, 06 Dec 2020 09:10:21 GMT</pubDate>
            <atom:updated>2020-12-06T09:10:21.354Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_5tl3ra-jyefG2WGQyX8fg.png" /></figure><p>Why not to use one single supercomputer that could do everything we want and save ourselves from the trouble? Why to use that several computers and add the overhead of managing and maintaining them? That’s actually a good question and the answer is the motives of a distributed system which are many.</p><p>One of the most common one is the need for a solution where we need to reach a <strong>consensus</strong> among parties that are dispersed geographically. Examples of such cases are online banking, blockchain, bidding platforms and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*7JwzLYRhm9fAASOdoHsRSQ.png" /></figure><p><strong>Resource sharing</strong> is another reason why we need distributed system such as databases or distributed file systems. Another example that falls under the same reason are P2P (peer-to-peer) systems like the BitTorrent Network.</p><p>Another case where we need a distributed system is when it’s inefficient to <strong>replicate</strong> <strong>data</strong> using one computer or scalability has crucial importance, distributed system is probably the optimal solution. Of course, there are other reasons why one would choose a distributed system such as availability and reliability.</p><p>These are the main reasons why one would prefer to go for a distributed system. Related to the motives for using such systems are the advantages of distributed computing. Before talking about the advantages and challenges of distributed systems, let’s briefly talk about their types.</p><p>When talking about types of distributed systems or any kind of systems, it’s important to understand that classification depends on the context and on the level of complexity we’re taking into account. Are we talking about architecture? Are we classifying the system based on the end goal? Is the context related to the topology? Is it related to how couple nodes are? In this section, I’m going to address two types of classification. First is general and relates to the type of Coupling &amp; Scale. The second is related to the Architectural Model of the whole system.</p><p>When talking about distributed systems in terms of <strong>Coupling &amp; Scale</strong>, there are two main types of distributed computing; Cluster Computing and Grid Computing.</p><p>In <strong>Cluster Computing</strong> systems, the underlying infrastructure is composed of identical computers that are closely connected, and the management is local and centralized. Cluster computing is used to achieve high performance and minimize downtime.</p><p><strong>Grid Computing</strong>, on the other hand, is a type of system in which heterogeneity is the norm in terms of hardware, software and technology. Nodes are dispersed over a very large area and administration is decentralized. Such systems are used when a large repository of data is involved, and a lot of computing power is required.</p><p>If we are talking about <strong>Architectural Model</strong>, distributed systems fall under one of the following categories.</p><p>First, <strong>Layered Architecture</strong>. In this architectural model, nodes are grouped into separate layers each with a specific goal to achieve. An example of a simple layer distributed system is the client-server model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*G07wo_4J26SwilXS0OLUww.png" /></figure><p>Next is <strong>Object-based Architecture</strong>. In this model, subsystems are less structured and loosely coupled than the layered model. Communication is a synchronous, and the elements of the system can directly interact with other elements through direct calls.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*0dpmu2lz89inWMFO8ykLLQ.png" /></figure><p>The third architectural model is the <strong>Data-centered Architecture</strong>. In such systems nodes communicate through a common repository. The system is based on a data center through which communication happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*bV57Ef1jZarUQq0SBfbMiA.png" /></figure><p>The last one which is more common one is the <strong>Event-driven Architecture</strong>. Event-driven systems achieve their goals by means of events. Nodes communicate and perform operations through the propagation of and the reaction to events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*QoF82iBxtCbvaCL9G1nNGw.png" /></figure><p>(For more information about Architectural Models, you can check my previous articles).</p><p>Now, it is time to talk about the pros and cons of distributed computing. As always, let’s start with the <strong>advantages</strong>.</p><p>First advantage I want to talk about is <strong>reliability</strong>. A defining characteristic of distributed systems is the reliable interconnection and cooperation between nodes in the whole system. This makes it easy to share data between nodes.</p><p>Another great advantage is <strong>scalability</strong>. In fact, this is one of the main reasons to why someone or an organization would opt for a distributed system. In distributed computing, scalability is a matter of adding more nodes to the system at the correspondent layer or level. Or what is referred to as horizontal scaling.</p><p>Another common advantage is <strong>fault tolerance</strong>. it means the system and its services will still be operational and reliable even when parts of the system goes down.</p><p>Last but not least, <strong>increased performance</strong>.</p><p>As all matters of life, distributed systems are not a silver bullet and have <strong>disadvantages</strong>.</p><p>First <strong>failure detection</strong>. Failure detection is almost impossible in distributed systems, especially if the system is large and evolves over time. Very elaborate measures need to be taken to reduce the risks of this issue.</p><p><strong>Redundancy</strong> is a common issue among distributed systems as well.</p><p>Another challenge or problem is the difficulty to achieve <strong>consistency</strong> among nodes.</p><p>Finally, <strong>performance bottlenecks</strong> is a serious issue also.</p><p>When it comes to distributed systems the more we design it at all levels, the less problems we will have. Most important pitfalls when building distributed systems is the assumptions made by developers such as “the network is reliable and secure”, “topology doesn’t change”, or “zero latency”. This leads to a poor and fragile system that breaks easily. Actually, one of the crucial principles developers and architects abide by when designing and developing distributed systems is the <strong>“Design for Failure”</strong> principle. Under this rule, there are a lot of considerations to take into account. But generally speaking, “Design for Failure” is expecting the worst-case scenario in each and every aspect when the system is being built.</p><p>This should be enough for a brief overview. We have reached the end of 2nd and last part of the article “Distributed Systems &amp; Distributed Computing”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ce3adf3649e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed Systems & Distributed Computing Part]]></title>
            <link>https://anazimzada2020.medium.com/distributed-systems-distributed-computing-part-ec6b0858b52b?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec6b0858b52b</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[distributed-computing]]></category>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 09:33:01 GMT</pubDate>
            <atom:updated>2020-12-01T09:40:53.531Z</atom:updated>
            <content:encoded><![CDATA[<h3>Distributed Systems &amp; Distributed Computing Part I</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*y6bJU0K7Kt7MAKxjHXCGUA.png" /></figure><p>Nearly all the software we use today is an extent to distributed systems or involved in distributed computing. How? You’re going to know the answer in a bit. For now, let me just give you some examples. Distributed systems or distributed computing is all around us; Google search engine, Amazon platforms, Netflix, Blockchain, online gaming, money transfer, online banking and the list goes on. Probably, the most straightforward and the simplest example of distributed systems is the client-server model which I assume you are familiar with. Let’s go back to the fundamental question and see what exactly a distributed system is.</p><p><strong>Distributed system</strong> is a collection of separate and independent software or hardware components called nodes that are linked together by means of a network and work together coherently by coordinating and communicating through a message passing or events to fulfill one end goal. <strong>Nodes</strong> of the system could be unstructured or highly structured depending on the system requirements. In any case, the complexities of the system remain hidden to the end-user be it a human being or a computer and the whole system appeared as a single computer to its users.</p><p>So basically, it’s just a bunch of independent computers that cooperate to solve a problem together. I know it sounds simple but it’s a hell of a world under the hood. Before we continue, I just want to say that two programs communicate with each other on the same computer is not necessarily a distributed system. Even though they work together to achieve the same goal, a client-server model that uses the same computer is not a distributed system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*h9FtSIBH9UMPXomeyLuvVw.png" /></figure><p>For systems to be called distributed as opposed to centralized or parallel, the following conditions needs to be true.</p><ol><li><strong>No Shared Clock</strong>. Computers have clocks also called timers which are critical electronic devices that keep track of oscillations, and they help the computer to have its own notion of time. It helps to determine the order between events, regulates time and speed of the computer operations. If two programs communicate using the same computer, they basically have the same clock.</li><li><strong>No Shared Memory</strong>. This is another key feature of distributed systems. This means nearly each process has its own independent memory to work with.</li><li><strong>Concurrency</strong>. This is another important characteristic of distributed systems which means that software and hardware components of the system also called processes are autonomous and execute tasks concurrently.</li><li><strong>Heterogeneity and Loose Coupling</strong>. This means the processors are independent, separate from each other and have different speeds.</li></ol><p>Before moving on to basic concepts about distributed systems, I just want to mention a couple of notes.</p><ul><li>First, distributed system is a <strong>dynamic system</strong> that allows computers or nodes to join and leave. This has many advantages but also it introduces some challenges in overhead such as in case of open distributed systems, security issues and the extra work of managing the organization and membership of nodes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2EweNnl6aD5BNRDO9iDr3g.png" /></figure><ul><li>Secondly, nearly all existing large distributed systems, especially modern ones, are <strong>overlaying</strong> <strong>networks</strong>. An overlay network is just a network on top of another network. For instance, Peer-to-Peer networks such as Blockchain and BitTorrent. Voice over IP (VoIP) is another network over the Internet.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*A7gWgX8WFbtN1RvMwhrHdA.png" /></figure><p>I hope by now, you have a fair idea about what a distributed system is and can tell whether system is distributed or not. Now, let’s talk about some important basic concepts about distributed computing.</p><p><strong>Distributed Computing</strong> is a type of computing over distributed systems which means that distributed computing is more than distributed systems. it’s a broader term, and it is concerned with building and establishing computing models for distributed systems and working out algorithms to solve problems related to such systems. Cloud computing is a good modern example of distributed computing. Other examples of distributed computing are PaaS (Platform as a Service) , IaaS (Infrastructure as a Service), Serverless and etc.</p><p>Now, we will keep things simple and talk about basic distributed computing concepts.</p><p>One of the very basic concepts that you should know about is the notion of a <strong>Node</strong>. Node is a software or hardware components that has its own processor and memory. It is able to communicate with the rest of the system. Nodes form open groups, a network of nodes, that is open to the external world. Thus, joining the network is easy and also external entities can communicate with the system easily. The internet is one big giant distributed system that falls under this category. Nodes can also form closed groups which are restricted in terms of membership, authentication, and resource accessibility.</p><p>Another important notion is what is referred as a <strong>Resource</strong>. A resource is an asset in the distributed system that could be accessed remotely by nodes in the network or users of the distributed applications that are over the distributed system. Resources can be virtually anything such as files, services, storage facilities, and etc. Basically, resource is anything that a node can take advantage of or use.</p><p><strong>Distribution Transparency</strong> is another important concept which denotes that everything that happens under the hood should stay invisible to the end users of the system. In other words, the dispersion of resources , failure of nodes, failovers, migration, replication operations, and etc. all should be invisible to users of the system. The way to achieve this is through an important component called the middleware.</p><p><strong>Middleware</strong> in this context is a distributed systems layer that connects the nodes together and make them appear as one single supercomputer. It is a logical layer on top of the whole system. Think of it as an operating system that runs over the nodes collectively. Once this layer is established, distributed applications could be built and run over it. This middleware layer manages resources, provides communication &amp; security services, handles failures, and the other complexities of distributed computing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*1XFH-zRl536QDesZ_Nm5PA.png" /></figure><p>Furthermore, <strong>Concurrency</strong> is the fact that multiple operations and activities are executed in parallel. These activities can interact among each other to perform a particular operation. In the diagram below, a simple distributed program is visualized. We could see that in <em>‘phase 1’</em>, <em>‘task 1’</em> and <em>‘task 2’</em> are executed in parallel, and there is a simple interaction between them. <em>‘phase 2’</em> has three operations in parallel in one cooperation between two of them. As we learned earlier, concurrency is an intrinsic property of distributed systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*i4sAJ3EZmTX0oXZBlzlyvA.png" /></figure><p><strong>Coordination and Synchronization</strong>. These are two important concepts that tackle the problems of no shared clock between processes. Also, they solve the problem of data corruption and inconsistency if two entities try to access data at the same time. Coordination ensure the smooth collaboration between operations and activities and help achieve agreement among them. Synchronization on the other hand, orders and controls access to shared resources.</p><p>The next concept is the <strong>Architectural Model</strong>. The architectural model dictates how the nodes in the system are organized. It defines the structure of the network as well as how nodes communicate and interact. The architectural model is extremely important in distributed computing for the sake of better management of the complexities of such systems and also for ease of maintenance. Mainly, the architecture is needed for software components. That’s because as we said earlier, most distributed systems are overlay networks.</p><p>Final concept is <strong>Global State</strong>. Global state in distributed systems is the union of the states of the separate processes. It is sort of a global view of the system that describes its properties at a particular point in time. Global State is equivalent of a global objects that contains all the global variables used by the software system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec6b0858b52b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microservices Architectural Pattern]]></title>
            <link>https://anazimzada2020.medium.com/microservices-architectural-pattern-b2de5f53806f?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2de5f53806f</guid>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 12:22:42 GMT</pubDate>
            <atom:updated>2020-11-28T12:28:44.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mr3V4gg9DHHTHOYZlXHmCw.jpeg" /></figure><p>We’ve seen increase in adoption of Microservices architectural pattern over the last years as a better alternative to the Layered and the Service-oriented architecture. And a lot of new and hot buzz words are attached to this pattern in the field like CI/CD (Continuous Integration/Continuous Deployment).</p><p>From my article “Software Architecture &amp; Design”, you will remember that (if you read of course) microservice architecture is a SOA (Service-oriented architecture). This means that the core software components in a microservices application are services. Functionalities and operations are achieved by communicating with service components through REST calls or some other messaging mechanism. This is a simplified illustration of this pattern.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*MsyxZnT2ohuKW3T-q2kZJg.png" /></figure><p>Firstly, we have the famous concept of a <strong>Service</strong>. Service could be anything from a single function to a group of classes that cooperate to achieve some sort of functionality. It could be a single file or a bunch of modules. The size or the granularity of service is decided in the design phase, and actually, it is an important decision. Because even though there is some sort of freedom in defining the size of a service and how many functionalities it consists of, we need to be aware of the risk of falling into some haunted patterns like creating layer. This pattern is called the microservice pattern because service components should be micro. In other words, they should be single action services, and a service have a very specific tasks like generating PDF invoices, sending emails, processing payment cards, and etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*3eKIfwD2Oe8R_6li9QyXIQ.png" /></figure><p>Another concept is <strong>Independently Deployable Units</strong> which are the services. This means that services or service components should not be functionally dependent on other services. They should be independent and separate from each other which is the whole point of microservices architecture. The system should be loosely coupled. If a service needs something it doesn’t have or cannot perform its job, then it needs to call the service that can provide the necessary data to accomplish the task. That is achieved through the messaging mechanism in place, for instance, by communicating through APIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*so8GLh9ANq_gemnne7RJ_w.png" /></figure><p>Last basic concept about microservices is the <strong>Topology</strong> notion. This pattern could be implemented using 3 common topologies (there are more than 3) which we will talk about in next sections. We will see microservices systems could be built using different approaches and the term topology indicates the specific approach used.</p><p>If you are familiar with Layered Architecture, we have layers which are relatively big consists of modules and packages that are dependent on each other. In such systems requests comes from the top-level layer and keep going down to the data persistence layer to make some change. Implementing microservices architecture is just breaking those layers into independent functionalities which of course will introduce new challenges such as duplication of functionality and data. In other words, we break down the monolith until we get to the point in which the applications major components are services. Before implementing this architectural pattern, the major components of the system were layers which encapsulated those services in an interdependent manner meaning that services in the layered architecture were tangled and dependent on each other and existed in one place. After implementing microservices these services become independent. These service components could be all distributed over a network or they could be in one place or somewhere in between these two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*gx2xA_cedeazxM-Ol4WNIA.png" /></figure><p>We mentioned in the above that we can implement microservices architecture using different topologies. Now, let’s talk about most common 3 topologies.</p><p><strong>REST API based Topology:</strong></p><p>This topology is used for small to medium applications that have a small number of service components. Most of the time, the services are fine-grained meaning that they are single action services, and they perform only relatively small actions. So, this approach makes more sense as calling and communicating with these services hardly effects to the overall performance of the system. Such systems are characterized by a relatively thin REST API layer in front of the services that can be used by clients to access the functionalities of the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*_ZZr801TPE1DZddMMemyng.png" /></figure><p><strong>REST Application based Topology:</strong></p><p>Another common topology is the REST application-based topology. This approach is similar to the first one, but the difference is instead of a thin REST API layer in front of the services, you’ll find a thick User Interface Layer depending on the system. This thick client app could be used directly to call the services or indirectly through a thin API layer. The layer could be even an entire web application that does much more than REST calls to the microservices. In this topology, the system tends to be larger and a little bit more complex than the first one. Also, service components in these systems are much more larger. I don’t mean that it is like service-oriented architecture. What I mean is that in this approach, service components tend to be larger than services in systems that are built using the first topology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*PsExtH_o2D1U5w78puTYqw.png" /></figure><p><strong>Centralized Messaging Topology:</strong></p><p>Last topology to discuss in this article is kind of a similar approach to the service-oriented architecture’s messaging mechanism that uses a message broker. In the microservices pattern, it’s much more lightweight. In this pattern message broker is not as sophisticated as the service-oriented architecture messaging middleware. It does not perform any of the big tasks like message conversion or anything like that. Message broker in the microservices system allows for more control over services and the communication mechanism such as synchronous message and error handling. So, requests coming from clients need to pass through two layers; the User Interface Layer and the Message Broker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*4J2y7Y8XxyM9qpzdHgWnoA.png" /></figure><p>These are just some approaches that we can use to build microservices architecture. As I said before, there is some sort of freedom into choosing how to implement this pattern. This decision takes many considerations into account that impacts the way system is built.</p><p><strong><em>Advantages:</em></strong></p><p>· Scalability</p><p>· Extensibility</p><p>· Ease of Deployment</p><p>· Ease of Maintenance</p><p>· Optimization</p><p>· Reusability</p><p>· Fault Tolerance</p><p><strong><em>Limitations:</em></strong></p><p>· Difficulty of Development</p><p>· Difficulty of Testing</p><p>· High Latency</p><p>· Monitoring</p><p>· Transactions</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2de5f53806f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Event-Driven Architectural Pattern]]></title>
            <link>https://anazimzada2020.medium.com/event-driven-architectural-pattern-9fd7af2eae52?source=rss-6946bae8f4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd7af2eae52</guid>
            <dc:creator><![CDATA[Aykhan Nazimzada]]></dc:creator>
            <pubDate>Tue, 24 Nov 2020 12:56:10 GMT</pubDate>
            <atom:updated>2020-11-24T12:56:10.685Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EoxsaIJmTQsqXy_zyWCfTg.png" /></figure><p>Even though the concept of events is almost as old as the arts of programming itself, Event-driven architecture or event-based solutions emerged and evolved to solve issues that started to appear in recent software architectures such as SOA (Service-oriented architecture) &amp; Microservices and essentially patterns that involve in distributed computing. One of the common problems is that with new types of platforms in business models, microservices and cloud technologies became unsuitable or insufficient to meet the needs of modern organizations. The famous request/response approach in building distributed software systems started to become less sexy recently. Because today’s stakeholders cannot stand delays and passivity of systems. We want to know about everything as it happens or immediately after it happens. We don’t want to miss any important event. This is not possible with the common approach which is based on the request/response model.</p><p>Let’s consider an example of healthcare software system that is responsible for remote patient monitoring, treatment progress observation, doctor appointments and maintenance of vaccination &amp; periodic check schedules. The system is cloud-based, of course, and incorporates with Internet of Things devices for its functioning. There are many client applications to this system for patients, doctors, staff members and for external entities. If the architecture of the system is based on the command request response approach, there will be a lot of tedious work to do by users of the system. Because when something changes or when something is done, performing the next step is a matter of actively sending a request to the system. In this case, the software system is unaware and unable to tell if something has changed or done. For instance, if blood pressure of a patient raises the nurse or the patient herself needs to notify the system by clicking over something to inform interested parties. Furthermore, if we want to inform a person that she has an appointment or her child needs vaccination, nurses or staff members need to keep track of patients records and consistently check if the appointment is near then sends a request to the system which in turn will notify the patient. You can see how this could be very tedious.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dx6mgxKyya3H_Gmgi80tyQ.png" /></figure><p>Now, without saying much, I’ll let you imagine if the system is event based and everything is based on action/reaction instead of request/response. In this case, the system has a sort of intelligence and is aware of everything that happens. Even better, handling events could be automated and thus less human intervention is needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UR2CSbOyaB9bCDUebO63sg.png" /></figure><p>The main components in an event-driven system is the event itself. <strong>Event</strong> is a message that represents facts, and it’s created when a change of an observed value happens such as an action by user. This event is generated or captured by what is referred to as the <strong>Event Generator</strong>. Event generator could be a monitoring agent sensor, a middleware, and etc. Captured fact is called the <strong>Initial Event</strong>, and it’s usually a message for example an HTTP message or some other type. It contains two parts <strong>Event Header</strong> and <strong>Event Body</strong>. The header contains <strong>metadata</strong> about the event such as the <strong>timestamp</strong>, <strong>event type</strong>, and <strong>ID</strong>. The body contains the <strong>change of states</strong> that happened. An event is captured so that interested parties could react to what happened. System’s responsibility is to notify the interested parties that an event has occurred so that those concerned components could react to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*inay22IcszOpEiXSdKFiSg.png" /></figure><p>Next component is an <strong>Event Queue</strong>. Event-driven system could have more than one central event queue as well as different types of queues. Event queue is a first-in first-out that receives initial events and keeps them in order as they are received. The implementation of this component is not specified by the architectural pattern. Event queue is commonly used to generate event log and to keep track of events. So, the event queue receives a particular event or a stream of events and then transfers them to the <strong>mediator</strong> or <strong>broker</strong> components for processing. There are another types of queues as well. <strong>Reply Event Queue</strong> is used to send reply back to the event collector if the event is repeated invalid. <strong>Read Event Queue</strong> collects and handle only read events. Lastly, <strong>Write Event Queue</strong> is a good way to filter queues and increase efficiency &amp; performance.</p><p>Next, we have <strong>Event Channel</strong> which is another type of queue used in event-driven systems as a medium between mediators and event processors, and also between events and events processors in the broker topology. This component is responsible for filtering and pre-processing events before reaching interested parties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0TDgKMGUuytIICah3w8lw.png" /></figure><p><strong>Mediator</strong> is an integration hub component in an event-driven system. It receives events from the event queue and transfer it to the appropriate event processor if it is a one-step event. In another scenario, it deveins the initial event into multiple events, orchestrate them and sends individual events to their corresponding handlers. It’s important to know that the mediator component does not perform any business logic related to the event. It simply orchestrates the steps involved in the initial event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DKeJCY837Lsw14cTlAb4HQ.png" /></figure><p>As a substitution to the mediator, <strong>Broker</strong> component does not need central orchestration. In such simple systems, events flow through events processors using the message broker as a medium of communication between event processors. The broker component contains events channels that are used for the event flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*E8OPpWK_IrQAGL5K_QQHFA.png" /></figure><p>Finally, <strong>Event Processor</strong> is the equivalent of micro-service or a service component in SOA system. It listens on event channels and after it receives processing events, it reacts to them performing the logic necessary to handle them. After an event processor is finished with an event, it publishes an event to the broker or eventual notifying the system that its work is done. As we said earlier, more than one event processor could be interested in a particular event. Event processors are highly autonomous and decoupled atomic components.</p><p><strong><em>Advantages:</em></strong></p><p>· Improved Performance</p><p>· Scalability</p><p>· Deployability</p><p>· Versatility</p><p>· Adaptability</p><p>· Evolutionary Architecture</p><p>· Real-time Analytics &amp; Event Sourcing</p><p><strong><em>Limitations:</em></strong></p><p>· Upfront Investment</p><p>· Increased Complexity</p><p>· Very Limited Testing</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd7af2eae52" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>