Title: servers can disable info caching · Issue #65 · hapi-server/server-java · GitHub
Open Graph Title: servers can disable info caching · Issue #65 · hapi-server/server-java
X Title: servers can disable info caching · Issue #65 · hapi-server/server-java
Description: The new CDAWeb server has a cache of info responses calculated already, so it is unproductive to cache them in the server-java info cache. Further, an initial attempt at disabling this caching showed there are errors in how this is imple...
Open Graph Description: The new CDAWeb server has a cache of info responses calculated already, so it is unproductive to cache them in the server-java info cache. Further, an initial attempt at disabling this caching show...
X Description: The new CDAWeb server has a cache of info responses calculated already, so it is unproductive to cache them in the server-java info cache. Further, an initial attempt at disabling this caching show...
Opengraph URL: https://github.com/hapi-server/server-java/issues/65
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"servers can disable info caching","articleBody":"The new CDAWeb server has a cache of info responses calculated already, so it is unproductive to cache them in the server-java info cache. Further, an initial attempt at disabling this caching showed there are errors in how this is implemented, where two simultaneous threads can step on one another's work.\n\nI've kludged in a control where infos can indicate that they should not be cached, using the json tag \"x_info_caching\" which should be set to false when files in /tmp/hapi-server/info should not be created. This will probably change!\n\nThe Linux command \"ab\" shows where there are issues:\n\n```\nab -v 3 -n 50 -c 50 \"http://localhost:8280/HapiServer/hapi/info?dataset=AC_OR_SSC\u0026parameters=XYZ_GSE\" \u003e ~/tmp/20250508/ab.log\n```\n\nThe problem with multiple threads is fixed by writing to a temporary file and then moving the file into position in /tmp/hapi-server/info. There may be additional issues which show with stress testing, and this should be done. However in the CDAWeb case, there is no need to cache, and when caching is disabled, files should not be created here.\n","author":{"url":"https://github.com/jbfaden","@type":"Person","name":"jbfaden"},"datePublished":"2025-05-08T13:11:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/65/server-java/issues/65"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d1ed8e3-c769-0944-743b-cab9fdb024ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BF6:11EE4:427AB4:5E813C:6A4E6C94 |
| html-safe-nonce | a3a6044281dcac0cb29dc268e5b47535a1f01d4d430d25080129668b44fa6b81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkY2OjExRUU0OjQyN0FCNDo1RTgxM0M6NkE0RTZDOTQiLCJ2aXNpdG9yX2lkIjoiNTY5OTQwMjAyMzI5NDg4ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 426bfea01383335cd7a743fe7b732d4f8411ca3582217d550ae8810a90f47a66 |
| hovercard-subject-tag | issue:3048965510 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hapi-server/server-java/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69a58547fd02490d7f4009830f08d0430fd70ba2c8ed6eb16491e3c2f86c116d/hapi-server/server-java/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69a58547fd02490d7f4009830f08d0430fd70ba2c8ed6eb16491e3c2f86c116d/hapi-server/server-java/issues/65 |
| og:image:alt | The new CDAWeb server has a cache of info responses calculated already, so it is unproductive to cache them in the server-java info cache. Further, an initial attempt at disabling this caching show... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jbfaden |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/hapi-server/server-java git https://github.com/hapi-server/server-java.git |
| octolytics-dimension-user_id | 22482204 |
| octolytics-dimension-user_login | hapi-server |
| octolytics-dimension-repository_id | 467941846 |
| octolytics-dimension-repository_nwo | hapi-server/server-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 467941846 |
| octolytics-dimension-repository_network_root_nwo | hapi-server/server-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width