I have a serious problem with the foxx custom application.
The application is an individual algorithm for finding a path in a graph. It is optimized for public transport. In init, it loads all the necessary data into a javascript variable, and then passes through them. This is faster than accessing db every time.
When I first access through the api application, it is fast, for example. 300ms But when I make the exact same request a second time, it is very slow. eg. 7000ms.
could you help me? I do not know where to look for errors.
, .
№1: .
ArangoDB , init Foxx, . , , arangod. , .
# 2: JavaScript
ArangoDB , , Foxx , , . Foxx, . JavaScript - , , , ( init). . JavaScript , . , .
( , -server.threads) JavaScript , .
Source: https://habr.com/ru/post/1535912/More articles:Handling null XElements while parsing an XDocument - c #How to check if a session is established or not in Codeigniter? - htmlBack button to disable after logout - javascriptangular filter that converts date and time into one formatted string - javascriptDesign patterns - data for an object - javaCompiling Libical for arm64 and x86_64 for iOS - iosGroovy 2d arrays - multidimensional-arrayHow to get the next turning point from google map - (Android) - androidContinuous decrease in accuracy of the maxmind geolithic city - geoipUnique RegEx string - regexAll Articles