tekmonksgithub / monkshu Goto Github PK
View Code? Open in Web Editor NEWThe Monkshu Project - Enterprise Application Server
License: Other
The Monkshu Project - Enterprise Application Server
License: Other
I think it is better if backend APIs are not something special, running on a special server. Of course, they have to be, but there is no reason to need another port, open to the entire world just for them.
We need to add some sort of a proxy bypass into the front-end server, if the URL scheme matches the bypass, then route it as a proxy pattern to a backend API server.
This will allow the API server to be isolated behind the frontend HTTP server, and also reduce the ports open.
backend/server/server.js
/__org_monkshu__release
API using backend/server/lib/rest.js
backend/server/cluster.js
/__org_monkshu__release
API using backend/server/lib/rest.js
TypeError: Cannot read property '/__org_monkshu__release' of undefined
at Object.getAPI (/home/arpit/Documents/git_repos/monkshu/backend/server/lib/apiregistry.js:65:12)
at doService (/home/arpit/Documents/git_repos/monkshu/backend/server/server.js:94:26)
at Object.server.onReqEnd (/home/arpit/Documents/git_repos/monkshu/backend/server/server.js:65:33)
at IncomingMessage.<anonymous> (/home/arpit/Documents/git_repos/monkshu/backend/server/lib/http_server.js:32:38)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
backend/server/lib/apiregistry.js
line 64, apireg
is set as undefined
in the worker processes.Both frontend and backend HTTPDs should use HTTP/2.
Up to a certain size and maybe with filters (e.g. don't cache a large PDF). Then gzip it. On init.
So when requests come in - nothing to read (no IO) and nothing to gzip (no CPU). Just respond...
This should significantly improve performance.
A static file must NEVER have an unencrypted password. It is against most security compliance regulations, e.g. PCI.
So the PFX passphrases must be using crypt and be encrypted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.