Archive: Namaste PHP AMQP framework v1.0 (2017-2020)

952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
2026-04-05 09:49:30 -07:00
commit 373ebc8c93
1284 changed files with 409372 additions and 0 deletions

4
config/db/mongo/bash.txt Normal file
View File

@@ -0,0 +1,4 @@
# alias mongo connection to the mongo sharded cluster
# note that RBAC is enabled on mongos service...
alias msh="mongo -u gaAdmin -p einstein --port 27019 --authenticationDatabase admin"

View File

@@ -0,0 +1,54 @@
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /home/data/mongo-shard-c1
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongoc1.log
# network interfaces
net:
port: 27027
bindIp: 0.0.0.0
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/gordito-server.chain.cert.pem
CAFile: /etc/ssl/ca-chain.cert.pem
clusterFile: /etc/ssl/gordito-client.chain.cert.pem
allowConnectionsWithoutCertificates: false
allowInvalidCertificates: false
#processManagement:
# fork: true
security:
authorization: disabled
clusterAuthMode: x509
#operationProfiling:
replication:
replSetName: namasteConfig
sharding:
clusterRole: "configsvr"
## Enterprise-Only Options:
#auditLog:
#snmp:

View File

@@ -0,0 +1,54 @@
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /home/data/mongodb-shard-1
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
# path: /var/log/mongodb/mongod.log
path: /home/logs/mongodb/mongodb.s1.log
# network interfaces
net:
port: 27018
bindIp: 127.0.0.1,192.168.1.133
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/gordito-server.chain.cert.pem
CAFile: /etc/ssl/ca-chain.cert.pem
clusterFile: /etc/ssl/gordito-client.chain.cert.pem
allowConnectionsWithoutCertificates: false
allowInvalidCertificates: false
#processManagement:
# fork: true
#security:
#operationProfiling:
replication:
replSetName: namasteShard1
sharding:
clusterRole: shardsvr
## Enterprise-Only Options:
#auditLog:
#snmp:

View File

@@ -0,0 +1,54 @@
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
# dbPath: /var/lib/mongodb
dbPath: /home/data/mongodb-shard-2
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
# path: /var/log/mongodb/mongod.log
path: /home/logs/mongodb/mongodb.s2.log
# network interfaces
net:
port: 27020
bindIp: 127.0.0.1,192.168.1.133
ssl:
mode: requireSSL
PEMKeyFile: /etc/ssl/gordito-server.chain.cert.pem
CAFile: /etc/ssl/ca-chain.cert.pem
clusterFile: /etc/ssl/gordito-client.chain.cert.pem
allowConnectionsWithoutCertificates: false
allowInvalidCertificates: false
#processManagement:
# fork: true
#security:
#operationProfiling:
replication:
replSetName: namasteShard2
sharding:
clusterRole: shardsvr
## Enterprise-Only Options:
#auditLog:
#snmp:

View File

@@ -0,0 +1,18 @@
# where to write logging data
systemLog:
destination: file
logAppend: true
# path: /var/log/mongodb/mongos.log
path: /home/logs/mongodb/mongos.log
# network interfaces
net:
port: 27019
bindIp: 0.0.0.0
#security:
# keyFile: /opt/mongodb/namaste.key
sharding:
configDB: namasteConfig/gordito:27027, deepthought:27027, mongoid:27027