Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników

Znaleziono wyników: 4

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

help Ogranicz wyniki do:
first rewind previous Strona / 1 next fast forward last
EN
Every non trivial application cooperates with database, usually of relational type. In most cases this cooperation decreases the performance. The fastest, but not too handy, way to access a relational data from an object application is SQL. As alternative one can use object-relational mapping and/or object or NoSQL database. Object database paradigm is the same as object application uses. This makes it possible to avoid characteristic concept dualism (so-called impedance mismatch) and resulting from this need to transform relations into objects and vice-versa. This article presents an attempt to use ORM and object database to increase performance of accessing relational database.
PL
Każda nietrywialna aplikacja współpracuje z bazą danych, zwykle typu relacyjnego. W większości przypadków konieczność tej współpracy obniża wydajność. Najszybszym, choć nie najwygodniejszym sposobem dostępu do relacyjnych baz danych jest język SQL. Jako alternatywę można wykorzystać narzędzia mapowania obiektowo-relacyjnego (ORM) i/lub obiektowe bazy danych lub bazy NoSQL. Paradygmat obiektowych baz danych jest taki sam jak obiektowej aplikacji. Pozwala to na uniknięcie swoistego dualizmu pojęć (tzw. niedopasowania impedancji), a co za tym idzie – konieczności transformacji relacji na obiekty i vice-versa. Niniejszy artykuł przedstawia próbę wykorzystania narzędzi ORM i obiektowej bazy danych do zwiększenia wydajności dostępu do relacyjnej bazy danych.
EN
In human-computer interaction, response time is assumed generally not to exceed significantly 1-2 seconds. While the natural competition in the Internet public Web serving ensures adhering widely to such limits, some Web environments are less competitive and offer much worse user experience in terms of response time. This paper describes a solution to significantly improve user experience in terms of response time with only modification to the user interface, by caching key pieces of data needed for quick browsing, during some tasks performed by humans.
PL
Pożądany czas odpowiedzi systemu komputerowego przyjmuje się często w przedziale do 1-2 sekund. Konkurencja wymusza zachowanie tego czasu przez organizacje prowadzące publiczne strony WWW. Techniki Web stosowane są jednak także jako część większych rozwiązań czy złożonych produktów, gdzie konkurencja nie wpływa tak bezpośrednio na utrzymywanie krótkiego czasu odpowiedzi i jest on często dłuższy. W artykule opisano rozwiązanie polegające na stworzeniu dodatkowego interfejsu użytkownika z cache, który pozwala znacząco skrócić czas odpowiedzi dla predefiniowanych zadań użytkownika.
3
Content available Obliczeniowe szacowanie czasu wykonania programu
PL
Określenie czasu wykonywania programu poprzez jego uruchomienie nie zawsze jest możliwe w zagadnieniach praktycznych, przykładowo w kompilacji iteracyjnej, ze względu na duże wydłużenie czasu tworzenia oprogramowania. Jednakże w wielu sytuacjach nie ma potrzeby dokładnego określenia tego czasu; wystarczyłoby go oszacować. W niniejszym artykule przedstawiono propozycję sposobu obliczeniowego szacowania czasu wykonania programu w oparciu o samą postać jego kodu źródłowego i znane parametry środowiska sprzętowego.
EN
The program execution time is one of criteria which are taken into account during assessment of widely comprehended software quality. The general purpose is to make program execution time as short as possible. The program execution time depends on many, very different, factors. The most obvious of these are: the form of its source code and the hardware environment in which the program is executed. In practice, even a very minor change in the form of the source code of a program can result in a significant change in its execution time. The same effect can be caused by a slight change in the values of hardware parameters. Although the interpretation of program execution time as a quality assessment criterion is very simple, it is sometimes very difficult to precisely measure program execution and taking necessary measurements requires running the program. However, there is very often no need to know this time precisely; it would be sufficient to estimate it with some error which is known in advance. The paper presents - using the matrix multiplication problem for reference - a proposal of a method which can be used for estimating the execution time of a program, based only on its source code and a priori known hardware parameters. The idea of the proposed method is to elaborate a mathematical model combining statistical approach and the Wolfe's method for calculating data locality. The paper discusses the results of using the elaborated model on a control sample and indicates directions of further works.
PL
Krytycznym czynnikiem warunkującym wydajność obliczeniową oprogramowania jest lokalność dostępu do danych. Dlatego oczekuje się od narzędzi kompilacji automatyzacji procesu przekształcenia nieoptymalnego kodu do postaci charakteryzującej się wysoką lokalnością danych. W artykule przedstawiono podejście pozwalające na oszacowanie lokalności danych programów na podstawie kodu źródłowego w języku ANSI-C. Omówiono wyniki przeprowadzonych badań eksperymentalnych oraz wskazano kierunki dalszych prac.
EN
Good data locality, comprehended as such placement of program data in memory that program data requested by the processor are available immediately on demand, is a critical software requirement for achieving high efficiency in data processing. One of the ways to achieve good data locality is to transform source codes at the compilation stage so as to improve their usage of the cache memory and, thus, fully benefit from the concept of memory hierarchy. Modern compilers are expected to carry out this kind of optimization automatically, by adopting relevant transformations. In order to select the transformation which is best for this purpose for a given source code, the compiler should be able to compare, from this point of view, the available transformations and indicate the one that produces a semantically identical code of the shortest execution time possible. The paper briefly describes Wolfe's method of esti-mating data locality based on calculations carried out directly on the source code under analysis, without any need to carry out time consuming compilation of the source code to its executable form and to collect memory access metrics at run time. The paper also presents in outline how the authors implemented in C++ a software module estimating data locality for ANSI-C source codes based on Wolfe's method. The paper discusses the results of adopting the proposed approach to some selected source codes and indicates directions of further works.
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ć.