Comments (2)
Actually, there is no application for the file system. Web cache, as well as Web content files, are HTTP header and response/content body compilation with binary data. So the files aren't suitable for user reading and modifications. The data and HTTP headers binary representation are not trivial to represent to a user. Such records representation are more suitable for databases, so tdbq
should be used instead. Also it'd be hard, at least not fast, to recreate directory tree from URIs of stored Web cache entries.
The binary representation is required to avoid overheads like Nginx has: parsing of raw text representation of cached HTTP headers, storing HTTP headers in Web cache which always are rewritten, hash lookups to get suitable Content-Type for a serviced file etc.
Also consider this nice presentation about HTTP proxy servers. ATS uses lovely database-like approach for Web-cache. File system databases for Web cache looks too old school.
from tempesta.
Actually we do need the filesystem, but for other purpose - provide mmap() and msync() interfaces to tdbq for faster true zero-copy data access.
Also tdbfs could be a good point for containers isolation, so containers, just like they do this with filesystem, can load and manage their web content with Tempesta FW in isolated way.
.htaccess
tdbfs may provide directory-based per-vhost configuration like Apache's .htaccess
- the vhost-specific configuration files must be dynamically reloaded along with the main configuration file (see #67). In this sense the file based access in only an interface for a user.
tdbfs must provide user/group access control.
from tempesta.
Related Issues (20)
- Zero 'sent bytes' in access log for non-empty responses HOT 1
- Integrate `checkpatch.pl` to our build/commit pipeline HOT 2
- Crash on malformed server response.
- Edge Side Application Callbacks
- Memory leak found in ping flood
- Kernel BUG in hpack. HOT 1
- Make socket callbacks `sk_fill_write_queue` and `sk_write_xmit` reentable or close connection in case of -ENOMEM HOT 2
- No `POST` processing and subsequent crash HOT 6
- New Let's Encrypt certificate with SHA384 parsing error HOT 2
- BUG at /root/tempesta/tls/x509_crt.c:874 HOT 1
- Hang with use-after-free in tfw_tls_conn_send+0x66 HOT 4
- Installer unable to operate with github
- `SETTINGS_NO_RFC7540_PRIORITIES` and RFC 9218 streams prioritization
- BUG at /root/tempesta/fw/cache.c:2027
- BUG in sock.c HOT 2
- Crash during Tempesta stop under heavy load HOT 2
- 400 bad request without `END_HEADERS` flag
- Invalid server connection reference counting
- Restart tempesta under heavy load HOT 3
- New bug under heavy load HOT 2
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 tempesta.