Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników

Znaleziono wyników: 16

Liczba wyników na stronie
first rewind previous Strona / 1 next fast forward last
Wyniki wyszukiwania
Wyszukiwano:
w słowach kluczowych:  REST
help Sortuj według:

help Ogranicz wyniki do:
first rewind previous Strona / 1 next fast forward last
1
Content available remote Comparative Review of Selected Internet Communication Protocols
EN
With a large variety of communication methods and protocols, many software architects face the problem of choosing the best way for services to share information. For communication technology to be functional and practical, it should enable developers to define a complete set of CRUD methods for the processed data. The research team compared this paper’s most commonly used data transfer protocols and concepts: REST, WebSocket, gRPC GraphQL and SOAP. A set of web servers was implemented in Python, each using one of the examined technologies. Then, the team performed an automated benchmark measuring time and data transfer overhead for a set of defined operations: creating an entity, retrieving a list of 100 entities and fetching details of one entity. Tests were designed to avoid the results being interfered with by database connection or docker-compose environment characteristics. The research team has concluded that gRPC was the most efficient and reliable data transfer method. On the other hand, GraphQL turned out to be the slowest communication method of all. Moreover, its server and client libraries caused the most problems with proper usage in a web server. SOAP did not participate in benchmarking due to limited compatibility with Python and a lack of popularity in modern web solutions.
PL
W artykule przedstawiono porównanie wydajności trzech sposobów realizacji interfejsów programistycznych stosowa-nych w aplikacjach webowych – REST, GraphQL oraz gRPC. Na potrzeby badań opracowano trzy aplikacje, które zostały wykonane w każdej ze wskazanych technologii i o takich samych funkcjonalnościach. Aplikacje wykorzystano do testów wydajnościowych, przeprowadzonych z użyciem narzędzia k6. Aplikacje zastosowano do zmierzenia czasu wykonania, wydajności i objętości przetwarzanych danych podczas operacji wyświetlania oraz dodawania rekordów. Uzyskane wyniki pozwoliły na sformułowanie wniosku, że najlepszym interfejsem pod względem wydajności (mierzonych jako liczba wykonywanych transakcji na sekundę) oraz czasu odpowiedzi serwera jest REST. Natomiast pod względem najmniejszej objętości danych, najlepszym wyborem jest gRPC.
EN
The article presents a comparison of the performance of three ways of implementing programming interfaces used in web applications - REST, GraphQL and gRPC. For the purposes of the research, three applications were developed, which were made in each of the indicated technologies and with the same functionalities. The applications were used for performance tests carried out with the use of the k6 tool. The applications are used to measure the execution time, performance and volume of processed data during display and adding operations. The obtained results allowed for the conclusion that the best interface in terms of performance (measured as the number of transactions per second) and server response time is REST. However, in terms of the smallest data volume, gRPC is the best choice.
3
Content available Analiza porównawcza technologii REST i GraphQL
EN
The article presents a comparative analysis of the two most commonly used API web design standards - REST and GraphQL. The time and size of HTTP responses returned by applications were tested. Two applications with the same functionalities, performing CRUD operations, on data stored in the non-relational MongoDB database were used for the research. Both applications were based on NodeJS technology. The JMeter tool was used to collect and analyze the data. On the basis of the obtained results, it was found that there were no significant differences in reading the data with a small number of queries and when removing resources. With the increase in the number of queries, a clear advantage of the REST standard was observed. The advantage of GraphQL, both in response time and size, was demonstrated when retrieving specific data.
PL
W artykule przeprowadzono analizę porównawczą dwóch najczęściej stosowanych standardów projektowania internetowego API – REST oraz GraphQL. Badano czas oraz rozmiar odpowiedzi HTTP zwracanych przez aplikacje. Do badań wykorzystano dwie aplikacje o takich samych funkcjonalnościach, realizujących operacje CRUD, na danych przechowywanych w nierelacyjnej bazie MongoDB. Obie aplikacje stworzono w oparciu o technologię NodeJS. Do zebrania i analizy danych zastosowano narzędzie JMeter. Na podstawie otrzymanych wyników stwierdzono brak znacznych różnic w odczycie danych przy małej liczbie zapytań oraz podczas usuwania zasobów. Wraz ze wzrostem liczby zapytań zaobserwowano wyraźną przewagę standardu REST. Przewagę GraphQL, zarówno w czasie jak i rozmiarze odpowiedzi, wykazano w przypadku pobierania specyficznych danych.
EN
The aim of the study was to compare the performance of two data exchange styles commonly used in web applications, i.e. REST and GraphQL. For the purposes of the study two test applications were developed containing the same functionalities, one of which was REST and the other one was GraphQL. They were used for performance tests done with the help of the JMeter tool, during which measurements of the total processing time of requests and the volume of data downloaded and sent were performed. An experiment was developed that tested the basic operations found in most network services: display, add, update, and delete data. The most attention was devoted to the information display operation in the case of which load tests were done. On the basis of performed studies and obtained results, no differences in performance during the operation of adding, editing and deleting data by applications based on REST API and GraphQL were found. During the display operation under heavy load conditions and while downloading small portions of data, the service using GraphQL had a better performance. When downloading large portions of data, the REST-based service exhibited a higher performance.
PL
Zrealizowano badania, których celem było porównanie wydajności dwóch, szeroko stosowanych w aplikacjach webo-wych stylów wymiany danych REST i GraphQL. Na potrzeby badań opracowano dwie usługi testowe, zawierające te same funkcjonalności, z których jedna była serwisem REST, a druga GraphQL. Posłużyły one do testów wydajnościo-wych, przeprowadzonych za pomocą narzędzia JMeter, podczas których wykonywano pomiary całkowitego czasu przetworzenia żądań oraz wielkości pobieranych i wysyłanych danych. Opracowano eksperyment, w ramach którego testowano podstawowe operacje występujące w większości usług sieciowych: wyświetlanie, dodawanie, aktualizowanie oraz usuwanie danych. Najwięcej uwagi poświęcono operacji wyświetlania informacji, w przypadku której wykonano testy obciążeniowe. Na podstawie zrealizowanych badań i uzyskanych wyników nie stwierdzono różnic w wydajności podczas realizacji operacji dodawania, edycji i usuwania danych przez aplikacje oparte na REST API i GraphQL. Podczas operacji wyświetlania w warunkach dużego obciążenia i w przypadku pobierania małych porcji danych lepszą wydajność miała usługa wykorzystująca GraphQL. Natomiast w przypadku pobierania dużych porcji danych wyższą wydajność uzyskiwała usługa oparta na REST.
EN
The purpose of this article is to prepare a security analysis of authentication and authorization mechanisms in web applications based on the REST architecture. The article analyzes the problems encountered during the implementation of the JSON Web Token (JWT) mechanism. The article presents examples of problems related to the implementation of authorization and authentication, and presents good practices that help ensure application security.
PL
Celem artykułu jest analiza bezpieczeństwa mechanizmów uwierzytelniania oraz autoryzacji w aplikacjach internetowych zbudowanych w oparciu o architekturę REST. W artykule przeanalizowano problemy spotykane podczas implementacji mechanizmu JSON Web Token (JWT). W artykule podano przykłady problemów związanych z wdrożeniem autoryzacji i uwierzytelniania oraz przedstawiono dobre praktyki ułatwiające zapewnienie bezpieczeństwa aplikacji.
PL
W artykule przedstawiono wyniki przeglądu bibliotek na platformę Android, wspomagających integrację z usługami sieciowymi typu REST i SOAP. Przeprowadzono analizę wydajności i złożoności programów klienckich korzystających z najpopularniejszych rozwiązań. Metody badawcze oparto na autorskiej aplikacji mobilnej umożliwiającej symulację komunikacji asynchronicznej. Wynikiem badań jest analiza porównawcza bibliotek, ułatwiająca wybór adekwatnych rozwiązań.
EN
The article presents the results of a review of libraries for the Android platform, supporting the integration with REST and SOAP network services. An analysis of the performance and complexity of client programs using the most popular solutions. The research methods were based on the author's mobile application that enable the simulation of asynchronous communication. The result of the research is a comparative analysis of libraries, that facilitate the selection of adequate solutions.
PL
W artykule zostały zaprezentowane wyniki porównania efektywności i możliwości implementacji usług REST w języku Java przy użyciu frameworków takich jak Jersey, Apache CXF i Spring MVC. Analiza porównawcza została przeprowadzona na podstawie aplikacji zaimplementowanej za pomocą każdego z wymienionych frameworków. Aplikacja została zaimplementowana z wykorzystaniem takich narzędzi jak Spring Boot, Hibernate, Maven i MySQL.
EN
This article presents the results of a comparison of capabilities and efficiency of REST in Java using frameworks such as Jersey, Apache CXF and Spring MVC. Comparative analysis was conducted on the basis of application implemented by each of the above frameworks. Application have been implemented using technologies such as Spring Boot, Hibernate, Maven, and MySQL.
8
Content available Applicability analysis of REST and SOAP web services
EN
Web Services are common means to exchange data and information over the network. Web Services make themselves available over the Internet, where technology and platform are independent. These web services can be developed on the basis of two interaction styles such as Simple Object Access Protocol (SOAP) and Representational State Transfer Protocol (REST). In this study, a comparison of REST and SOAP web services is presented in terms of their applicability in diverse areas. It is concluded that in the past both technologies were equally popular, but during the rapid Internet development the REST technology has become the leading one in the area of access to Internet services.
PL
Usługi sieciowe są powszechnie stosowane do wymiany danych i informacji w Internecie. Usługi sieciowe nie zależą od użytej platformy sprzętowej oraz od oprogramowania. W niniejszym artykule zostały omówione dwie najpopularniejsze technologie tworzenia usług sieciowych: REST (ang. Representational State Transfer) i SOAP (ang. Simple Object Access Protocol). W trakcie realizacji badań przeprowadzono analizę stosowalności tych usług w różnych obszarach zastosowań. Stwierdzono że w przeszłości obie technologie cieszyły się porównywalną popularnością, lecz w momencie gwałtownego rozwoju Internetu technologia REST stała się technologią dominującą w zakresie dostępu do usług sieciowych.
PL
W artykule przedstawiono budowę układu wydechowego silnika spalinowego 1.2 TCe firmy Renault, współpracującego z autorskim systemem rekuperacji energii REST. W materiale zawarto obliczenia i modyfikacje towarzyszące implementacji systemu odzysku energii elektrycznej z układu wydechowego. Ponad to artykuł zawiera teoretyczne rozważania dalszych zmian i rozwiązań technicznych wpływających na sprawność i stabilność systemu.
EN
The design of the exhaust system of the 1.2 TCe engine from Renault, co-operating. With the original REST energy recuperation system. The material included the calculations and modifications accompanying the implementation of the exhaust gas recovery system. The article further contains further theoretical considerations. Changes and technical solutions that affect system efficiency and stability.
EN
Traditional computational models for enterprise software are still to a great extent centralized. However, rapid growing of modern computation techniques and frameworks causes that contemporary software becomes more and more distributed. Towards development of new complete and coherent solution for distributed enterprise software construction, synthesis of three well-grounded concepts is proposed: Domain-Driven Design technique of software engineering, REST architectural style and actor model of computation. As a result new resources-based framework arises, which after first cases of use seems to be useful and worthy of further research.
PL
W artykule omówiono zagadnienie usług sieciowych (ang. web services). Przedstawiono różne sposoby implementacji tych usług oraz zasygnalizowano korzyści płynące z ich stosowania. Poruszono temat bezpieczeństwa świadczenia usług w Internecie oraz ochrony własności intelektualnej. Zaprezentowano przykład wykorzystania usługi sieciowej w systemie przeznaczonym do oceny ryzyka eksploatacyjnego gazociągów SOREG®.
EN
In the article the issue of web services was discussed. Different methods of web services implementation and advantages of their usage were presented. The issue of security of web services in internet and intellectual property protection was discussed. The example of using web services in the risk assessment system of transmission gas pipelines was presented.
PL
Celem niniejszej pracy jest pokazanie różnych metod integracyjnych systemów informatycznych oraz koncepji SOA. Porównanie ich wymagań w stosunku do SOA oraz przedstawienie czy SOA spełnia te wymogi i jak je realizuje.
EN
The aim of this work is to show different integration methods of IT systems with SOA conception. Compare their requirements to SOA and present if SOA meets these requirements and how implement them.
13
Content available REST API safety assurance by means of HMAC mechanism
EN
The HMAC mechanism that enables authentication REST services and assures their integrity, non-repudiation and confidentiality, has been presented in this article. A demonstration Restful API has been implemented using Slim Framework, in which several endpoints for login, test route available only for registered users and authenticated by means of HMAC mechanism, have been assigned. The solution proposed here suggests an alternative that is easy to implement compared to other well-known methods of authentication and authorization.
PL
Współczesne rozwiązania biznesowe bazują na rozproszonej infrastrukturze informatycznej opartej o WEB SERVICES. Stosowanie rozwiązań mobilnych jest coraz bardziej powszechne niemalże we wszystkich obszarach prowadzonej działalności. Zastosowanie nawet powszechnych rozwiązań mobilnych przy wykorzystaniu dedykowanych protokołów komunikacyjnych pozwala stworzyć narzędzia niezawodne, szybkie i nie wymagające dużych mocy obliczeniowych, które zdecydowanie poprawiają przepływ informacji w przedsiębiorstwie.
EN
Modern business solutions are based on distributed IT infrastructure which is founded on WEB SERVICES. Implementation of business solutions is more and more common within all disciplines of entrepreneurship. The simultaneous appliance of even common mobile solutions, as well as, usage of dedicated communication protocol enables to create reliable, fast and not requiring computing power which facilitate Information flow in enterprises.
15
Content available remote Towards a process calculus for REST: current state of the art
EN
SOA is a popular paradigm for building distributed systems that has gained a great recognition over past years. There are two main approaches to implementing SOA: SOAP-based and RESTful Web services. In order to address problems of modeling and verification of Web services, several process calculi have been proposed for SOAP-based Web services but none for the RESTful Web services based systems. This article is a comparative survey on existing process calculi for SOA systems, also the existing attempts to formalize REST systems are discussed. The aim of the article is to see how process calculi for SOAP-based systems deal with different aspects of their modeling domain, and whether their approaches can be used to model RESTful and ROA systems. Finally, basing on the survey, requirements for a new process calculus specific for REST are defined.
PL
Artykuł przedstawia analizę sygnałów wejściowych systemu REST oraz ich zastosowanie w poprawnym funkcjonowaniu struktury. W materiale ponad to przedstawiono infrastrukturę systemu oraz priorytety sygnałów wejściowych wraz z istotą ich współpracy z środowiskiem pojazdu samochodowego. Powyższa analiza jest podsumowaniem pierwszego etapu prac nad budową systemu zarządzającego układem mającego za zadanie rekuperować energię elektryczną bazującą na stratach wynikających z pracy silnika spalinowego pojazdu samochodowego.
EN
This article presents an analysis of the input signals REST system and their application to the proper functioning of the structure. The material above described system infrastructure and priorities for input signals with the essence of their interaction with the environment of a motor vehicle. The above analysis is a summary of the first phase of work on the construction of the system management system which aims to recuperate electricity based on losses resulting from the internal combustion engine vehicle.
first rewind previous Strona / 1 next fast forward last
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.