<?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 Dilakshi Fernando on Medium]]></title>
        <description><![CDATA[Stories by Dilakshi Fernando on Medium]]></description>
        <link>https://medium.com/@manushi.fdo23?source=rss-2d8470c9410a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*j-KN9Ua1bk5hpXVD</url>
            <title>Stories by Dilakshi Fernando on Medium</title>
            <link>https://medium.com/@manushi.fdo23?source=rss-2d8470c9410a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 22:07:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manushi.fdo23/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[Async Rest Services with Messaging]]></title>
            <link>https://medium.com/@manushi.fdo23/async-rest-services-with-messaging-8df9a6e74521?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8df9a6e74521</guid>
            <category><![CDATA[async-rest-service]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Mon, 25 Jul 2022 06:26:34 GMT</pubDate>
            <atom:updated>2022-07-25T06:26:34.096Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How does internal kafka operate?</strong></h3><p>Each topic has one or more partitions connected to it that are dispersed among one or more brokers. Depending on the replication factor that is chosen, every partition is duplicated to one or more brokers.</p><p><strong>Let’s examine this in more detail.</strong><br>One consumer and three partitions are present here. one consumer who receives messages from each of these three partitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wHFLhmMapGsREYsH.png" /></figure><p>Consumer2 listens to partition2 while Consumer1 points to Consumer2. Customer 1 listens to partitions 1 and 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*RlB95i_iNY3ryW5h.png" /></figure><p>Only 3 pieces of content make up the Topic, therefore Kafka doesn’t send a message to Consumer4 at the conclusion. Consumer4 won’t do anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*zEZ_fPEOv3Lw79H-.png" /></figure><p><strong>There should be fewer or an equal number of customers in the consumer group as there are topical partitions.</strong></p><p>A different consumer group can access the same topic through partitions.</p><p>The project consumer group contains three consumers, who listen to each partition, while the finance consumer group comprises two customers, who each listen to partitions 1 and 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*9R7VNzzXM0ZWYOu8.png" /></figure><p>Kafka employs a mod algorithm and makes a decision based on the key if you give the consumer the key.</p><p>Therefore, it is guaranteed to send to the same partition provided you use the same key every time.</p><p>If you don’t provide the key, Kafka will drop rounds at random. This has the drawback that the message order is not assured.</p><p>THANK YOU…!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8df9a6e74521" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between Apache Kafka & RabbitMQ]]></title>
            <link>https://medium.com/@manushi.fdo23/difference-between-apache-kafka-rabbitmq-cbdc2c547490?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbdc2c547490</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[rabbitmq]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Mon, 25 Jul 2022 06:11:09 GMT</pubDate>
            <atom:updated>2022-07-25T06:11:09.343Z</atom:updated>
            <content:encoded><![CDATA[<p>RabbitMQ vs. Apache Kafka<br>Let’s begin a feature-by-feature comparison of Kafka vs RabbitMQ.</p><p><strong>1.What is it</strong></p><p>Simply put, Apache Kafka is a message bus built for high-ingress data streams and replay.</p><p>While RabbitMQ is a reliable, experienced general-purpose message broker that supports a number of industry-standard protocols, including AMQP</p><p><strong>2. Sources</strong></p><p>Scala is used to develop Apache Kafka.</p><p>Erlang was used to develop RabbitMQ.</p><p><strong>3. License</strong></p><p>Apache Kafka — The Apache License 2.0 makes Apache Kafka an open Source product.</p><p>While RabbitMQ is also available under the Mozilla Public License, it is open source.</p><p><strong>4. Client Libraries</strong></p><p>Ruby, Python, Node.js, and Java are just a few of the many client libraries available for Apache Kafka.</p><p>Ruby, Python, Node.js, Clojure, Go, Java, and C are just a few of the mature libraries that are included in RabbitMQ.</p><p><strong>5. Federated Queues</strong></p><p>federated queues are not supported by Apache Kafka.</p><p>RabbitMQ, on the other hand, helps federated queues. The burden of a single queue can be distributed across nodes or clusters using this capability.</p><p><strong>6. Support for High Availability (HA)</strong></p><p>Apache Kafka — High availability is supported by Apache Kafka.</p><p>High availability is also supported by RabbitMQ.</p><p><strong>7. Complex Routing Scenarios</strong></p><p>Apache Kafka is equipped to handle complex routing scenarios.</p><p>Complex routing situations cannot be carried out via RabbitMQ.</p><p>Furthermore, the below chart might give us extra information. The comparison of Apache Kafka and RabbitMQ using features, performance rate, and processing is shown in the chart below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbdc2c547490" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create and deploy services on Docker]]></title>
            <link>https://medium.com/@manushi.fdo23/how-to-create-and-deploy-services-on-docker-cd193b8027e?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd193b8027e</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[deploy]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Fri, 22 Jul 2022 18:26:28 GMT</pubDate>
            <atom:updated>2022-07-22T18:26:28.090Z</atom:updated>
            <content:encoded><![CDATA[<p>Install docker</p><p>In windows, you need the windows 10 or above version to install the docker. If your machine doesn’t have a proper version, you need to install Docker toolbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*KBgXkYRbtrBbrM5E-78ZtA.png" /></figure><p>Then go to the docker.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*aDa9XAFLfccPwIyXtMjMWA.png" /></figure><p>And then click on get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*gyLPjZzWq7YyJVYC_Qv2YQ.png" /></figure><p>Then click on Download Exe file for windows/ mac intel/ mac-apple or Linux based on your OS.</p><p>Then install the docker according to the following steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*isMmpASLEt-ISlcNBPJBGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*5BeRJq0bzyz9alDczG4rUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*bFADns5LlxdVJc502H3xWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*KCqQqE5WVLprFN5irAu9LA.png" /></figure><p>Then tick the checkbox and accept it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*vAv3xxx2nXI9cicBjQz_ig.png" /></figure><p>After that open the command prompt and create a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*KfSl6DgYIjohtw1gJ8AW0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*3W1xzZCiyWjVqZvCcrd71A.png" /></figure><p>THANK YOU…..!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd193b8027e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyze TCP dump for slow backends]]></title>
            <link>https://medium.com/@manushi.fdo23/analyze-tcp-dump-for-slow-backends-66faaeef09a1?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/66faaeef09a1</guid>
            <category><![CDATA[tcpdump]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Fri, 22 Jul 2022 18:21:06 GMT</pubDate>
            <atom:updated>2022-07-22T18:21:06.931Z</atom:updated>
            <content:encoded><![CDATA[<p>The best way to debug common network issues, including slow backends, is by looking at the TCP packet flow over the network. Wireshark can be used to study the traffic, thus.</p><p>The scenario above will therefore be illustrated by the following line of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*j9qL2LsDAL6JGXg63dCcmw.png" /></figure><p>The insomnia application is used to show what will happen if we send a small file and a large file</p><p>The aforementioned transaction flow can be viewed like this once your server is running. To further highlight this, the columns “Delta Time” and “Calculated window size” were added.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*8_ZUKatVIfR3xxTKqD8S1g.png" /></figure><p>The maximum receive buffer size equals the window size. If so, the client is informed of the buffer size. The server received buffer size if it is a server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*vwlW8DSn9vKPl3PpFFBb1A.png" /></figure><p>In this scenario, the client sends a POST request to the server. The window’s current position is 10233. 65535 is the starting window size. So let’s imagine that we are downloading or uploading a 2GB file. At that point, we repeatedly send 65535 bytes and ACK until the file uploads or downloads. Therefore, this will take longer.</p><p>We therefore need extra capacity in order to handle that size of larger file. So, we can access TCP options to accomplish that. Window scale is a selection that is available (This can be seen during the handshake with SYN, or SYN, ACK segment). The range of the window scale value is 0 to 14.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*8rCPujn2L_aO-Gu1MEWZsA.png" /></figure><p>So when we check SYN at line number 16, the window scale is 8. To calculate the true window size, we can do, 2^(scale value). In the above case, it is ²⁸ = 256.</p><p><strong>1. Upload a Large File</strong></p><p>When we try to send a large file the traffic will be like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*4XCspKbiBD_TBI7a58GfQA.png" /></figure><p>Therefore, when it gets to line number 11, the window size is reduced in this instance. But it raised once again in line 12. Thus, the server’s current IP address is 65535. As a result, the server will need 2554112, therefore it requests 2554112 from the client. There are yet another 131070 characters in line 14. As a result, the server requests 2488576 from the client and consumes 2488576.</p><p>Accept = Full Size — Remaining in Buffer is the next step.</p><p>As a result, we referred to a situation when we reached zero as a zero window. That indicates that the buffer is filled. The server must refresh the windows and obtain data from the client in order to obtain more. But there may be a latency when it comes to zero windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Gml3gVvVvH8GSP_yZ3EBcA.png" /></figure><p>If there is a delay, it is indicated as 90 to 58 and then 428 in the Delta Time column. This is due to the fact that sending and receiving packets from the server takes some time.</p><p>If ACK = 1 during data transmission, then ACK = length + 1 = 65495. which is when the buffer needs to be cleared. Send a buffer up till the data is on the server. The ACK comes slowly if the response time is long. As a result, the server might continue to send buffer additional data without clearing it. Thus, due to a full transmit buffer, the following batch of data cannot be entered.</p><p>So as in the above case, we can see many retransitions because if the client didn’t ACK to the server, and when timeout triggers. the client sends ACK to the server.</p><p>THANK YOU…!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66faaeef09a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design patterns for Microservices]]></title>
            <link>https://medium.com/@manushi.fdo23/design-patterns-for-microservices-89d6f11b8807?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/89d6f11b8807</guid>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Wed, 20 Jul 2022 16:55:48 GMT</pubDate>
            <atom:updated>2022-07-20T16:55:48.175Z</atom:updated>
            <content:encoded><![CDATA[<p>We mainly talked about three patterns. They are.</p><p>· Aggregator Pattern</p><p>· Circuit Breaker Pattern</p><p>· Proxy Pattern</p><p><strong>Aggregator Pattern</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*Ws_y2nf4KRAAF-_pI5zWYw.png" /></figure><p><strong>Parallel pattern</strong></p><p>You must develop a different service if you want to obtain both personal information and leave information data. Sending parallel calls, aggregating the data, and sending it to the response are all options if you want both information at once.</p><p><strong>Chain pattern</strong></p><p>Consider that your personal information has an impact on your leave information. suppose that they sent you the employee ID. However, they left service is unable to retrieve information from an employee ID. You can then use the personal information service to request an employee code, which you can then enter to request data from the leave information service. This is chain servicing.</p><p>Branch Pattern</p><p>Assume the user will send the branch code and employee id. The personal information service is called first, followed by the sales information service if the branch code is sales and the technical service if it is technical.</p><p><strong>Circuit Breaker Pattern</strong></p><p>The request won’t even attempt to reach the web server if it is failing more frequently than the specified threshold. When something goes wrong, the customer will be notified. When a service fails, a ping is sent to that specific service. There is no queue because we send the user an error message when a request fails rather than placing it in a queue. The remaining requests will be handled once the service comes back online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*vg_pYbNZbkAWaIUb2K4D2A.png" /></figure><p><strong>Proxy Pattern</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*qrV6-duXnBZ8TNrqi3FDUw.png" /></figure><p>Consider that you have a microservice to obtain employee leave information. You enter the employee code, and information is obtained. However, in light of the database’s reorganization, the development team chose to maintain the employee id as the relational key for all records.</p><p>Then, instead of using the employee code, you must alter your service to retrieve data from the employee id. You already have employee service, but you’re about to introduce a fresh iteration of it.</p><p>If you put your new service into production, your customers will stop using it because they continue to pass employee ID rather than the employee code.</p><p>Here, a proxy service is deployed. The customer then talks to service 2.0 of the Employee service after passing the employee id argument. If the customer successfully completes the employee code parameter, they will speak with Service 1.0 of the Employee service.</p><p>You can independently roll out your service in this way without upsetting your customers.</p><p>THANK YOU….!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89d6f11b8807" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Practices for Microservice]]></title>
            <link>https://medium.com/@manushi.fdo23/best-practices-for-microservice-35b2642aff59?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/35b2642aff59</guid>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Wed, 20 Jul 2022 16:46:55 GMT</pubDate>
            <atom:updated>2022-07-20T16:46:55.936Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What are the good practices you have to follow, when you work with Microservices?</strong></p><p><strong>Design</strong></p><p>Domain-driven design should be used in the design. We’ll make sure to have a brand-new domain-driven design if you decide to incorporate microservices into your project.</p><p><strong>Hard-coded values</strong></p><p>Assume that service A, one of your services, is phoning service b. (service B). Therefore, you must possess the service B address. This value is typically hardcoded by developers. If the IT staff or whoever decides to change the IP address or URL, you need to alter the code and send other deployments (it might be a URL, a hostname, or an IP address). However, this is a bad habit.</p><p>To find the second service, you must utilize a service discovery tool.</p><p><strong>Loggings</strong></p><p>Logs must be kept up to date and well maintained. The best course of action is to fail quickly and log afterward. Use loggings sparingly.</p><p><strong>Versioning</strong></p><p>This refers to how your service should be versioned. You must choose the date of your subsequent deployment and the service’s versioning number.</p><p><strong>Semantic versions</strong></p><blockquote>Major Version</blockquote><p>When your service is incompatible with earlier services, you can increment. [Functionally changed so that the new version is incompatible with the old]</p><blockquote>Minor Version</blockquote><p>When you gain the functionality, you can increment. The previous work function will, nevertheless, continue to be performed in the same manner. [The user can update to a new version if they so choose, or else they can utilize the prior version.]</p><h3><strong>Patch Version</strong></h3><p><strong>Dependency</strong></p><p>Any reliance on services must be avoided. because each service must be deployed independently.</p><p><strong>Fault Tolerance</strong></p><p>You have a wide range of failure chances because you use various services. Therefore, you must address these issues appropriately by adhering to a strong fault tolerance method.</p><p><strong>Documentation</strong></p><p>The documentation section has to be kept up to date. You can define your APIs’ internal structure in Swagger so that computers can understand it.</p><p><strong>Authorization and Authentication Mechanism</strong></p><p>Assume you are verifying users using the OAuth token. Assume that validating it takes 20 ms. It takes 60ms if this request passes via three different servers, each of which tries to independently validate the OAuth token.</p><p>In order to do this, you can use a service for a different identity. Then, if your services require customer validation, you can point them toward the identification service and reroute them to the standard track.</p><p><strong>Make Executable Contracts</strong></p><p>These agreements can be changed into executable ones. You can create a few test scripts and test cases. So, these processes will always be carried out automatically whenever you construct something in the services. If these stages are successfully completed, the contract was not broken.</p><p>THANK YOU…..!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35b2642aff59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Applications to microservices]]></title>
            <link>https://medium.com/@manushi.fdo23/web-applications-to-microservices-dedd9c7fd7ea?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/dedd9c7fd7ea</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[web-applications]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 19:16:02 GMT</pubDate>
            <atom:updated>2022-07-19T19:16:02.794Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Monolithic Architecture</strong></h3><p>Monolithic Architecture is regarded as an established method of creating apps. The entire application is created as a single unit with this design. Assume for the moment that you have created an application using monolithic architecture. The application has a database, a business layer with numerous operations, and a client-side user interface. As a result, all of those are combined into a single entity, resulting in a sizable code base for the program. In order to edit or modify something simple, you must therefore access the entire code base. Additionally, even for a small modification you make, the entire code base needs to be updated. You might have to put your entire application on hold for a few hours as a result.</p><h3>Monolithic applications vs Microservices</h3><p>· One executable file (such as a jar or war file) represents the whole application in a monolithic application. That indicates that your complete application is contained in a single file.</p><p>· Monolithic apps’ main drawback is that you must view the complete application process in order to make a simple modification.</p><p><strong>Monolithic Applications’ benefit:</strong></p><p>· simple to create</p><p>· simple to use.</p><p>· Monitoring and testing are simple. since there is just one application.</p><p><strong>An issue with monolithic applications:</strong></p><p>· Each update necessitates a complete application redeployment.</p><p>· It’s challenging to deploy continuously.</p><p>· The difficulty of debugging stems from the size of the code bases.</p><p>· The application is too extensive and intricate to completely comprehend and make changes quickly and accurately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*vGZM7K-1WccjW4n61mrmcg.png" /></figure><p><strong>Characteristics of Microservices:</strong></p><p>· Domain-driven development is a microservice.</p><h3>Describe DDD?</h3><p>It is the goal of domain-driven development to translate business ideas into software artifacts.</p><p>· A microservice’s scope is precisely defined.</p><p>· Microservices are able to run their own processors. (For instance, one’s own web container.)</p><p>· Microservices are capable of lightweight communication.</p><p><strong>Examples are HTTP</strong></p><p>· Microservices ought to be scalable and deployable on their own.</p><p><strong>benefits of using microservices.</strong></p><p>· The full service is known to the team members. The production issue is simple to comprehend. Because everybody on the team is familiar with the program.</p><p>· simple to switch between languages or frameworks.</p><p>· Services may be scaled.</p><p><strong>Microservices have drawbacks.</strong></p><p>· How to manage microservices is challenging to learn.</p><p>· Monitoring the app is challenging.</p><p>· The application can only run if all services are active.</p><p>· The service must be handled by the group. You created it, so you own it.</p><p>THANK YOU…!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dedd9c7fd7ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Develop Container-less Application with Spring Boot]]></title>
            <link>https://medium.com/@manushi.fdo23/develop-container-less-application-with-spring-boot-f7f56ae68aac?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7f56ae68aac</guid>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 19:13:16 GMT</pubDate>
            <atom:updated>2022-07-19T19:13:16.002Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web Server</h3><p>A web server is software and hardware that responds to client requests sent over the World Wide Web using HTTP (Hypertext Transfer Protocol) and other protocols.</p><p>Examples:</p><p>Apache HTTP Server</p><p>NginX</p><h3>Web Container</h3><p>The part of a web server that communicates with Java servlets is called a web container. The life cycle of servlets is managed by a web container, which also makes sure that the requester has the necessary access privileges when mapping a URL to a specific servlet.</p><h3>App server</h3><p>A service layer model is a framework for an application server. It consists of software components that can be accessed by a software developer via an API.</p><p>Assume that there are 10 applications (Jboss, Weblogic) operating in a container and that one of them stops working unexpectedly and needs to be restarted. All of the other applications will shut down when you resume them. The existing industry does not benefit from this strategy. The containerless methodology is used as a remedy.</p><p><strong>Containerless applications</strong></p><p>The container is embedded into the web application in this case, and as soon as we launch the web application, it will launch its own container that is housed inside. These benefits of this strategy include</p><p>1. You can restart anytime without interrupting other services.</p><p>2. You can have your own configurations for the service.</p><p>THANK YOU…!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7f56ae68aac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Docker and Container based development]]></title>
            <link>https://medium.com/@manushi.fdo23/introduction-to-docker-and-container-based-development-80ed97710696?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/80ed97710696</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 19:11:40 GMT</pubDate>
            <atom:updated>2022-07-19T19:11:40.511Z</atom:updated>
            <content:encoded><![CDATA[<p>What is docker? Docker is software or product in case the company but we don’t have exact terminology to use for docker.</p><p><strong>Container-based application</strong></p><p>In past, applications with deployed physical servers nowadays also deployed in the physical server. let’s say we have an application database and a web server we used to use three different physical hardware boxes.</p><p>Then these problems encountered</p><p>· We have to maintain</p><p>· We need space</p><p>· We need a separate network</p><p>· We need OS</p><p>· It may cost</p><p>Therefore next-generation use of hypervisor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*zjPs_R5lD4ivqdT75T4qeQ.png" /></figure><p>We used a single high-processing hardware box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*TI6uw6kq78Z8VTN8qLZWJA.png" /></figure><p>Then the top of that we use a virtual machine let’s say we used 50% of processing power.</p><p>We can use these to create multiple or other virtual machines.</p><p><strong>Ex:</strong> Proxy, Hail</p><p>Then we install OS on top of virtual machines</p><p>Then we install our application</p><p>We call this<strong> generation two</strong></p><p>let’s say we read other web servers and still we have to have configurations.</p><p><strong>Generation 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*_4qiHrPuOKO4Pdl2jLSESg.png" /></figure><p>Patching Licensing Maintenance Update —<strong> We solved</strong></p><p>Then we create the container docker on top of that we create our application Docker is not equal to hypervisor devils a cloud platform called .Cloud created this as a separate project called docker. It is an open-source project We know the virtual machine is a hypervisor and docker Is a container because those are different, we can’t have a head-to-head comparison. We don’t need separate OS and VM when we use a docker environment. We can save this space because we don’t want OS then we don’t need to license we are on top of the OS which means OS is already started. It will start our application very quickly.</p><p><strong>Docker Engine</strong></p><p>Docker Engine is not a project. It is a very small part it’s a core registry, security. All these are built on top of and around the docker engine. With this terminology, there are two different things.</p><p><strong>Orchestration — -</strong>This is the procedure that gathers every instance (micro level service) and works toward a shared objective.</p><p><strong>Registry —</strong> A registry is a place where we can store our Docker images.</p><p>THANK YOU…!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80ed97710696" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fundamentals of JAVASCRIPT]]></title>
            <link>https://medium.com/@manushi.fdo23/fundamentals-of-javascript-5f244815774c?source=rss-2d8470c9410a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f244815774c</guid>
            <category><![CDATA[javascript-fundamental]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Dilakshi Fernando]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 19:08:02 GMT</pubDate>
            <atom:updated>2022-07-19T19:08:02.843Z</atom:updated>
            <content:encoded><![CDATA[<p>You can learn about the basics of JS in this article. The most used programming language is JavaScript.</p><p><strong>Why learn JavaScript?</strong></p><p>Programming methods including imperative, functional, and object-oriented programming are made possible by JavaScript. Then, novice coders can utilize these skills to pick up any new language they desire, like Python or Java.</p><p>JavaScript is a scripting language used to develop and manage dynamic websites, or in other words, anything that moves on your screen without requiring you to reload your browser. Anything from animated images to a Facebook timeline created automatically is possible.</p><p>Most people begin with simple HTML and CSS when they first become interested in web development. It makes it reasonable that they then go on to JavaScript because these three components together are the foundation of web development.</p><p>Your page’s HTML structure includes things like headers, body content, and any graphics you choose to use. It essentially describes what is on a web page.</p><p>CSS is what you’ll use to alter fonts, background colors, and other aspects of how that page appears.</p><p>The third component is JavaScript. Once you’ve developed your HTML structure and CSS style, JavaScript adds dynamic functionality to your website (automatically updateable).</p><p><strong>JavaScript Variables and Primitive data types.</strong></p><p>Most people begin with simple HTML and CSS when they first become interested in web development. It makes it reasonable that they then go on to JavaScript because these three components together are the foundation of web development.</p><p>Your page’s HTML structure includes things like headers, body content, and any graphics you choose to use. It essentially describes what is on a web page.</p><p>CSS is what you’ll use to alter fonts, background colors, and other aspects of how that page appears.</p><p>The third component is JavaScript. Once you’ve developed your HTML structure and CSS style, JavaScript adds dynamic functionality to your website (automatically updateable).</p><blockquote>var studentName= ‘Manushi’;</blockquote><blockquote>let teacherName=’Mala’;</blockquote><blockquote>const subject= ‘maths’;</blockquote><h3>var</h3><p>The ES5 method for declaring a variable is var. This keyword refers to a general variable.</p><h3>let</h3><p>The ES6 variable keyword let is new. This will assign a variable with behavior somewhat similar to that of var. It varies most noticeably by establishing “block level scope.”</p><h3>const</h3><p>Also new in ES6 is const. A constant variable is one that is immutable. It is an acronym meaning “constant.”</p><h3>Primitive data types</h3><p>These are the most fundamental data types in the language, hence the term “primitive data type.”</p><p><strong>Numbers</strong></p><p>There are no quotations surrounding numbers. They may also be harmful. There is a size restriction on numbers in JavaScript (+/- 9007199254740991), but this restriction rarely applies.</p><p><strong>Boolean</strong></p><p>Low-level computer science is where booleans originate. It is a principle that underlies binary code and forms the basis of all computers. Binary code, such as 0001 0110, may have been something you’ve seen before. That’s Boolean reasoning. Essentially, it means that there are only two options available: true or false, 0 or 1. Booleans are used in JavaScript to denote true or false. At first, this could appear easy, but things can quickly become challenging.</p><h4>Strings</h4><p>Strings are blocks of text. They will always be defined with quotation marks around them, either single or double. Any text with quotes around it is a string.</p><h3><strong>JavaScript Operators</strong></h3><p>These are symbols that can be used to manipulate operands.</p><p><strong>Arithmetic Operators — </strong>used to operate on the operands mathematically. The term “JavaScript arithmetic operators” refers to the following operators.</p><p><strong>Comparison (Relational) Operators — </strong>the two operands are compared.</p><p><strong>Bitwise Operators —</strong> perform bitwise operations on operands.</p><p><strong>Logical Operators — </strong>used to perform logical expressions.</p><p><strong>Assignment Operators —</strong> used to assign values/variables to variables.</p><h3><strong>If-else</strong></h3><p>Depending on whether the checked condition is true or false, this is utilized to run the code. In JavaScript, there are three types of if statements.</p><p>1. If Statement — It evaluates the content only if the session is true.</p><p>2. If else statement — evaluates the content whether the action is true or false.</p><p>3. if else if statement — evaluates the content only if the session is true from several expressions.</p><h3><strong>Loops</strong></h3><p>The same code can be performed repeatedly with a different value by using loops. This primarily functions in arrays.</p><p>JavaScript provides a variety of loop types, including:</p><p>· for loops through a block of code a number of times</p><p>· for in loops through the properties of an object</p><p>· while loops through a block of code while a specified condition is true</p><p>· do while — also loops through a block of code while a specified condition is true</p><h3><strong>Switch</strong></h3><p>With this, several expressions can be utilized to run a single function. Because it may be used with numbers, letters, etc., it is more practical than if-else. Here is an illustration of a switch.</p><h3><strong>Functions</strong></h3><p>This is a section of code that, when called, carries out a particular function.</p><p>The key benefits of JavaScript functions are two.</p><p>1. <strong>Code reusability — A</strong> function can be called several times.</p><p>2. <strong>Less coding</strong> — don’t need to write many code lines each time to perform a common task.</p><p>THANK YOU….!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f244815774c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>