
annotating the internet
archivebay
Latest

Web Development and Software Engineering - dracoblue.net
Are you over 18 and want to see adult content?
Text
Got it!
This website uses cookies to ensure you get the best experience on our
website More info
Cookie Consent plugin for the EU cookie law
DRACOBLUE.NET
* projects
* downloads
* about
SHUTDOWN GTAT.ORG
In 2002 I started an online game (based on Grand Theft Auto III),
which became a successful multiplayer gamemode and finally transformed
to a samp game mode in 2006 and is still alive and beeing played by
thousands of users every month.
Now after 16 years it's time to say goodbye. The site will shutdown on
20TH OF MAY 2018. All data will be removed and destroyed.
Continue reading ...
In gdpr , gtat by DracoBlue @ 06 May 2018 | 274
Words
USE ENVIRONMENT VARIABLES FOR PHP.INI SETTINGS IN DOCKER
If you use the official docker image for php and want to modify e.g.
max_post_body_size, you might come to the conclusion that adding a
custom php.ini might be the only solution.
In terms of the 12factor app manifest , this is
kind of disappointing, since they promote usage of environment
variables for deployment specific configuration.
When trying to enable my php application to be configurable like this,
I found multiple ways how to make this possible and want to share
those with you.
Continue
reading ...
In 12factor , docker , docker-compose
, open source , php ,
symfony by DracoBlue @ 09 Oct 2017 | 534 Words
PERF-BOOST (+85%) FOR SF/COMPOSER PROJECTS IN DOCKER
Today I was working on a php development environment using docker on
MacOSX (you might run into the same problems on windows, too!). The
osxfs in Docker for
Mac is painfully slow and the company behind docker is actually aware
of that. At #77 they
track the issue at docker-for-mac right now. At the time of writing
the ticket is still open.
If you happen to use symfony as PHP framework or in particular
composer as package manager for php projects, you end up with a very
big directory called vendor.
In symfony standard edition
I am counting 10259 files
and folders.
For this blog post I put a vanilla symfony 3.2.7 project at
DracoBlue/symfony-composer-docker-performance-test
.
With this commit
I added a docker-compose.yml and a nginx.conf to run app.php on
http://app.locahost.me:8080 and app_dev.php on
http://dev.locahost.me:8080.
If you run a quick benchmark against app_dev.php:
$ ab -n 1000 -c 16 http://dev.localtest.me:8080/
Concurrency Level: 16
Time taken for tests: 319.303 seconds
Complete requests: 1000
Failed requests: 0
Requests per second: 3.13 (mean)
Time per request: 5108.845 (mean)
Time per request: 319.303 (mean, across all concurrent requests)
Transfer rate: 131.33 received
you end up with response times for a vanilla symfony project of round
about 319ms.
The app.php:
$ ab -n 1000 -c 16 http://app.localtest.me:8080/
Concurrency Level: 16
Time taken for tests: 86.140 seconds
Complete requests: 1000
Failed requests: 0
Requests per second: 11.61 (mean)
Time per request: 1378.234 (mean)
Time per request: 86.140 (mean, across all concurrent requests)
Transfer rate: 54.50 received
looks better (86ms), but is not very convenient for development.
Let's tune this with a simple trick down to 46ms (-85%) for
app_dev.php and down to 9ms (-88%) for app.php.
Continue
reading ...
In docker , docker-compose , lsyncd
, open source , symfony by
DracoBlue @ 07 Apr 2017 | 1406 Words
HANGING SUBREQUESTS IN NGINX
While I was working on lua-native-ssi-nginx
(an opinionated
lua replacement of nginx's ssi directive), I ran into the following
issue:
> The proxy_pass requests seemed to hang (or lock) as soon as the
> response was too big.
Even with nginx in debug mode, I could only see this in the error.log:
2016/10/08 10:47:19 31895#0: *1337 http upstream request: "/sub-request?"
2016/10/08 10:47:19 31895#0: *1337 http upstream dummy handler
2016/10/08 10:47:19 31895#0: *1337 http upstream request: "/sub-request?"
2016/10/08 10:47:19 31895#0: *1337 http upstream dummy handler
2016/10/08 10:47:19 31895#0: *1337 http upstream request: "/sub-request?"
Continue reading ...
In lua , nginx , open source by
DracoBlue @ 09 Oct 2016 | 241 Words
REVIEW: BUILDING MICROSERVICES
* TL;DR: Recommended? AWESOME! ⭐️⭐️⭐️⭐️⭐️
* Buy at Amazon:
* .com
* .de
* .co.uk
When Sam Newman's book (280 pages) on microservices was released in
the first month of january 2015, I was already reading a preview
edition for some weeks. Having the book as paper version next to my
desk, let's me open it once in a while to find a good example for a
concept or a piece of software for my microservices day work.
The book is not about indepth knowledge about every part of hosting
lots of little connected systems, but gives such an awesome overview
about all parts, that I can encourage everybody maintaining or
creating systems and libraries to read this book!
Continue reading ...
In consul , java , microservices
, nodejs , read , soa
, spring-boot by DracoBlue @ 10 Jun 2016 |
547 Words
Page 1 - Page 2
RECENT FILES
* SA-MP Client 0.3.7 2072916x
* SA-MP Server 0.3z R4 190963x
* Spludo 1.0.3 3206x
* PhpDebugToolbar 1.3.0 1491x
* YtMooPlayer.js 1.0.1 2044x
ADVERTISEMENT
RECENT DEV-ARTICLES
* Shutdown gtat.org
* Use Environment Variables for php.ini Settings in Docker
* Perf-Boost (+85%) for SF/Composer Projects in Docker
* Hanging subrequests in Nginx
* Building Microservices
READ RECENTLY
* 10 Jun 2016 | ⭐️⭐️⭐️⭐️⭐️
Building Microservices
* 31 Mar 2016 | ⭐️⭐️⭐️⭐️⭐️️
Spring Data JPA Reference
* 10 Nov 2015 | ⭐️⭐️⭐️⭐️⭐️️
Spring Boot Reference
ABOUT
* Contact
* Commercial Support
* Git Hub
* Youtube Profile
* Del.Icio.us
BLOGROLL
* DailyJS
* V-dogg
* Wombert
* Graste
* Lwndr
* Y_Less
Valid HTML 5
Valid CSS 3
Copyright © 2000-2020 DracoBlue.net |
Imprint | Disclaimer | Privacy
Policy
Source
Details
More Annotations

Concordia - Partnerships for Social Impact
Are you over 18 and want to see adult content?

Tickets with No Service Charge or Fees. Free Shipping on All Tickets!
Are you over 18 and want to see adult content?

Broadcast Supply Worldwide -Equipment for Radio Broadcasting and Audio Recording - BSWUSA.com
Are you over 18 and want to see adult content?

Single Board Computers, Embedded Board, Industrial PC, IPC - AAEON - AAEON
Are you over 18 and want to see adult content?

Energie Vergelijken- Dé beste deals (2020) op Energievergelijk
Are you over 18 and want to see adult content?

Recetas fáciles, que siempre salen bien, y con las mejores fotografías.
Are you over 18 and want to see adult content?

DJDeals.com Professional DJ Equipment, DJ Lighting, Pro Audio Store
Are you over 18 and want to see adult content?

Nearsoft • Grow your Software Development Team
Are you over 18 and want to see adult content?