-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DDEV-1965 octane swoole tables storage
- Loading branch information
Vadim Davydenko
committed
Nov 14, 2024
1 parent
d8caade
commit 3496205
Showing
4 changed files
with
619 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Octane Swoole Tables | ||
|-------------------------------------------------------------------------- | ||
| | ||
| While using Swoole, you may define additional tables as required by the | ||
| application. These tables can be used to store data that needs to be | ||
| quickly accessed by other workers on the particular Swoole server. | ||
| | ||
*/ | ||
|
||
'tables' => [ | ||
'gauges:1000' => [ | ||
'meta' => 'string:10000', | ||
'valueKeys' => 'string:10000', | ||
], | ||
'gauge_values:100000' => [ | ||
'value' => 'float', | ||
], | ||
|
||
'сounters:1000' => [ | ||
'meta' => 'string:10000', | ||
'valueKeys' => 'string:10000', | ||
], | ||
'сounter_values:100000' => [ | ||
'value' => 'float', | ||
], | ||
|
||
'summaries:1000' => [ | ||
'meta' => 'string:10000', | ||
'valueKeys' => 'string:10000', | ||
], | ||
'summary_values:100000' => [ | ||
'labelValues' => 'string:10000', | ||
'sampleTimes' => 'string:10000', | ||
'sampleValues' => 'string:10000', | ||
], | ||
|
||
'histograms:1000' => [ | ||
'meta' => 'string:10000', | ||
'valueKeys' => 'string:10000', | ||
], | ||
'histogram_values:100000' => [ | ||
'value' => 'float', | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.