Just another web 3.0 blog :: prev - next

--- Climate change actions ---

Here are ways to fight back climate change .. - Jeff Bezos gaved 7.7% of his wealth in order to fund various climate change actions, but no one knows what's really happening with those fundings .. Hence we'll focus here on the main human fingerprint reducing ( energy production based ) First mission : promote nuclear fusion development - if we compare the fundings towards banks in the crisis of 2008, and coronavirus banknote pritings which led to massive bitcoin value increase, whose mining process isn't ecologic at all .. with the same funding, that goal would have been achieved in the seventees .. meaning there wouldn't be at all fossil fuel and coal based global warming at all since 50 years ... ( that goal could be achieved in Civilization Games series for example .. ) Secondary mission : if no one wants to see that goal achieved there's a cheaper alternative : Molten Salt tiny reactors ( saying nuclear often frightens people .. ), but this provides us at least 1000 years of clean fuel for all your 7 bilion people various usages .. Third mission : is to prevent deforesting at maximal levels .. protecting rainforest is the main priority here since planetary lungs are still being destroyed right now 4th) Preventing fuel usages / reducing transportation and various energy usage : what about massive diesel usage in sea transportation .. are those goods and cruises that necessary ?? 5th) Promote various clean planetary geo-engineering based on their ROI, such as : plant trees ( some japanese trees are the most efficient greenhouse gazes traps ever ) - co2 entrapment chemistry at the very emission basis - cloud seeding yachts - paint it white ( albedo effect on urban areas )
Act for climate now
bitcoin:bc1qzazhnlx8n40mand5gztphy3yxpdlf6rxzzq9kp

--- 9 layers php cache for high performance websites ---

The way of optimizing most PHP Websites are pretty simple & don't require any expensive webserver to run heavy load applications. ( quiet a long time since I haven't written anything here, becuz I've just never had the time at all ... ) The first places to look for any optimizations are obvioulsy within the mysql queries & php code : as for year 2008, this blog upon a collocation host, took more than 83 sec to generate a page as 4 users online .. First step : implement a timer & debug functions ( as registered shutdown functions ) within your code & log them !! Here is the 9 layers PHP cache I've setup this far : 1 : Mysql results cache & mysql inner cache & mysql indexes **** 2 : Full page html cache expires in future + binded with 304 handler ( with inner codes to invalidate data from separate block suppressed with grep upon cron ) ***** ( you won't see them performing better if you put them in ram .. as the page's output will take the more time here .. that's why 304 has to be implemented here ) 3 : Opcode cache ( newer php version are faster, indeed )** 4 : JSON serialized data arrays served with 304 headers whetever or not the data has been modified ( upon invalidation ) *** 5 : Array based file cache in Ram ( includes redis, memcache ) *** 6 : Individual static html files cache for individual blocks 7 : 304 headers using browser own cache **** 8 : Reverse-proxy : consider using a cdn is the same effect here 9 : Cdn : cloudflare Then I'll demystify some legends : - Well configured apache performs better than NGINX ( AllowOverride Off, logging static files .. ) - Amazon t2.micro instance aren't so expensive after all and are quite fast !

Developpeur php Geneve - php - rando - trip - india - web - php - dev - eco - science - astro - shop - annecy - mea - climate - change - actions - ecology


0