<?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 kununu Blog on Medium]]></title>
        <description><![CDATA[Stories by kununu Blog on Medium]]></description>
        <link>https://medium.com/@kununu?source=rss-8928a8596e72------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vKppQS-C9qj4e2OWeGDVJA.jpeg</url>
            <title>Stories by kununu Blog on Medium</title>
            <link>https://medium.com/@kununu?source=rss-8928a8596e72------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 15:29:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kununu/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[Computing as a way of thinking]]></title>
            <link>https://kununu.medium.com/computing-as-a-way-of-thinking-eb8213253285?source=rss-8928a8596e72------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb8213253285</guid>
            <category><![CDATA[computational-thinking]]></category>
            <category><![CDATA[opinion]]></category>
            <category><![CDATA[kids-and-tech]]></category>
            <category><![CDATA[thinking]]></category>
            <category><![CDATA[computer-education]]></category>
            <dc:creator><![CDATA[kununu Blog]]></dc:creator>
            <pubDate>Tue, 26 Jul 2022 16:02:08 GMT</pubDate>
            <atom:updated>2022-07-26T16:02:08.600Z</atom:updated>
            <content:encoded><![CDATA[<p><em>by Rui Barreira, VP of Engineering at kununu — New Work Portugal</em></p><p>We live in an increasingly digital world, with computers and software becoming part of our daily lives and acting as the accelerator for many other sciences over the last few decades. In fact, in retrospect, we see that multiple sciences have evolved significantly more in the last 50 to 70 years than in previous centuries, precisely because of the impact of computers and computing.</p><p>The evolution of the human species was shaped by several decisive moments with repercussions on the genetic evolution of Man but, if we look at a more recent past, the evolutionary leaps that we have taken are directly related to the use of something developed 2 million years ago — the brain — and with our ability to apply knowledge to support our evolution as thinking and social beings. It is, therefore, my conviction that only with a more comprehensive and inclusive knowledge society will it be possible to take the next step in evolution.</p><p>This is where computational thinking comes in, the thought process involved in formulating a problem and expressing its solution in such a way that even a computer — much more limited in its capabilities than a human — as Jeannette Wing so well exposed, can perform the most varied tasks. Computational thinking is an extraordinary tool for the development of a fairer and inclusive society. It will not be the only one, of course, but using a recent example that can show how true this is, without computers, digital communications and people capable of structured and — dare I say — computational thinking, it would be unthinkable to develop vaccines against to Covid-19 in just one year.</p><p>Today, more pertinently than ever, I believe that all children, from the age of six, should learn computing and computational thinking. But do I say it out of convenience, selfishness, corporatism? No! It is with responsibility, as a father and a citizen, with technical and scientific conviction and with humility that I recognize in computational thinking the tool for simplification and added attention to detail we must introduce in the learning of the new generations. It is the process of decomposing a complex problem into a set of steps so simple that even a machine can understand them, which will create in children and young people an improved ability to understand, simplify and act to solve any problem they face in their future lives, irrespective of their area of ​​expertise. As Margaret Mead said, “children should be taught how to think, not what to think”.</p><p>In general, there is still a long way to go in terms of training in computing and computational thinking, although I consider that this has been assuming an extremely important role. There are good examples that can serve as a reference around the world — this is the case of ENSICO in Portugal, Computing at School, in the UK and Code.org in the USA. .</p><p>By teaching children computing and computational thinking, we are preparing them to work in any field, and we have no doubt that this is a huge competitive advantage for any country. Today, competitiveness no longer involves speaking English or making computers available in schools, but it certainly involves computational thinking. Not by teaching children how to program, but by teaching them how to understand this type of thinking and how to apply it to the most diverse domains — from Language, History and Chemistry, for example. This is really a central issue: computational thinking will positively and exponentially impact any area and not necessarily just the exact sciences, or more concretely, “engineering” (or whatever that means), as many advocate.</p><p>Specifically regarding the future workforce, people who bring computational thinking as knowledge acquired from a younger age can undoubtedly contribute significantly to the development of products, services, concepts and creations with real impact on individuals, whether in their personal lives or in the workplace. In fact, there is no lack of examples from our recent past that have changed the way we live our lives — such as the iPhone, the Internet or social media — proving that this knowledge materialized in solving problems and creating solutions at the service of society will have a real impact on how we live.</p><p>With these values ​​and concepts as foundational, I believe our children will be much better prepared to face, understand and even shape the world they will encounter as adults. I believe that our common future is really going through an unprecedented change in people, in society and in the way we create value, with a focus on developing solutions that can have a real impact on humanity.</p><p>I challenge you to think of a world where everyone has the fundamental concepts of computing as a way of thinking. Looking at the gigantic evolution that we have achieved in recent years — in particular the impact that has been made by people in the exact sciences and engineering, that is, those who have had access to this type of thinking -, imagine what kind of evolution society and the world may have if this more structured way of thinking and solving problems becomes widespread. In a world taken over by software and computing, only then will we be able to give our children the ability to understand, transform and evolve for the benefit of humanity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb8213253285" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resiliency patterns for cloud-based applications — Part I]]></title>
            <link>https://tech.new-work.se/resiliency-patterns-for-cloud-based-applications-part-i-2bf74873bace?source=rss-8928a8596e72------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bf74873bace</guid>
            <category><![CDATA[patterns]]></category>
            <category><![CDATA[kununu]]></category>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[services]]></category>
            <dc:creator><![CDATA[kununu Blog]]></dc:creator>
            <pubDate>Mon, 28 Feb 2022 16:43:12 GMT</pubDate>
            <atom:updated>2022-02-28T16:43:12.211Z</atom:updated>
            <content:encoded><![CDATA[<h3>Resiliency patterns for cloud-based applications — Part I</h3><p>Aline Souza — Backend Engineer</p><p>People expect to be able to use their applications anytime they want to. To accomplish this, engineering teams need to keep resiliency in mind while building their applications. Resilience is the ability of a system to manage and graciously recover from failures. Resiliency patterns aim to ensure the applications are available whenever the users need them.</p><p>You need to face a lot of challenges when developing and designing cloud applications. Throughout this article, we are going to walk through some resiliency patterns you may want to consider when building a cloud-based application, to keep it up and running.</p><h3>Parallel Availability</h3><p>Resilience can be estimated in terms of a system’s availability at any given time. System availability is determined by the availability of all of its components. These components can be linked in serial or parallel connections [1].</p><p>In a serial connection, if one of the components fails the entire system fails. For instance, if a system consists of two components operating in series, a failure on either component leads to a system failure [1], [2].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jJCoIAxKehXTSW7VkdsYnw.jpeg" /></figure><p>In a parallel connection, if you have two parallel components and one of them fails, the system keeps running without failure (or at least it should). For example, if a system comprises two components operating in parallel, a failure of a component leads to the other component taking over the operations of the failed component [1], [2].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*MlGBrmgHTQsszBjoOskfdA.jpeg" /></figure><p>A serial system is operational only if all its components are available. Hence, the availability of a serial system is a product of the availability of its components. For example, in a system with components X and Y, you multiply the availability of component X by the availability of the component Y. The following equation represents the availability of the system: A = Aₓ Aᵧ [2], [3].</p><p>Based on the above equation we concluded that the combined availability of two components in series is always lower than the availability of the individual components. The table below shows the availability and downtime for individual components and the combined system [2], [3], [4].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*Ng_tO7RCe6JOuFK1YApkuw.png" /></figure><p>As we can see from the above table, even though a very high availability component Y was used, the low availability of component X pulls downs the overall availability of the system. As the saying goes, a chain is no stronger than its weakest link. In this case, the chain is weaker than its weakest link [2].</p><p>Now, assume that you have a system consisted of two components in parallel. This system is operational if either component is available. So, the combined availability is the result of the multiplication of the unavailabilities subtracted from 1. The following equation represents the combined availability of the system: A = 1 — (1 — Aₓ)² [2], [3].</p><p>That means that the combined availability of two components in parallel is always much higher than the availability of its individual components. The table below shows the availability and downtime for individual components and the parallel combinations [2], [3],[4], [5].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*j_Ec4Ew2m2YUCYOYis8dJw.png" /></figure><p>Looking at the above table, it is clear that even though a very low availability Component X was used, the overall availability of the system is much higher. In such a manner, availability in parallel provides a very powerful mechanism for making a more reliable and resilient system [2].</p><h3>Multi-AZ Deployment</h3><p>With the previous pattern, we learned that the duplication of the system’s components maximizes the system’s total availability. Within the cloud, this means deploying it over several availability zones (multi-AZ) and, in some situations, across multi-regions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7GhVLSkuxZqNgboE2fbV2A.jpeg" /></figure><p>Availability zones (AZs) are unique physical locations within regions from which public cloud computing resources are hosted. Each zone is made up of one or more data centers equipped with independent power, cooling, and networking. Each region is a separate geographic area. The physical separation of AZs within a region protects applications and data from data center failures [6], [7].</p><p>If a system is built in a Multi-AZ architecture, it takes advantage of having zone-redundant services replicating the applications and data across AZs to protect from single-points-of-failure [6].</p><p>For example, if your system has a Multi-AZ database instance, there is a primary database instance that synchronously replicates the data to a standby instance in a different AZ. In case of an infrastructure failure, there will be an automatic failover to the standby instance, so that you can resume database operations as soon as the failover is complete. Since the endpoint for your database instance remains the same after a failover, your application can resume database operation without the need for manual intervention [8].</p><p>Therefore, Multi-AZ deployment increases the availability of a system and its tolerance to faults.</p><h3>Stateless Services</h3><p>As we have seen, if a component being called upon fails in your application, you can have a copy of that component ready to go. You can achieve that goal with stateless services.</p><p>A stateless app or service does not hold any data or state, so any copy of that service can serve the same function as the original. A stateless model ensures that any request or interaction with the service can be managed independently of the previous requests. This model facilitates auto scalability and recoverability, as new instances of the services can be dynamically created as the need arises or be restarted without losing data that’s required in order to handle any running processes or requests [9].</p><p>The widely used REST (REpresentational State Transfer) paradigm is a stateless model, and actually, this is one of the key considerations whether anything is RESTful or not. Roy Fielding’s original dissertation details the REST definition and says [10]:</p><p><em>“Each request from client to server must contain all of the information necessary to understand the request, and cannot take advantage of any stored context on the server. Session state is therefore kept entirely on the client.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0ec3AQzJpD_zrVVpjCBLQ.png" /></figure><p>While you might argue that using stateless services is not a resilience strategy per se, it is still an important and valid technique to improve the resilience of a system.</p><h3>Asynchronous Decoupling</h3><p>Although REST APIs are popular and useful in designing applications, REST APIs tend to be built with synchronous communications, where a response is required. A request from an end-user client can trigger a complex communication journey within your services architecture that can effectively introduce coupling between the services at runtime [11].</p><p>Asynchronous messaging is the most common decoupling technique. Take, for example, the need to send orders to Component X and Component Y generated on different external systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fzZVeqmwRtzvM4H7wW47SA.jpeg" /></figure><p>From a high-availability perspective, the loosely-coupled asynchronous approach enables Component X and Component Y to be unavailable as a result of a planned or unplanned outage, without affecting the external systems. The external systems can send the order creation request messages to a message queue [12].</p><p>On the other hand, if the communication is synchronous, Component X and Component Y must be available for the external system to create the request. The availability requirements of Component X and Component Y in this architecture must be the greatest of all the availability requirements of all tightly connected systems combined [12].</p><p>Under a higher load, your services will need to scale out to process the requests. You then have to consider the scale-out latency, as it takes a few moments from when an auto-scaling party triggers the creation of additional instances until they are ready for action. It takes time to initiate new container tasks too [11].</p><p>In a synchronous communication approach, if the scaling event happens late, you may be unable to handle all incoming requests with the available resources. Such requests can be lost or answered with HTTP status code 5xx [11].</p><p>In contrast, in an asynchronous communication approach, you can use message queues that buffer messages during a scaling event to help avoid this. This is the more robust architecture, even in use cases where the end-user client is waiting for an immediate response. When your infrastructure takes time to scale out, and you cannot process all requests in a timely manner, the requests will persist [11].</p><h3>Prioritize traffic with queues</h3><p>Although it may be easy to see the benefits of a queue asynchronously processing messages, the drawbacks of using a queue are subtle. With a queue-based system, during intervals of high traffic, messages can arrive faster than your services can process them. While in a case when processing stops but messages keep coming in, the message debt will grow into a huge backlog, pushing up the processing time [13], [14].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hxYZOyRaK_lpNcCBNtPtlA.jpeg" /></figure><p>To put it another way, a queue-based system has two operating modes or bimodal behavior. The latency of the system is low when there’s no backlog in the queue, and the system is in steady mode. However, if a failure or a higher load causes the rate of arrival to surpass the processing limit, it easily flips into a more sinister mode of operation. The end-to-end latency in this mode increases exponentially, and it can take a lot of time to work through the backlog to get back into the steady mode [13].</p><p>Below are a few design techniques that can help you prevent long queue backlogs and recovery times:</p><ul><li>In asynchronous systems, security is essential at every layer. In an asynchronous system, each part of the system needs to protect itself against overload, and prevent one workload from consuming an excessive share of resources. So, we protect them by implementing <a href="https://en.wikipedia.org/wiki/Throttling_process_(computing)">throttling</a> and <a href="https://en.wikipedia.org/wiki/Admission_control">admission control</a> [13].</li><li>Using multiple queues helps to control traffic. Often asynchronous systems are <a href="https://en.wikipedia.org/wiki/Multitenancy">multitenant</a>, performing work on behalf of a wide number of different customers. In certain aspects, there’s an incompatibility between a single queue and multitenancy. By the time that the work is queued up in a shared queue, isolating a customer workload from another is difficult [13].</li><li>Turn to LIFO behavior instead of FIFO when faced with a backlog. For most real-time systems is preferable to have fresh data processed immediately, when a backlog happens. Any data accumulated during an outage or spike can then be processed when there is capacity available [13].</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o83Rk4hcLJFNpjMrhYhaWw.jpeg" /></figure><p>In certain cases, it is too late to prioritize traffic after a backlog has built up in a queue. However, if processing the message is quite costly or time-consuming, being able to transfer messages into a separate queue can still be worthwhile. For example, during a spike, expensive messages can be transferred to a low priority queue. We can use the same approach to messages that meet certain age criteria, transferring them into a separate queue. The system works on low priority queue messages as soon as the resources are available [13], [15].</p><p>There are many strategies to make asynchronous systems resilient to workload changes, such as <a href="https://aws.amazon.com/blogs/architecture/shuffle-sharding-massive-and-magical-fault-isolation/">shuffle-sharding</a>, dropping old messages (message <a href="https://en.wikipedia.org/wiki/Time_to_live">time-to-live</a>), <a href="https://en.wikipedia.org/wiki/Heartbeat_(computing)">heartbeating</a> long-running messages, and so on. We are not going to cover all of them here, but you can take a look at the next section for further learning resources.</p><h3>Find out more!</h3><ul><li><a href="https://cloud.google.com/solutions/scalable-and-resilient-apps">Patterns for scalable and resilient apps</a></li><li><a href="https://www.ibm.com/downloads/cas/AVY5QYG0">Resiliency in the Cloud</a></li><li><a href="https://www.youtube.com/watch?v=MCpjEiemsRg">Resiliency and Availability Design Patterns for the Cloud by Sebastien Stormacq</a></li><li><a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/category/resiliency">Resiliency patterns</a></li></ul><h3>That’s all for today</h3><p>Today we discussed five of the most popular resiliency patterns out there. You probably want to consider them when building your resilient cloud-based application.</p><p>I hope you enjoyed part I. In the next part, we’re going to discuss resiliency patterns related to databases. Keep tuned!</p><p>[1] <a href="https://books.google.nl/books?id=wUyDF1yWfhMC">Oggerino, C., High Availability Network Fundamentals. Cisco, 2001.</a></p><p>[2] <a href="https://www.eventhelix.com/RealtimeMantra/FaultHandling/system_reliability_availability.htm">System Reliability and Availability</a></p><p>[3] <a href="http://aws-de-media.s3.amazonaws.com/images/DevDays%202018/SER4-building%20serverless%20multiregion%20backends.compressed.pdf">Building Global, Multi-Region Serverless Backends</a></p><p>[4] <a href="http://royal.pingdom.com/wp-content/uploads/2015/04/pingdom_uptime_cheat_sheet.pdf">Uptime &amp; downtime conversion cheat sheet</a></p><p>[5] <a href="https://uptime.is/">Uptime &amp; downtime tool</a></p><p>[6] <a href="https://docs.microsoft.com/en-us/azure/availability-zones/az-overview">Regions and Availability Zones in Azure</a></p><p>[7] <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html">Regions, Availability Zones, and Local Zones</a></p><p>[8] <a href="https://aws.amazon.com/pt/rds/details/multi-az/">Amazon RDS Multi-AZ Deployments</a></p><p>[9] <a href="https://cloud.google.com/solutions/scalable-and-resilient-apps">Patterns for scalable and resilient apps</a></p><p>[10] <a href="https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">Roy Fielding’s Dissertation — Chapter 5: Representational State Transfer (REST)</a></p><p>[11] <a href="https://aws.amazon.com/pt/blogs/compute/understanding-asynchronous-messaging-for-microservices/">Understanding asynchronous messaging for microservices</a></p><p>[12] <a href="https://www.ibm.com/support/knowledgecenter/SSYLSL_9.5.0/com.ibm.help.wcc.perf.doc/performance/c_FND_HA_AsynchronousIntegrationAsADecouplingTechnique.html">Asynchronous integration as a decoupling technique</a></p><p>[13] <a href="https://aws.amazon.com/builders-library/avoiding-insurmountable-queue-backlogs/?nc1=h_ls">Avoiding insurmountable queue backlogs</a></p><p>[14] <a href="https://www.cisco.com/c/en/us/td/docs/ios/qos/configuration/guide/12_2sr/qos_12_2sr_book/congstion_mgmt_oview.html">Cisco IOS QoS Solutions Configuration Guide, Release 12.2SR</a></p><p>[15] <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/priority-queue">Priority Queue pattern</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bf74873bace" width="1" height="1" alt=""><hr><p><a href="https://tech.new-work.se/resiliency-patterns-for-cloud-based-applications-part-i-2bf74873bace">Resiliency patterns for cloud-based applications — Part I</a> was originally published in <a href="https://tech.new-work.se/">New Work Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>