Jednoduché použití APCu cachování ve Vašich projektech a triviální DDOS “ochrana” (PHP)

Simple APCu caching in your Project & nonCDN BruteForce protection

I beca­me obsessed with RAM caching and i try to keep pushing eve­ry sin­gle mil­li­se­cond down. (Whi­le tal­king about thou­sands of requests per second, eve­ry mil­li­se­cond mat­ters). Here is an exam­ple of caching rare­ly chan­ging json file. I tried to keep it cle­an for rea­da­bi­li­ty when quick­ly loo­king throu­gh code and as quick as possi­ble (per­for­man­ce).

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *