reactive programming

What is Reactive Programming? Reactive programming used  to improve user’s programming experience. Everyone wants to make their application more responsive. In nutshell we want to deliver effortless user experience our users without freezing the main thread, slowing them down and we do not want to serve the log-grade performance to our users. To maintain the main thread free, we want to do a lot of heavy and time consuming work we want to do in the backend. We also want to do heavy work and complicated calculations on our server as mobile devices are not powerful to do the heavy pickup. So we need asynchronous work for network operation. A reactive system is characterized by four properties: Responsive: A reactive system needs to handle requests in a reasonable time (I let you define reasonable). Resilient: A reactive system must stay responsive in the face of failures (crash, timeout, 500 errors. ), so it must be designed for failures and deal with them correctly. Elastic: A reactive system must stay responsive under various loads. Consequently, it must scale up and down, and be able to handle the load with minimal resources. Message driven: Components from a reactive system interacts using asynchronous message passing.

WEB SERVICES SOAP AND REST

Web Services Web services can be defined by many ways: Web services is a client application or application component for communication Web services is a software system for interoperable machine to machine communication A web service is a collection of standards or protocols for exchanging information between two devices or application. For example: java, .net, PHP application can communicate with other application through web services over the network. So web service is a language independent way of communication. Types of Web Services: There are two types of web services: SOAP services. REST services. SOAP Services SOAP is a protocol which was designed before the REST. Soap Stands for Simple Object Access Protocol that has been around for a while and enjoys all the benefits of long term use. Microsoft developed SOAP to take place of older technologies that don’t work well on the internet. The main idea behind designing SOAP was to ensure that program built in different platform and programming language could exchange data in easy manner. It is a XML based protocol for accessing web services. The XML is used to make requests and receive     responses in SOAP can become extremely complex. In some languages, you need to build those requests manually. This becomes a problem because SOAP is intolerant of errors. In Fact when working with .Net languages, you never even see the XML. REST Services Rest web server is an Architecture style not a protocol. It is an abbreviation of Representational State Transfer. This was designed especially for working with component such as media component, file or even objection on a particular hardware device. Any web service that is defined on the principles of REST can be called as Restful web service. REST provides a lighter weight alternative. Instead of using XML to make a request, REST relies on simple URL in many cases. In some situations you must provide additional information in special ways, but most web services using REST. A RestFul web service relies exclusively on obtaining the needed information using the URL approach. REST can use four different HTTP1.1 verbs (GET, POST, PUT and DELETE) to perform tasks. DIFFERENCE BETWEEN SOAP AND REST WEB SERVICES SOAP WEB SERVICE REST WEB SERVER 1.  SOAP is a protocol 1.  REST is an Architecture style 2.  It is an abbreviation of Simple Object Access protocol 2. It is an abbreviation of Representational State Transfer 3. SOAP was designed with a Specification. It includes a WSDL file which has the required information on what the web services does in addition to the location of the web service  3. REST is an architecture style in which a web service can only be treated as RESTFul service 4.  SOAP cannot make use of REST since SOAP is a protocol and RESR is architecture. 4.  REST can make use of SOAP as the Underlying protocol for web services, because in the end it is just an architecture patter. 5. SOAP defines standards to be strictly followed.  5. REST does not defines too much Standards like SOAP. 6.  SOAP requires more bandwidth and resources 6.  REST requires less bandwidth and resources. 7. SOAP defines its own security. 7. RESTFul web services inherit security measurements from the underlying transport. 8. SOAP is less preferred than REST. 8.  REST is more preferred than SOAP.

08
September

Facebook Ad Campaign | FB Advertising | How To Run Ad Campaign

Facebook Ad Campaign is most usable campaign nowadays. Because most of the users are using facebook so it is easy to promote your brand name from facebook ad campaign. Campaign contains more than one ad sets and as sets contains more than one ad. Why should I choose FACEBOOK ads to run a business…..?????? You should always choose facebook ad campaign to run your business or to promote your page. Because you can get highest reach through facebook ads by spending small amount of money instead of Google and YouTube. If you want to viral your video on YouTube it will be very expensive for you because YouTube advertised through Google and Google charged too much for an ad. You can viral your video on facebook very easily it will cost you very less. Facebook reach and views If you spent some money on your ad for around 1 lakh people than it will show on 1 lakh people’s timelines weather they click on it or not, it is another matter, if they click on your ad than it will count as views. What is the difference between creating one ad and multiple ad…????? There is a same type of audience in create an ad and in multiple ads you can choose your audience of different interest , different behavior and demography and check from where you are getting more response. What kind of Audience I should select….??? Always select that audience which is similar to your ads. It means those people who will have same type of interest which you are posting or those you will give some response on your post. When you will create your ad campaign it will give you audience selection option. You have to choose AGE, LOCATION, INTEREST, BEHAVIOR etc. So choose it carefully. There are two options lookalike audience and custom audience… LOOKALIKE– presently those people who are reacting on your page it will show your ad only that kind of users. There will be another option of reach shown there if you increase accuracy than your reach will decease so always select lesser accuracy so your reach can improve. CUSTOM– if you have users name, email ids and other information you have to upload all these information there than your ad will be seen by them BUDGETS There are two types of budgets we used in ad campaign. LIFE TIME BUDGET: In life time budget we have to set your schedule from starting date and ending date. It means you have to mention there that when you want to start your campaign and end your campaign. DAILY BUDGET: In daily budget there is no need to choose starting date and ending date of ad campaign. Whenever you need to start you can start your campaign or when you need to end you can end and restart your ad campaign. Your budget will set accordingly. BID AMOUNT Don’t let it by default, set it manually and always start bid with smallest amount (1 rs.). You can vary your bid amount if you are not getting a good response than increase your amount by 1. If you put large amount than your daily budget will end soon…so always go smoothly and you will get a good result definitely.

What is Patent -O7 Services

What Is PATENT? Patent It is a set of exclusive rights granted by an intergovernmental organization to an inventor or assign for a period of time. It provides an enforceable legal right to prevent others from exploiting an invention. Right Conferred by Registration The invention cannot be commercially made, used, distributed or sold without the patents’ consent. Its rights can usually be enforced in a court of law. Who can apply for it? Business Owner              :  With an idea or product . Research Scientist          : With a new concept or formula . Professional (Employee) :  With new for software or business method. ME or PhD Holder            :   With research project. Student                              : With intent to learn more about patents and how they can protect your ideas The word “patent” continues to the most sought-after word in business, research and development community that is being searched over internet for more information and guidance .Possibly, you are influence by reading about it related news and the idea of owing intellectual property right for invention. The procedure of patent registration in India How to write your invention content Step1: Specification You have to keep the collection of your invention which specifies your invention properly, in simple words, specification is a description of your invention. Depending upon the sufficiency of the description a specification may be either provisional or complete specification. You can include these points in the description such as: Area of invention Description of the invention and what it does How does it work Advantages of the Invention Provisional and complete specification A provision specification is often the first application filed in respect of an invention, and usually contains only a brief description of the invention. It need not contain claim. Compared to provisional, complete specification contain full description of invention, it comprises background of invention, title, field of invention, drawbacks, advantaged, summary of invention, description of figures, claims, abstracts. Complete specification must be filled with in the 12 months from the date of filling of the provisional specification. Step2: Including diagram or sketches explaining invention It will play an important role in patent application .Because diagram makes your content easy to understand. Step3: Check your subject matter whether it patent-able Step4: Write patent application In case you are at very early stage in the research and development for your invention, then you can go for professional application. It gives following benefits: Secure filing date 12 months of time to file complete specification Low  Step5: Filling, publication and RFE The procedure for the grant of patent starts with filling of its application along with the prescribed fees at the patent followed by request for examination (RFE) in the prescribed format, after the publication of application. Upon receiving this request the controller gives your patent application to a patent examiner who examines the application with different patent ability criteria. Step6:  Respond to objection Application may be abandoned in the order to meet the objections. If the application does not comply with objection, the objection will be abandoned. After complying off the requirements the application is published in Official Journal Patent will be granted if the application of found to be in order. For this, best thing to do is analyzed the examination report with its professional and create a response to the objections raised in the examination report. Step7:  clearing all the objections The communication between the controller and patent application to ensure that all objections raised in the patent application are resolved. After that, inventors has fair chance to prove his point and established novelty and inventive step over existing prior art. After the application would be places in order for grant once it is found to be meeting all its ability requirements. The grant of patent is notified in its journal which is published time to time. The whole process takes at least 2 years. Duration : The tenure for patent is 20 years from the date if filing of the application for it before the patent office. It is the responsibility of the patentee to maintain as issued patent by paying the annuities until it expires. After 20 years the term the invention claimed in it falls into the public domain. Its Advantages You can rent it.  You can sell it.  You can stop others from using it without your permission. You can use it for your purpose. Indian Patent Office There are 4 Indian offices at the location: Chennai, Mumbai, Delhi, and Kolkata. Based on the address of the applicant, he can file an application for it in the appropriate patent office for his region.

07
September

Loopback Interface in GNS3 | How to create a Loopback Interface

Loopback Interface is a virtual interface which can be created on the routers. Since it is virtual, it is not dependent on any physical interface and hence is always up.

06
September

