avatarAvi Kotzer

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

7719

Abstract

icroservices architecture back to a monolithic architecture</a> due to this very complexity.</p><p id="deff">Well, here are some personal thoughts :</p><ol><li>Managing numerous independent services can be daunting, requiring sophisticated solutions for issues like service discovery, load balancing, and inter-service communication. These elements need careful coordination and advanced tools to ensure seamless operation, which can increase the difficulty of managing the overall system.</li><li>Maintaining data consistency across multiple services can be difficult, and distributed transactions, while theoretically possible — are complex and often discouraged in a microservices setup. This can lead to data integrity issues if not handled correctly.</li><li>Deploying and monitoring a large number of services necessitates the use of advanced tools and practices. Continuous integration and continuous deployment (CI/CD) pipelines, service meshes, and centralized logging are critical to manage these tasks effectively. However, setting up and maintaining these tools can be resource-intensive</li><li>Communication between microservices over a network introduces latency, which can negatively impact performance. Also back to my point of #2, the data transfer and storage costs are also hidden in solutions of this nature.</li></ol><div id="dce3" class="link-block"> <a href="https://amzn.to/4cZRKcz"> <div> <div> <h2>Building Microservices: Designing Fine-Grained Systems</h2> <div><h3>Building Microservices: Designing Fine-Grained Systems [Newman, Sam] on Amazon.com. FREE shipping on qualifying…</h3></div> <div><p>amzn.to</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*KsAS-Lf5SZ6ZEvMH)"></div> </div> </div> </a> </div><h1 id="2c26">The landscape of Microservices is evolving</h1><p id="24aa">As we evaluate the state of microservices in 2024, several trends and technologies have emerged. Here’s my personal summary of some key trends that influence the relevance of microservices:</p><ol><li><b>Kubernetes and Containerization</b>: The rise of <a href="https://cloudmelonvision.com/what-is-kubernetes-really-about/">Kubernetes</a> and <a href="https://cloudmelonvision.com/getting-started-with-devops-containers-and-kubernetes/">containerization</a> has made deploying and managing microservices more straightforward. Kubernetes provides robust orchestration capabilities, simplifying the deployment, scaling, and operation of containerized applications.</li><li><b>Serverless Architectures</b>: <a href="https://cloudmelonvision.com/things-you-didnt-know-about-serverless/">Serverless computing</a>, where developers focus on writing code without worrying about the underlying infrastructure, has gained popularity. Services like AWS Lambda, Azure Functions, and Google Cloud Functions allow developers to build and deploy functions as microservices. This approach reduces operational overhead and can complement microservices by handling specific tasks.</li><li><b>Service Mesh</b>: Service mesh technologies, such as Istio and Linkerd, address many of the networking challenges associated with microservices. They provide features like load balancing, traffic management, and security, simplifying the management of inter-service communication.</li><li><b>Observability and Monitoring</b>: Enhanced <a href="https://cloudmelonvision.com/ranking-top-5-logic-app-monitoring-tools/">observability tools</a> have become essential in managing microservices. Solutions like Prometheus, Grafana, and Jaeger help monitor, trace, and visualize the behavior of microservices, providing insights into performance and aiding in troubleshooting.</li><li><b>API Gateways</b>: API gateways play a crucial role in managing traffic between clients and microservices. They offer features like request routing, rate limiting, and security, ensuring smooth communication and protecting the backend services.</li></ol><blockquote id="6556"><p>organizations which design systems are constrained to produce designs which are copies of the communication structures of these organizations<i>. — By M. Conway — <a href="http://www.melconway.com/Home/Conways_Law.html">Conway’s law in 1968</a></i></p></blockquote><div id="9210" class="link-block"> <a href="https://aws.plainenglish.io/navigating-the-cloud-native-landscape-a-glimpse-into-kubecon-europe-2023-17ce4dfc21d7"> <div> <div> <h2>Navigating the Cloud-Native Landscape : A Glimpse into KubeCon Europe 2023</h2> <div><h3>KubeCon has long been my one of favorite events in the community, and this year’s KubeCon + CloudNativeCon Europe 2023…</h3></div> <div><p>aws.plainenglish.io</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*gZcMCbwOsok0cCnt.png)"></div> </div> </div> </a> </div><h1 id="8f26">Decoding real-life microservices architecture</h1><p id="91dd">As <a href="https://docs.microsoft.com/en-us/azure/architecture/microservices/index">Microsoft defines</a>, a microservices architecture is a system that contains a collection of small, autonomous services. So, let’s walk through and decode a real-life microservice architecture.</p><h1 id="e512">Key principles in action</h1><p id="74da">Here are some principles that I summarized to follow when deploying microservices on Azure:</p><ul><li>One app server per microservice.</li><li>Each microservice has its own data persistent store (backend).</li><li>Each microservice has an independent life cycle.</li><li>No dependency on other modules.</li><li>Small and numerous microservices facilitate fast and frequent deployment.</li><li>Strongly loosely coupled, acting as small elastic units within the distributed system.</li><li>Isolation from the resources of other applications.</li></ul><p id="6384">The direct outcome of this philosophy looks like this :</p><figure id="f183"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*BoQnlWWREiUQOdgP.png"><figcaption></figcaption></figure><h1 id="8873">My personal analysis</h1><p id="1ec8">You see, modern cloud-native applications designed for microservice architecture should be managed in a version control tool like Git, following the principle of “a codebase = 1 repository.” This shows dependencies and systems should be isolated and declared explicitly and independently to facilitate maintenance and administration tasks.</p><p id="e68d">Additionally, code should be separated from configuration files, meaning that code should contain only variables and not application or environment settings. The application should be strictly stateless, with each module sharing nothing with others. Generally, the front end does not store any data. instead, data is always in the backend, possibly exchanged through middleware such as RESTful APIs.</p><p id="e75d">Each application must be autonomous and <b><i>self-contained</i></b>, adhering to the principle of “<b><i>one process, one microservice.</i></b>” This approach allows microservices to be well-structured, making it easy to add or delete processes. During peak times, processes can be scaled by increasing instances, and during downtime, services can be rapidly stopped and started, ensuring a quick return to normal operations.</p><p id="9426">Checking the integrity of event and flow logs is crucial when implementing a monit

