Tuesday, September 20, 2022

Drone project

Battery LiPo

The voltage in LiPo (Lithium Polymer) batteries is determined based on the number of cells they have and we can easily identify this by referring to the "S" count. Each LiPo cell is rated at 3.7v so a 2S LiPo means it's a 2 cell battery and 7.4v, a 3S is 11.1v, 4S is 14.8v and 6S is 22.2v.

Motor

 2306 2555KV

Firmware - https://ardupilot.org/

Tuesday, September 6, 2022

Hosting server types

Hosting types

Shared hosting – many websites share the same os with same general settings
You get allocated a maximum usage - but the resources are not guaranteed - if one account uses all his allocated resources the others suffer
- easy to get started with, comes with some web admin panel like cpanel so no administration knowledge required

VPS hosting (Virtual Private Server) – independent os - can be customised as you like.
You can get it either managed by the hosting or unmanaged - where you have to take care of everything.
Resource can be shared just like a shared hosting for prices around 10$ or dedicated from 25-30$.
On shared you get a minimum of like 0.5 virtual cpu and a maximum of 2vcpu for example - but  they will list the package as 2cpu.
Whenever you dont use all your 2vcpu other account hosted on the same physical machine will use them - which can get you to a place where you can ony use 0.5 vcpu because the rest are busy for the moment.

Dedicated server – you are given a full physical machine just for yourself - might be usefull for special dedicated hardware needs. It is almost identical to a dedicated resources VPS.

Cloud Hosting same as the others but the virtual os is run on multiple physical machines instead on a single one. Has the advange that are highly scallable.

SQL cloud vs VPS SQL
SQL cloud - you dont have to install and update your DB but it is more expensive

You can have one FREE non-preemptible e2-micro VM instance in US
2 vCPU, 1 GB Ram, 30GB storage 2.000.000 inodes
https://console.cloud.google.com/compute/instancesAdd

CDNs - Content Delivery Networks
Cloudflare.com - offers FREE basic CDN
- free DNS server with instant propagation
- free SSL/TSL CA certificate
- CDN - cache servers - saves BANDWITH and offers faster response time

It is a distributed network of servers that are situated physically all over the world that cache your content from an origin location where your website is hosted.
The closer the server delivering the files is to the end user the faster the loading will be.
It is especially useful when you serve a lot if static resources like images.

Namecheap.com - register domains

 
Tools

Uptime – uptime monitor your hosting servers – Uptime Robot
Free VPN – to check how the site behaves from different locations – Tunnel bear
Load impact testing – test and know your hosting server limits – k6
Wayback Machine – useful for checking old domains or even for restoring your website in case of an emergency – https://archive.org/web/