user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
- Create namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: gitlab
kubectl create -f ./namespace.yaml
Moved to git repository: https://github.com/denji/nginx-tuning
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
Seven Rules for Sound Documentation
- Write Documentation from the Reader’s Point of View
- Avoid Unnecessary Repetition
- Avoid Ambiguity 3.a Explain Your Notation
- Use a Standard Organization
- Record Rationale
- Keep Documentation Current but Not Too Current
- Review Documentation for Fitness of Purpose
#Reference
data<-read.csv("R_SVM.csv", header=T, sep=",")
str(data)
'data.frame': 5379 obs. of 10 variables:
########################################################################################
Task 1: Download the monolith code and build your container
git clone https://github.com/googlecodelabs/monolith-to-microservices.git
cd ~/monolith-to-microservices
./setup.sh
# Epitome | |
I want to have os image that can login with password. | |
download UEC image. | |
for example, this precise. | |
http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img | |
this image was forbidden to password login feature in terminal console. | |
it's reasonable for use of cloud image. |
- Need install rbac and storage by
microk8s enable dns rbac storage
- Install loft
FROM adoptopenjdk/openjdk14-openj9:x86_64-alpine-jre-14_36.1_openj9-0.19.0 | |
RUN apk add curl | |
ENV QUARKUS_LAUNCH_DEVMODE=true \ | |
JAVA_ENABLE_DEBUG=true | |
COPY target/quarkus-app/lib/ /deployments/lib/ | |
COPY target/quarkus-app/*.jar /deployments/ | |
COPY target/quarkus-app/app/ /deployments/app/ | |
COPY target/quarkus-app/quarkus/ /deployments/quarkus/ |