Options

oring strategy. Since each microservice operates independently but functions as part of a whole system, log implementation should be event-based. Microsoft Azure provides log analytics services and other metrics for monitoring each microservice effectively. Sounds a bit complex right? Let’s take a look at a prime example of microservices!</p><div id="fa01" class="link-block"> <a href="https://aws.plainenglish.io/what-i-wish-i-knew-when-i-got-started-with-kubernetes-177cf717f5ef"> <div> <div> <h2>What I Wish I Knew When I Got Started with Kubernetes</h2> <div><h3>Get acquainted with the key things you need to know to get started with Kubernetes, through hands-on practice.</h3></div> <div><p>aws.plainenglish.io</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*Pt4bR0zjJIZyi4d962_cIg.png)"></div> </div> </div> </a> </div><h1 id="29b0">A prime example of microservices: e-Shop</h1><p id="8e1e">One of the most interesting parts of the workshop analyzes a real-life example built with microservices on Azure called <a href="https://github.com/dotnet/eShop">eShop by Microsoft</a>. This is a microservice architecture-based application that implements an e-commerce website using a services-based architecture with <a href="https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview">.NET Aspire</a>.</p><div id="eafe" class="link-block"> <a href="https://github.com/dotnet/eShop"> <div> <div> <h2>GitHub - dotnet/eShop: A reference .NET application implementing an eCommerce site</h2> <div><h3>A reference .NET application implementing an eCommerce site - dotnet/eShop</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*2OMwW_dNGu2ziEd3)"></div> </div> </div> </a> </div><p id="4db6">This project contains different types of microservices and can be managed by API gateway:</p><figure id="29e1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*Ie6-7U_7AM-USzqA.png"><figcaption></figcaption></figure><p id="0451">Although the orchestration layer is more complex, so the overall systems that you could read from above principles lead the final architecture looks like this :</p><figure id="e601"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*CyWeHbTWiDkhAa4N.png"><figcaption></figcaption></figure><p id="a848">If you’re a .Net developer or anyone who is experienced in Microsoft technical solutions, you would definitely benefit from one excellent book that is recommended by Microsoft : <a href="https://aka.ms/microservicesebook"><b><i>.NET Microservices Architecture for Containerized .NET Applications.</i></b></a><b><i> </i></b>This book explains in detail how to develop the microservices architectural style and set up the golden stamps of microservices.</p><div id="d6b3" class="link-block"> <a href="https://dotnet.microsoft.com/en-us/learn/dotnet/architecture-guides"> <div> <div> <h2>.NET Application Architecture Guides</h2> <div><h3>Free e-books and practical advice for developing for web, desktop, mobile, and microservices with Docker.</h3></div> <div><p>dotnet.microsoft.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*-HOBCuKlHpRdmsoU)"></div> </div> </div> </a> </div><h2 id="b1de">Are Microservices here to stay?</h2><p id="82f8">As we look towards the future, several factors will determine the continued relevance of microservices beyond 2024. <a href="https://cloudmelonvision.com/navigating-the-cloud-native-landscape/">Cloud-native technologies</a> such as <a href="https://cloudmelonvision.com/if-i-were-about-to-get-started-on-kubernetes-in-2024/">Kubernetes</a> and <a href="https://cloudmelonvision.com/decoding-serverless-kubernetes/">serverless</a> are still going strong, and their emerging with technologies like AI and machine learning, leading to smarter and more adaptive systems. And in this emerging section, <a href="https://cloudmelonvision.com/ranking-top-5-logic-app-monitoring-tools/">AI-driven monitoring</a> and self-healing capabilities will further enhance the robustness of microservices architectures.</p><p id="7a86">Please also don’t forget the rise of edge computing, where data processing occurs closer to the source of data generation, will complement microservices by enabling low-latency, real-time applications. Above all, as regulatory requirements evolve, microservices architectures will need to incorporate robust security and compliance measures, with solutions that provide seamless integration of security protocols.</p><p id="8ba7"><b><i>It’s almost a no-brainer that Microservices will continue to stay!</i></b></p><p id="7e27">Improving the developer experience is needed. Tools and frameworks that simplify development, testing, and deployment will encourage adoption and innovation.</p><div id="9056" class="link-block"> <a href="https://pub.towardsai.net/gpus-kubernetes-decoding-next-gen-ai-enabling-workloads-00d7a1f104ae"> <div> <div> <h2>GPUs + Kubernetes =? Decoding Next-gen AI-enabling Workloads</h2> <div><h3>Cloud-native technologies such as Kubernetes and serverless have been revolutionizing modern application design and…</h3></div> <div><p>pub.towardsai.net</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*YxDPxAlzZyZx8dZ29GgwLw.png)"></div> </div> </div> </a> </div><h1 id="e026">Looking forward</h1><p id="cee0">Personally, I greatly enjoyed the latest deployment methods and creative styles in designing application architecture brought by cloud computing. Cloud computing is boosting our business today. If you like reading stories like this, if you enjoy similar topics, you can follow me <a href="https://www.youtube.com/@CloudMelonVis?sub_confirmation=1">on my YouTube channel</a> or follow me <a href="https://melonyqin.com">@melonyqin here on Medium</a> and subscribe to <a href="https://newsletter.cloudmelonvision.com">my newsletter</a>. See you in the next one! Thanks for your continued support. Let’s stay tuned!</p><h1 id="d2e2">In Plain English 🚀</h1><p id="07aa"><i>Thank you for being a part of the <a href="https://plainenglish.io"><b>In Plain English</b></a> community! Before you go:</i></p><ul><li>Be sure to <b>clap</b> and <b>follow</b> the writer ️👏<b>️️</b></li><li>Follow us: <a href="https://twitter.com/inPlainEngHQ"><b>X</b></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><b>LinkedIn</b></a> | <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><b>YouTube</b></a> | <a href="https://discord.gg/in-plain-english-709094664682340443"><b>Discord</b></a> | <a href="https://newsletter.plainenglish.io/"><b>Newsletter</b></a></li><li>Visit our other platforms: <a href="https://cofeed.app/"><b>CoFeed</b></a> | <a href="https://differ.blog/"><b>Differ</b></a></li><li>More content at <a href="https://plainenglish.io"><b>PlainEnglish.io</b></a></li></ul></article></body>

