Posts by BrenoZan • 601 points
13 posts
-
9
votes3
answers21331
viewsA: Insert image into database
as already mentioned, one can use BLOB and LONGBLOB, but DON’T DO THIS. There are several and diverse temptations whether to store images in databases, such as: TEMPTATIONS - backup facility -…
-
0
votes5
answers2395
viewsA: Strategy to find out if your web application is being partially or fully censored by an ISP
Infrared view: Only in the case of content partially blocked, could count the views of valid browsers and cross-reference with the access reference of the other data. for example: an image is only…
-
1
votes4
answers1358
viewsA: Conceptual database and file backup strategy
Like infrastructure analyst and not DBA I will suggest solutions bank structural backup which in general are used in real disasters, solutions which I have already successfully implemented many…
-
3
votes3
answers171
viewsA: Is it possible for two applications to communicate in an Ad-Hoc network?
Yes, as long as you don’t need the Internet or one of the hosts acts like gateway...
-
1
votes5
answers2656
viewsA: How to manage a Sqlite connection between multiple simultaneous threads?
I strongly recommend using an external queue (There are several solutions ready for this) for continuous insertion... and separating a single thread for consuming function... will not generate lock…
-
9
votes1
answer589
views -
3
votes1
answer3748
viewsA: How to create automatic subdomains from a form?
Allowing apache to create folders... of dynamics this is the best because internal paths are fixed alone, without impact to php for example...…
-
4
votes2
answers1761
viewsA: Exchange impact - Myisam for Innodb
Like everything in almost everything "Depends" Myisam is faster to linear consultations and has very few checks on Inserts and updates, making more quick to write. Innodb is much more robust and…
-
2
votes4
answers262
viewsA: How to implement journaling in Python?
Create a journaling based on filesystem files. I suggest using an epoch-based nomenclature... Writing and deleting items at once is always safer than manipulating them thousands of times. Journaling…
-
3
votes3
answers3827
viewsA: How to publish applications done in Node.js
you will need to create a service start script using the packages cited by @Cigano #!/bin/bash JSHOME=/opt/homeapp #home de suas apps.. DIR=$JSHOME/js/ #diretorio dos apps…
-
4
votes3
answers611
viewsA: How to ensure that a service is always running on Centos?
look for Monit, a simple and functional orchestrator: example of config: check process meuapp with pidfile /var/vcqescolhe/app.pid start program = "/etc/init.d/app start" uid 500 gid 499 stop…
-
3
votes2
answers3169
viewsA: Wordpress plugin for uploading large files
It’s a pretty atypical situation, so you won’t have much guarantee anyway. I would create a rule to increase the max_upload_size only in the logged in user session with ini_set in the login process.…
-
2
votes2
answers960
viewsA: How to make Nginx display error messages on screen in the same way as Apache does instead of '502 bad gateway'
can do several ways error_page 502 /arquivo502.html or forward the call to a pseudo Location and handle by the application error_page 502 @teste location @teste { <faça o que quiser aqui> }…