Skip to content

Instantly share code, notes, and snippets.

View gempark's full-sized avatar

Johan gempark

View GitHub Profile
@gempark
gempark / gist:966c98658878c273f587eaecb3e764f7
Created January 1, 2024 13:15
Magento 2 performance tuning
Ref: https://experienceleague.adobe.com/docs/commerce-operations/performance-best-practices/software.html
1/ PHP (php.ini)
memory_limit=1G
- Realpath_cache configuration
realpath_cache_size=10M
realpath_cache_ttl=7200
1/ Building PHP Extension with Rust for Fun and Profit
https://ahmadrosid.com/blog/create-php-extension-with-rust
2/ A C++ library for developing PHP extensions
https://www.php-cpp.com/
3/ Getting Started with PHP Extension Development via PHP-CPP
https://www.sitepoint.com/getting-started-php-extension-development-via-php-cpp/
4/ PHPER (PHP Enjoy Rust)
1/ REST API Server with c++
https://yairgadelov.me/rest-api-server-with-c-/
https://github.com/yairgd/rest_server
@gempark
gempark / gist:bc429a5e39ad49cdf0f2d2bbcd93bf9f
Created January 1, 2024 12:56
Best Golang web frameworks
1/ Buffalo - Bringing the productivity of Rails to Go!
https://gobuffalo.io/documentation/getting_started/installation/
2/ Revel - High-productivity web framework for the Go language.
Github: https://github.com/revel/revel
Examples: https://revel.github.io/examples/booking.html
3/ Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Github: https://github.com/gin-gonic/gin