Cachucha

A dance, a hat, a vulva, and a few other interesting meanings

Photo by Iva Reztok

Today’s New York Times Spelling Bee letters:

Art: Iva Reztok

A, C, P, T, U, Z, and center H (all words must include H)

Merriam-Webster says…

Credit: merriam-webster.com

Silly little dictionary! Don’t you know that cachucha can’t possibly be a word if The New York Times says it ain’t?

For further fascinating facts, check out the Spelling Bee Master.

What’s your favorite dord* from today’s puzzle?

My Two Cents

As a part-time Spanish speaker and someone who grew up in Venezuela, the first thing I associate with the word cachucha is baseball. And that’s because one of the meanings of cachucha is “cap”, as in a baseball cap. That is why you see the bobbleheads of two of my favorite Mets players in the photo at the top of today’s column. (Yes, I confess I’m a Mets fan. Whoosh! Watch my thousands of followers abandon me like rats on a sinking ship.)

Anyhow… both Edgardo Alfonzo (who was an awesome Venezuelan infielder) and Keith Hernandez (who appeared in one of the best Seinfeld episodes ever) are wearing Mets cachuchas.

I never expected cachucha to be a word in English, so imagine when I typed into the dictionary’s search function and it came up! Well, technically speaking cachucha isn’t a word, because The New New York Times says it ain’t. That’s the whole point of this column: to make fun of Merriam-Webster for including all those made-up words in their dictionary.Ahhh, that silly little dictionary doesn’t know any better!

The word I really wanted to write about today was cachapa, the Venezuelan sweet corn pancake that is folded over and served with salty cheese inside.

Photo by Jaqueline1968

However, cachapa is not in the dictionary… yet. It’s cousin the arepa is, so I am not losing hope that the editors at Merriam-Webster will include cachapa as an entry soon enough.