IP Address | Need of IP Address

IP Address-Introduction IP address allows one computer to communicate with another via the Internet. It provides a unique identity to billions of digital devices that are connected to the Internet. IP stands for “Internet Protocol“. So, IP Address is an Internet Protocol Address that is used to uniquely identify a device on the network. This is only because of this Address that two-way communication is possible on the network. This address is also known as Logical Address. It is a core component on which the networking architecture is built; no network exists without it. Basically, it is divided into 2 parts: The network part specifies which networks this address belongs to and The host part further pinpoints the exact location Why we Need it? This address provides an identity to a device. Just like we have home or business address supplying that specific physical location with an identifiable address, similarly devices on the network are differentiated from one another through IP Address. For Example: Whenever we want to place a call, we need Phone number of the other person. In the same way, we need Internet Protocol Address

06
September

What is Socket Programming | Socket Programming in Java

What is Socket Programming Socket Programming is becoming more and more popular among programmers. Socket provides the communication mechanism between two computers using TCP. When the connection is made, the server creates a socket object on the end of the communication. The client and the server can now communicate by writing to and reading from the socket. The java.net.Socket class represents a socket, and the java.net.ServerSocket class provides a mechanism for the server program to listen for clients and establish connections with them. ServerSocket Class Methods The java.net.ServerSocket class is used by server applications to obtain a port and listen to the client’s request. Socket Class Methods The java.net.Socket class represents the socket that both the client and the server use to communicate with each other. The client obtains a Socket object by instantiating one, whereas the server obtains a Socket object from the return value of the accept() method.

05
September

Server Operating System and Client Operating System

Server Operating System and Client Operating System have different features and they offer different set of privileges to their users. A Server Operating System is a type of Operating System that is designed and developed for Server Computer which is a high-end computer with advanced configurations. It is an advanced version of operating system having features and capabilities required within client-server architecture or similar enterprise computing environment.

Introduction to Operating System | Computer Operating System | Computer OS

A Computer Operating System or Computer OS is the most important program which is required to run a computer. Basically it is the first program which is loaded into the computer’s memory when it is turned on. Computer OS is required to manage the computer hardware and all the other programs that are installed on a computer which are known as Application Programs or Applications.

What is Search Engine

04
September

What Is Search Engine

What is Search Engine what is search engine: A search engine is a software program that uses user searches to retrieve information from the World Wide Web, acting as a bridge between users and the vast amount of online data by indexing web pages and returning relevant results. Understanding Search Engines and How They Work Search engines like a Google, Bing, and Yahoo. They provide answers to questions, study topics, and track websites. This post delves into the internal workings of these engines, their algorithms, and how they provide relevant results despite vast web content. How Search Engines Operate Web Crawling: Web crawling is the first step in the search engine process. Search engines use bots called spiders or crawlers to navigate and collect data from websites all across the Internet. Beginning with a few recognised pages, these bots follow links between pages, eventually forming a large network. They return to these web pages in their search index regularly to maintain it as current as feasible. Indexing: After web crawlers collect data from web pages, search engines produce an index – think of this index as a massive database containing information about the content and structure of web pages – allowing search engines to swiftly obtain relevant results when a search query is submitted. Ranking: When users input search queries into search engines, an algorithm analyses them and compares them to information in an index. Search engines utilise a variety of ranking elements to determine how relevant each web page is to a query, including keyword usage, content quality metrics, user engagement metrics, and website authority. Retrieval and Display: After rating websites based on relevancy, the search engine obtains and effectively displays its top results to the user. This entails picking appropriate snippets or descriptions for each result to give consumers a taste of its content before clicking through to view its whole. Algorithms for Search Engines Include Important Components Keywords are words or phrases that users type into a search bar, and search engines utilise these terms to analyse user intent and discover web pages with relevant information. If websites wish to appear on search engine results pages, they must use proper keyword optimisation. Quality of Content: Search engines prioritize websites with high-quality content, which must be useful, well-structured, and error-free to provide value to consumers and meet their needs. Backlinks and Authority: Backlinks (also known as inbound links or backlinks) are linked from other websites to your page that search engines employ to determine its authority; more authoritative backlinks result in higher search engine ranks. Mobile-Friendliness: Mobile device usage is increasing, leading search engines to prioritize mobile-friendly websites. Responsive and mobile-friendly websites rank higher in search results. Page Load Speed: Search engines favour websites that load quickly; slow-loading pages can contribute to poor user experiences and worse search rankings. Conclusion Search engines have revolutionized internet information retrieval by crawling, indexing, ranking, and returning relevant results. Understanding their workings enables website owners to optimize content, while consumers can fully utilize these tools, with search engines continuously improving algorithms.