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 |
| 7 | HTML Cache | cache.yaml |
| 8 | Temporary store for webs
Kluc je website_ Je v nom ulozena kompletna informacia o websites (https statusy, pocet requestov, priemerna dlzka odozvy).
type RedisInfo struct {<br />
Statuses map[int]int `json:"statuses"`<br />
AvgResponseTime int `json:"avg_response_time"`<br />
TotalRequestCount int
Used to notify users in "realtime" (now with redis, later with rabbitmq probably).
Structure of data stored in redis:
return [<br />
'type' => $this->type,<br />
'userId' => $this->userId,<br />
'data' => json_encode($this->data)<br />
];<br />
```<br />
With key of format
directory_sizes.sh
- sizes of different directories
supervisor_process_sizes.sh
- memory size of supervisor process
goaccess_domain_daily.sh
- number of unique visitors, bandwidth, unique files, total request count for my websites.
files are stored into:
/var/lib/node_exporter
expo
Pri upgrade ES treba pozriet:
1) funguje niftycent.com
2) funguje levnobot.cz
- zoznam ludi, ktori su v danom meste
- zoznam sluzieb, ktore ludia ponukaju
- zoznam pracovnych ponuk
- zoznam skupin
- zoznam obrazkov, ktore boli nahrane v okoli
RabbitMQ consumers
Pouzivane na priebezne spracovanie dat. Bezia pod supervisorom (@see 06_supervisor.yaml).
Kazdy consumer je zdedeny od ConsumerBase class.
Zoznam aktualnych consumerov: