Comments (3)
HOW to test the socket:
http://stackoverflow.com/questions/19746230/how-to-do-tornado-httpserver-with-bind-unix-sock
from firenado.
Flávio,
Você vai usar unix sockets para comunicar com app de gerenciamento do
firenado? Seria para comunicar com que aplicação na mesma máquina? Ou
implementou para controle de acesso ao socket?
2016-01-28 2:58 GMT-02:00 Flavio Garcia [email protected]:
Closed #38 #38 via 8023e36
8023e36
.—
Reply to this email directly or view it on GitHub
#38 (comment).
from firenado.
Quando a aplicação é inicializada ouvindo uma porta, toada a comunicação entre o seu webserver ou reverse proxy é via tcp, e vários handshakes são executados internamente. Em um site bastante congestionado isto pode impactar na carga e performance.
Utilizando um unix socket estes handshakes de tcp não existem, e teoricamente, há uma melhora na performance da sua aplicação.
Isto é uma escolha técnica do administrador da aplicação.
Com esta funcionalidade é possível mudar o comportamento via arquivo de configuração.
Se o socket for definido na sessão app, a porta é ignorada e a aplicação é inicializada com um unix socket.
from firenado.
Related Issues (20)
- Rename data.served_by to data.with_service
- Monkey patch pexpect async until official fix on a release
- Revert pexpect async monkey patch
- Remove WebUtilHandler
- Convert DataConnectedMixin to Protocol
- Add python 3.12 to the compatibility list
- Create pure database connections data sources
- Addresses parameter was overriding port in ProcessLauncher
- Move from argparse to taskio
- Handle authorization
- Package project using the build module HOT 1
- Create watch command to provide (auto reload) HOT 2
- Create a TornadoLoader test case
- Create a ProcessLoader test case
- Move isolation_level to the root of a sqlalchemy data source configuration
- When creating a new sqlalchemy session, get default values from the data source configuration HOT 2
- Sqlalchemy data source ping connection will rollback every transaction
- Create a test case for services
- Fix requirements resolution while building distribution files
- Disable sqlalchemy connection_ping by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firenado.