Parameter is attribute of product like name, color, weight, size...
Each parameter can have several parameter values. Those values can be of different types. Based on their values, parameters are divided into following types:
boolean values like true/false, yes/no... stored in parameter_e
1) setup logging - same format for each application (later logs will be easier to process) 2) setup APM (check out i.e. remotedaemon_com golang app to see more)
What to do:
"es_user": "elastic", "es_pass": "change6", "app_environment": "dev", "apm_server": "http://10.0.15.34:8200"
How writing websocket works?
- User A is writing message
- Websocket data are sent throught WS server
- WS Server handles message and sent data to all users on channel
- User B receives data message
Format of message sent from User A:
type Message struct {
Action
ErrorRFC7807
always use it to define response from API, for precondition failed responses.
Example
$errors = $validator->validate($website);
if ($errors->count() > 0) {
$errorResult = [];
/** @var ConstraintViolationInterface $error */
fo
Preklady pre tabulky:
- vytvorim novu tabulky (napr. activityCategory)
- vytvorim tabulky (activityCategoryLocale)
- vytvorim Proxy triedu v Entity/Proxy
- pridam novu sekciu do CategoryTranslateCommand.php
stripe card: 4242 4242 4242 4242
cvc: any
date: future
1) API endpoint to download URL, input: websiteUrlID, then this is sent to rabbitmq, which will download URL and store information about downloaded URL to redis / mariadb. Input is array [2312, 31231, 312031], where elements are websiteURLIds, limited to 1000 elements? API is called with limited a
Redis usage
Redis database | What is stored there | Where to find |
---|---|---|
12 | Session | services.yaml (redis object, passed to RedisSessionHandler) |
4 | Doctrine Cache | cache.yaml |
5 | PubSub | nightfoxy writer command |
7 | HTML Cache | c |
Kluc je website_ Je v nom ulozena kompletna informacia o websites (https statusy, pocet requestov, priemerna dlzka odozvy).
type RedisInfo struct {
Statuses map[int]int `json:"statuses"`
AvgResponseTime int `json:"avg_response_time"`
TotalRequestCount int
Used to notify users in "realtime" (now with redis, later with rabbitmq probably).
Structure of data stored in redis:
return [
'type' => $this->type,
'userId' => $this->userId,
'data' => json_encode($this->data)
];
With key of format