lukaszraczylo
da8ec5f21d
Add LRU cache support.
2025-12-03 10:22:33 +00:00
lukaszraczylo
39dc7b49cf
Improve caching by adding user ids and roles to hash.
2025-11-22 17:02:16 +00:00
lukaszraczylo
cedee416a8
improvements mid may 2025 ( #24 )
...
* General improvements and bug fixes.
* Improve tests coverage.
* fixup! Improve tests coverage.
* Update README.md with latest changes.
* Fix the uint32
* Resolve issue with race condition for logging.
* fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* Fix the test of the rate limiter
* Add default ratelimit.json file
* Update dependencies.
* Significant refactor.
* fixup! Significant refactor.
* fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
2025-09-30 18:27:33 +01:00
lukaszraczylo
6af5aefe54
Add tracing and relevant tests ( #21 )
...
* Add tracing and relevant tests.
* fixup! Add tracing and relevant tests.
* gofmt the code 🤷
* fixup! gofmt the code 🤷
2025-01-08 18:29:25 +00:00
lukaszraczylo
61d7a45d00
Update cache library, use miniredis for testing, add additional benchmarks. ( #14 )
...
Update cache library,
Update logging library,
use miniredis for testing, add additional benchmarks.
2024-06-19 23:10:36 +01:00
lukaszraczylo
e5b3eff1cd
Adjust field alignment.
2024-06-12 12:07:22 +01:00
lukaszraczylo
b2380c689b
Add cleanup of the event and invocation logs on timer.
2024-06-12 11:47:21 +01:00
lukaszraczylo
12e0294945
Add distibuted cache with Redis
2024-06-11 11:35:50 +01:00
lukaszraczylo
e495cf23d9
Read only endpoint support ( #10 )
...
* This change introduces ability to set additional endpoint leading to the
instance of the graphql server connected to the read only database.
If regular query is detected and endpoint for `HOST_GRAPHQL_READONLY` value is set,
the query will be proxied to it. Mutations and non-graphql will be sent
to the `HOST_GRAPHQL` endpoint.
2024-03-12 11:16:35 +00:00
lukaszraczylo
b19b17b7c4
Realign the structs to decrease memory footprint.
...
Add the timeout settings to address the connection drops.
2023-12-14 17:16:38 +00:00
lukaszraczylo
105c624426
Add purging metrics on timer.
2023-11-17 13:47:54 +00:00
lukaszraczylo
0b642f8be1
Add ability to reset metrics between crawl to limit payload absorbed ( #5 )
...
by the prometheus/victoria metric crawlers.
2023-11-16 16:45:48 +00:00
lukaszraczylo
3d70018179
Add configurable timeout for queries.
2023-10-24 10:40:17 +01:00
lukaszraczylo
35e6069f5e
Add the healtcheck checks on the end server.
2023-10-19 15:43:49 +01:00
lukaszraczylo
92359c1114
Cleanup pt 1 ( #4 )
...
* Disable startup headers.
* Add banning / unbanning of specific user.
2023-10-19 14:36:16 +01:00
lukaszraczylo
2a0302ab75
Create allow list for event when intospection is blocked but developers
...
really want to use certain subqueries.
2023-10-15 10:01:23 +01:00
lukaszraczylo
dbd005bdcf
Remove external library dependency, use homebrewed cache instead.
2023-10-13 15:22:47 +01:00
lukaszraczylo
bf9ec2c877
Reuse fasthttp client
2023-10-12 21:16:57 +01:00
lukaszraczylo
815a6841ed
Add ability to set up allowed paths for proxying.
2023-10-12 14:12:03 +01:00
lukaszraczylo
1a3628837f
Extract helper libraries from private repo of telegram-bot.app
2023-10-10 22:16:50 +01:00
lukaszraczylo
51dfc8d9be
Add ability to look for the role in header.
2023-10-10 19:48:56 +01:00
lukaszraczylo
7de1cf7cc7
Add read only mode to block all the queries with mutations.
2023-10-10 19:26:36 +01:00
lukaszraczylo
ac44056a00
Add role ratelimit ( #1 )
...
* Add ratelimit configuration.
* Add rate limiting :party:
2023-10-09 17:46:50 +01:00
lukaszraczylo
743eed7f71
Add ability to enable / disable access log.
...
In high frequency environments it can be a little bit noisy.
2023-10-09 17:46:50 +01:00
lukaszraczylo
3ac7c115aa
Blocking introspection queries.
2023-10-08 18:07:24 +01:00
lukaszraczylo
8673f1caf8
Remove println and replace it with our logging
2023-10-07 14:13:29 +01:00
lukaszraczylo
39d3afdd05
Initial commit.
2023-10-07 11:14:20 +01:00