Now, on to our daily dord*!

You can dance if you want to

I currently live in Spain and have been to the autonomous community of Andalusía a few times already. (Autonomous communities are the equivalent of states in the U.S.) Andalusía is the largest community in Spain by territory and the second-largest by population. It is located in the southernmost portion of peninsular Spain (as seen below), and is a highly agricultural region.

Credit: TUBS

Andalusía is also has many tourist attractions, such as its capital city, Seville, the Alhambra World Heritage Site in Granada, and the miles and miles of beaches facing the Mediterranean Sea. One of its provinces, Almería, is well-known for having been the location where movies such as The Good, The Bad, and The Ugly, Conan the Barbarian (1982), Indiana Jones and the Last Crusade, Lawrence of Arabia, and Patton were filmed.

I just came back from Almería last week, and I can tell you that neither this time nor on any of the other occasions in which I’ve visited that southern part of Spain I’ve ever seen or heard of an Andalusian dance known as the cachucha. I’m not saying it doesn’t exist… I’m just publicly admitting my ignorance when it comes to regional folkloric dances in Spain.

Our friends at Merriam-Webster tell us that cachucha comes from “Spanish, small boat, cap, cachucha, probably from cacho shard, piece, probably from (assumed) Vulgar Latin cacculus pot, alteration of Latin caccabus, from Greek kakkabos, of Semitic origin; akin to Assyrian kukubu vessel”.

According to Wikipedia, the dance actually originated in Cuba. So far my Cuban have not been able to confirm that information, but I’ll keep investigating. Another source says it was actually first performed in Spain, in an 1815 opera called El disparate o La obra de los locos (Nonsense, or The Play of the Crazies) written and composed by Félix Máximo López.

What does seem like historic fact is that the cachucha became popular in Europe after Austrian dancer Fanny Elssler gave a performance of the dance in Jean Coralli’s 1836 ballet Le Diable boiteux (The Gimpy Devil). Despite this happening in Vienna, less than sixty years later the cachucha was already considered an Andalusian dance. A review of Gilbert and Sullivan’s The Gondoliers in a 1889 edition of The Graphic weekly newspaper attests to it.

Credit: hathitrust.org

In case you’re having a hard time reading the small print, the text says: “….the composer has also borrowed from France the stately gavotte, from Spain the Andalusian cachucha, from Italy the saltarello and the tarantella, and from Venice itself… the Venetian barcarolle.” (The fifth musical number in Act II is, in fact, called “Dance a cachucha”.)

What happened in those five decades or so that turned a dance by an Austrian artist performed in Austria into a regional symbol of Spain? I have no clue, and my daily 15 minutes of intensive online research have come and gone. So that’s that.

What I can do is provide you with a reconstruction of Fanny Elssler’s performance, courtesy of Spain’s National Ballet Company…

…and a dance score for La Cachucha by Friedrich Albert Zorn, in case you want to try it yourself.

En español

I’ve already mentioned that in Spanish cachucha means cap (as in the headgear). The other word typically used is gorra, which I think is more universal in the Spanish-speaking world. Cachucha is well-known as “cap” in Central America and the Caribbean area; perhaps not coincidentally, in much of that area baseball is played.

But Spanish has a plethora of other meanings for this word. You should take these into account during your travels across Latin America and Spain.

§ In Venezuela cachucha is also used to refer to career military types, especially officers. The peaked cap used by military personnel is called “gorra de plato” in Spanish.

§ In Paraguay, Argentina, and Uruguay, cachucha is slang for vulva. Not sure if this is the case in neighboring Chile, although linguistic logic dictates it could be. So just be careful using this world if you’re touring the southern parts of South America.

§ In Nicaragua, cachucha is a different type of slang altogether, used to refer to condoms. (Which makes sense, if you think about it.)

§ In Cuba, cachucho (with an “o” at the end) refers to a type of fish, the queen snapper or brim snapper (Etelis oculatus), which is, well, um, a type of snapper. However, sometimes the name is changed to cachucha. So if you’re in Havana and someone asks if you want to have cachucha for lunch, just know they are not offering to cook a baseball cap.

§ In Mexico, the expression “de cachucha” can mean “free” or “it’s on me”.

§ In many Spanish-speaking countries people may use the phrase “santa cachucha” or “por la cachucha”, which are the equivalent of “holy cow”.

Now you know. Next time you’re visiting Spain, make sure to go to Andalusía and ask if you can see a cachucha. Don’t be surprised if they pull out a baseball cap instead of directing you to the nearest dance theater. And that will happen because the editors of the Spelling Bee decided that cachucha is a dord*.

You can check out my previous entry on another dord* here:

*What the heck is a dord, you ask? Here’s the answer:

Spelling Bee
Language
Spain
Dance
Baseball
Recommended from ReadMedium